Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Image details: Difference between revisions

Template page
Content added Content deleted
m (font colour changed for dark mode)
(updated for use of citizen skin)
Line 1: Line 1:
<!--<div class="mainpage-column"><div class="mainpage-column-first">-->
<!--<div class="mainpage-column"><div class="mainpage-column-first">-->
{|style="width:100%; font-size:90%; color:#191919; background-color:#f7f7f7; border:1px #ccc solid; padding:4px; margin-bottom:0.5em; box-shadow: 0 4px 4px rgba(0,0,0,0.1);"
{|style="width:100%; font-size:90%; color:var(--color-bease-emphasized); background-color:var(--color-surface-2); border:1px solid var(--border-color-base); padding:4px; margin-bottom:0.5em; box-shadow: 0 4px 4px rgba(0,0,0,0.1);"
!style="background:#f6d8ab; padding:2px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Image details
!style="background-color:var(--color-surface-4); padding:2px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Image details
|-
|-
{{#if:{{{description}}}|{{!}}style="width:12em; padding-left:5px; padding-top:4px; vertical-align:top; background:;" {{!}} '''Description'''
{{#if:{{{description}}}|{{!}}style="width:12em; padding-left:5px; padding-top:4px; vertical-align:top; background:;" {{!}} '''Description'''
Line 9: Line 9:
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{date-taken}}}}}
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{date-taken}}}}}
|-
|-
{{#if:{{{author}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Author'''
!style="background:#f6d8ab; padding:1px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Coordinates
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{author}}}}}
|-
|-
{{#if:{{{source}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Source'''
|style="padding-left:5px;" colspan="2"|'''Coordinates''' are specific to the camera's location, '''not''' the location of the subject.<br>'''View direction''' is an approximation only of a photo's direction of view with a tolerance of +/– 15 degrees.
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{source}}}}}
|-
|-
{{#if:{{{latitude}}}{{{longitude}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''{{w1|Decimal degrees}}'''
{{#if:{{{latitude}}}{{{longitude}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''{{w1|Decimal degrees}}'''
Line 31: Line 33:
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{view-direction}}}}}
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{view-direction}}}}}
|-
|-
{{#if:{{{licence}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Licence'''
!style="background:#f6d8ab; padding:1px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Permissions
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{licence}}}}}
|-
|-
{{#if:{{{author}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Author'''
|style="padding-left:5px;" colspan="2"|
:'''Coordinates''' are specific to the camera's location, '''not''' the location of the subject.
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{author}}}}}
:'''View direction''' is an approximation only of a photo's direction of view with a tolerance of +/– 15 degrees.
|-
{{#if:{{{source}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Source'''
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{source}}}}}
<!--
|-
{{#if:{{{licence}}}|{{!}}style="width:12em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Licence'''
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{licence}}}}}-->
|}<!--</div></div>-->
|}<!--</div></div>-->
<!--<div class="mainpage-column"><div class="mainpage-column-second">-->
<!--<div class="mainpage-column"><div class="mainpage-column-second">-->
{|style="width:100%; font-size:90%; color:#191919; background-color:#f7f7f7; border:1px #ccc solid; padding:4px; margin-bottom:0.5em; box-shadow: 0 4px 4px rgba(0,0,0,0.1);"
{|style="width:100%; font-size:90%; color:var(--color-bease-emphasized); background-color:var(--color-surface-2); border:1px solid var(--border-color-base); padding:4px; margin-bottom:0.5em; box-shadow: 0 4px 4px rgba(0,0,0,0.1);"
!style="background:#bde1aa; padding:2px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Location
!style="background-color:var(--color-surface-4); padding:2px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Location
|-
|-
|style="padding-top:4px;"|
|style="padding-top:4px;"|
Line 60: Line 57:
|clicktarget = }}
|clicktarget = }}
|}
|}
{| style="width:100%; font-size:; color:#191919; background-color:#f7f7f7; border:1px #ccc solid; padding:4px; margin-bottom:1em; box-shadow: 0 4px 4px rgba(0,0,0,0.1);"
{| style="width:100%; font-size:90%; color:var(--color-bease-emphasized); background-color:var(--color-surface-2); border:1px solid var(--border-color-base); padding:4px; margin-bottom:1em; box-shadow: 0 4px 4px rgba(0,0,0,0.1);"
!style="background:#d9dbec; padding:2px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Licensing
!style="background-color:var(--color-surface-4); padding:2px 6px; text-align:center; font-size:110%; font-weight:600; vertical-align:middle;" colspan="2"|Licensing
|-
|-
|style="padding:5px 0;"|{{{licence}}}
|style="padding:5px 0;"|{{{licence}}}

Revision as of 09:55, 9 July 2023

Image details
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 {{{licence}}}
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.
Location
Loading map...
Licensing
{{{licence}}}
Template documentation

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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.