More actions
Content deleted Content added
font-size reduced |
res-img added to resize image to infobox |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="float:right; width:25em; margin:0 0 15px 15px;"> |
|||
{{#display_map: {{{latitude}}}, {{{longitude}}} |
|||
⚫ | |||
|service={{{service}}} |
|||
!style="background:#d4d2d8; padding:2px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|{{{image-title}}} |
|||
|static={{{static}}} |
|||
|zoom={{{zoom}}} |
|||
|fullscreen={{{fullscreen}}} |
|||
|scrollwheelzoom={{{scrollwheel}}} |
|||
|width={{{width}}} |
|||
|height={{{height}}} |
|||
⚫ | |||
}} |
|||
⚫ | |||
<!--!colspan="2" | {{c|{{PAGENAME}}}}--> |
|||
|- |
|- |
||
|style="background-color:#f7f7f7; padding-top:4px; font-size:85%;" colspan="2" |<center><div class="res-img">[[File:{{{image}}}|center|<!--{{{image-size}}}px-->]]</div>{{clear}}{{{image-caption}}}</center> |
|||
⚫ | |||
⚫ | |||
|- |
|- |
||
{{#if:{{{ |
{{#if:{{{photographer}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Photographer''' |
||
{{!}}style="padding-left: |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{photographer}}}}} |
||
|- |
|- |
||
{{#if:{{{ |
{{#if:{{{date-taken}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Date taken''' |
||
{{!}}style="padding-left: |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{date-taken}}}}} |
||
|- |
|- |
||
!style="background:#d4d2d8; padding:1px 6px; text-align:center; font-size:100%; font-weight:600; vertical-align:middle;" colspan="2"|Location |
|||
⚫ | |||
⚫ | |||
|- |
|- |
||
|style="background-color:#f7f7f7; padding-top:4px; font-size:85%;" colspan="2" |<center> |
|||
⚫ | |||
{{leaflet map |
|||
⚫ | |||
|latitude = {{{latitude}}} |
|||
|longitude = {{{longitude}}} |
|||
|service = leaflet |
|||
|static = no <!--yes or no--> |
|||
|zoom = 15 |
|||
|fullscreen = yes <!--yes or no--> |
|||
|scrollwheel = yes <!--yes or no--> |
|||
|width = |
|||
|height = 300 |
|||
⚫ | |||
|- |
|- |
||
{{#if:{{{ |
{{#if:{{{latitude}}}{{{longitude}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''{{w1|Decimal degrees}}''' |
||
{{!}}style="padding-left: |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{latitude}}} / {{{longitude}}}}} |
||
|- |
|- |
||
{{#if:{{{ |
{{#if:{{{dms-latitude}}}{{{dms-longitude}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''Deg / Min / Sec''' |
||
{{!}}style="padding-left: |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} {{{dms-latitude}}} / {{{dms-longitude}}}}} |
||
|- |
|- |
||
{{#if:{{{ |
{{#if:{{{os-grid}}}|{{!}}style="width:9em; padding-left:5px; vertical-align:top; background:;" {{!}} '''OS grid reference''' |
||
{{!}}style="padding-left: |
{{!}}style="padding-left:5px; vertical-align:top;" {{!}} [[:Category:{{{os-grid}}}|{{{os-grid}}}]]}} |
||
|- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|||
⚫ | |||
⚫ | |||
|- |
|||
⚫ | |||
⚫ | |||
⚫ |
Latest revision as of 17:47, 9 February 2023
{{{image-title}}} | |
---|---|
[[File:{{{image}}}|center|]] {{{image-caption}}} | |
Photographer | {{{photographer}}} |
Date taken | {{{date-taken}}} |
Location | |
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}}} |
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.