More actions
Content deleted Content added
template created |
m link to os grid reference help page |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{|class="wikitable image-details__icons img" style="width:100%;" <!--The image-details class provides colour inversion for the view direction icons depending on light or dark skin--> |
|||
<div class="mainpage-column"><div class="mainpage-column-first"> |
|||
{|class="" style="width:100%; font-size:90%; background-color:#f7f7f7; border:1px #ccc solid; padding:4px; margin-bottom:1em;" |
|||
!style="background:#f6d8ab; padding:2px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|Image details |
|||
|- |
|- |
||
{{#if:{{{description}}}|{{!}}style="width: |
{{#if:{{{description}}}|{{!}}style="width:12em; padding-left:5px; padding-top:4px; vertical-align:top; color:#50ab8a;" {{!}} '''Description''' |
||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{description}}}}} |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{description}}}}} |
||
|- |
|- |
||
{{#if:{{{date-taken}}}|{{!}}style="width: |
{{#if:{{{date-taken}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; color:#50ab8a;" {{!}} '''Date taken''' |
||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{date-taken}}}}} |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{date-taken}}}}} |
||
|- |
|- |
||
⚫ | |||
!style="background:#f6d8ab; padding:1px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|Coordinates |
|||
⚫ | |||
|- |
|- |
||
{{#if:{{{ |
{{#if:{{{source}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; color:#50ab8a;" {{!}} '''Source''' |
||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{latitude}}} / {{{longitude}}}}} |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{latitude}}} / {{{longitude}}}}} |
||
|- |
|- |
||
{{#if:{{{dms-latitude}}}{{{dms-longitude}}}|{{!}}style="width: |
{{#if:{{{dms-latitude}}}{{{dms-longitude}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; color:#50ab8a;" {{!}} '''Deg / Min / Sec''' |
||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{dms-latitude}}} / {{{dms-longitude}}}}} |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{dms-latitude}}} / {{{dms-longitude}}}}} |
||
|- |
|- |
||
{{#if:{{{os-grid}}}|{{!}}style="width: |
{{#if:{{{os-grid}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; color:#50ab8a;" {{!}} '''[[The English Lakes:What are National Grid squares?|OS grid reference]]''' |
||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{os-grid}}}}} |
||
|- |
|- |
||
{{#if:{{{w3w}}}|{{!}}style="width: |
{{#if:{{{w3w}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; color:#50ab8a;" {{!}} '''[https://what3words.com what3words]''' |
||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} [https://what3words.com/{{{w3w}}} {{{w3w}}}]}} |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} [https://what3words.com/{{{w3w}}} {{{w3w}}}]}} |
||
|- |
|- |
||
{{#if:{{{elevation |
{{#if:{{{elevation}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; color:#50ab8a;" {{!}} '''Elevation''' |
||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{elevation |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{elevation}}}}} |
||
|- |
|- |
||
{{#if:{{{view-direction}}}|{{!}}style="width: |
{{#if:{{{view-direction}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; color:#50ab8a;" {{!}} '''View direction''' |
||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{view-direction}}}}} |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{view-direction}}}}}<!-- |
||
|- |
|- |
||
⚫ | |||
!style="background:#f6d8ab; padding:1px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|Permissions |
|||
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{licence}}}}}--> |
|||
|- |
|- |
||
|style="padding-left:5px;" colspan="2"| |
|||
:'''Coordinates''' are specific to the camera's location, '''not''' the location of the subject. |
|||
⚫ | |||
:'''View direction''' is an approximation only of a photo's direction of view with a tolerance of +/– 15 degrees. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|||
⚫ | |||
⚫ | |||
|} |
|} |
||
</div></div> |
|||
{{#display_map: {{{latitude}}}, {{{longitude}}} |
|||
<div class="mainpage-column"><div class="mainpage-column-second"> |
|||
|service={{{service}}} |
|||
{|class="" style="width:100%; font-size:90%; background-color:#f7f7f7; border:1px #ccc solid; padding:4px; margin-bottom:1em;" |
|||
|static={{{static}}} |
|||
!style="background:#bde1aa; padding:2px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|Location |
|||
|zoom={{{zoom}}} |
|||
|- |
|||
|fullscreen={{{fullscreen}}} |
|||
|style="padding-top:4px;"| |
|||
|scrollwheelzoom={{{scrollwheel}}} |
|||
{{leaflet map |
|||
|width={{{width}}} |
|||
|height={{{height}}} |
|||
⚫ | |||
|service = leaflet |
|||
}} |
|||
|static = no <!--yes or no--> |
|||
|zoom = 15 |
|||
{{{licence}}} |
|||
|fullscreen = yes <!--yes or no--> |
|||
{{clear}} |
|||
|scrollwheel = yes <!--yes or no--> |
|||
|width = |
|||
|height = |
|||
⚫ | |||
|}</div></div> |
|||
<noinclude>{{doc|{{Image details/doc}}}}</noinclude> |
<noinclude>{{doc|{{Image details/doc}}}}</noinclude> |
||
<templatestyles src="Template:Image details/styles.css"/> |
Latest revision as of 11:11, 21 April 2024
Description | {{{description}}} |
Date taken | {{{date-taken}}} |
Author | {{{author}}} |
Source | {{{source}}} |
Decimal degrees | {{{latitude}}} / {{{longitude}}} |
Deg / Min / Sec | {{{dms-latitude}}} / {{{dms-longitude}}} |
OS grid reference | {{{os-grid}}} |
what3words | {{{w3w}}} |
Elevation | {{{elevation}}} |
View direction | {{{view-direction}}} |
|
{{{licence}}}
Usage
Copy and paste the following syntax into the page and fill out all mandatory parameters (all sections without "optional"). Any empty parameter will be rendered missing on preview. Check and save. Don't forget to add appropriate categories.
{{Image details |description = |date-taken = |author = |source = |licence = <!------------------CORDINATES--> |latitude = |longitude = |dms-latitude = <!--optional--> |dms-longitude = <!--optional--> |os-grid = |w3w = <!--optional--> |elevation = <!--optional--> |view-direction = <!------------------MAP--> |service = leaflet |static = no |zoom = 14 |fullscreen = yes |scrollwheel = yes |width = <!--optional--> |height = <!--optional--> |clicktarget = <!--optional--> }}
- description: This must be added. You can make this as long as you like but it must describe the image accurately.
- latitude and longitude: These are used to populate the map and must be in decimal degrees.
- os-grid: The Ordnance Survey National Grid numbers. We use the 1km x 1km square references, i.e., NY 2623.
- w3w: The unique what3words address. The w3w address for NY2623 is redeemed.valuables.commutes Add the w3w with just the words and full stop in between and nothing else; it will be rendered as a hyperlink automatically.
The above documentation is transcluded from Template:Image details/doc.