Template:Image details: Difference between revisions

m
link to os grid reference help page
(template updated)
m (link to os grid reference help page)
 
(2 intermediate revisions by the same user not shown)
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-->
|-
{{#if:{{{description}}}|{{!}}style="width:12em; padding-left:5px; padding-top:4px; vertical-align:top; color:#50ab8a;" {{!}} '''Description'''
Line 19:
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{dms-latitude}}} / {{{dms-longitude}}}}}
|-
{{#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;" {{!}} {{{os-grid}}}}}
|-
Line 39:
|}
 
{{#display_map: {{{latitude}}}, {{{longitude}}}
{{leaflet map
|latitude service= {{{latitudeservice}}}
|longitude static= {{{longitudestatic}}}
|zoom={{{zoom}}}
|service = leaflet
|fullscreen={{{fullscreen}}}
|static = no <!--yes or no-->
|scrollwheelzoom={{{scrollwheel}}}
|zoom = 15
|width={{{width}}}
|fullscreen = yes <!--yes or no-->
|height={{{height}}}
|scrollwheel = yes <!--yes or no-->
|clicktarget={{{clicktarget}}}
|width =
|height =
|clicktarget =
}}
 
Line 55 ⟶ 53:
{{clear}}
<noinclude>{{doc|{{Image details/doc}}}}</noinclude>
<templatestyles src="Template:Image details/styles.css"/>