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

Template:Details and map: Difference between revisions

Template page
Content deleted Content added
designed more like an infobox
widen the box
Line 1: Line 1:
<div style="float:right; width:21em; margin:0 0 15px 15px;">
<div style="float:right; width:25em; margin:0 0 15px 15px;">
{|class="" style="width:100%; font-size:90%; background-color:#f7f7f7; border:1px #ccc solid; padding:4px;"
{|class="" style="width:100%; font-size:90%; background-color:#f7f7f7; border:1px #ccc solid; padding:4px;"
!style="background:#d4d2d8; padding:2px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|{{{name}}}
!style="background:#d4d2d8; padding:2px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|{{{image-title}}}
|-
|-
|style="background-color:#f7f7f7; padding-top:4px; font-size:85%;" colspan="2" |<center>[[File:{{{image}}}|center|{{{image-size}}}px]]{{clear}}{{{image-caption}}}</center>
|style="background-color:#f7f7f7; padding-top:4px; font-size:85%;" colspan="2" |<center>[[File:{{{image}}}|center|{{{image-size}}}px]]{{clear}}{{{image-caption}}}</center>
Line 28: Line 28:
|-
|-
{{#if:{{{latitude}}}{{{longitude}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''{{w1|Decimal degrees}}'''
{{#if:{{{latitude}}}{{{longitude}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''{{w1|Decimal degrees}}'''
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{latitude}}}{{2nbsp}}/{{2nbsp}}{{{longitude}}}}}
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{latitude}}} / {{{longitude}}}}}
|-
|-
{{#if:{{{dms-latitude}}}{{{dms-longitude}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Deg / Min / Sec'''
{{#if:{{{dms-latitude}}}{{{dms-longitude}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Deg / Min / Sec'''
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{dms-latitude}}}{{2nbsp}}/{{2nbsp}}{{{dms-longitude}}}}}
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{dms-latitude}}} / {{{dms-longitude}}}}}
|-
|-
{{#if:{{{os-grid}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''OS grid reference'''
{{#if:{{{os-grid}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''OS grid reference'''

Revision as of 17:33, 9 February 2023

{{{image-title}}}
[[File:{{{image}}}|center|{{{image-size}}}px]]
{{{image-caption}}}
Photographer {{{photographer}}}
Date taken {{{date-taken}}}
Location
Loading map...
Decimal degrees {{{latitude}}} / {{{longitude}}}
Deg / Min / Sec {{{dms-latitude}}} / {{{dms-longitude}}}
OS grid reference [[:Category:{{{os-grid}}}|{{{os-grid}}}]]
what3words {{{w3w}}}
Elevation above sea level {{{elevation}}}
View direction {{{view-direction}}}
Template documentation

Usage

Copy and paste the following syntax into the details tab/page and fill out accordingly.
Unused parameters will render as missing and keep the things tidy without empty spaces in the table.

{{details and map
 |image-title     =
 |image           =
 |image-size      =
 |image-caption   =
 |photographer    = 
 |date-taken      = 
 |latitude        =
 |longitude       =
 |service         = leaflet
 |static          = no <!--yes or no-->
 |zoom            = 14 
 |fullscreen      = no <!--yes or no-->
 |scrollwheel     = yes <!--yes or no-->
 |width           =
 |height          =
 |clicktarget     =
 |dms-latitude    = 
 |dms-longitude   =  
 |os-grid-10m     =
 |os-grid-100m    =    
 |os-grid-1km     =
 |w3w             =
 |elevation       =
 |view-direction  =
}}
  • DD = Decimal Degrees
  • DMS = Degrees, Minutes, Seconds
  • OS = Ordnance Survey
  • W3W = What3Words
The above documentation is transcluded from Template:Details and map/doc.
Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.