Difference between revisions of "Template:Infobox lighthouse"

From Wikishire
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{shead|{{#var:shire}}}}{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{#switch:{{#var:riding}}
+
{{shead|{{#var:shire}}}}{{#ifeq:{{#var:shire}}|Yorkshire|{{#if:{{{riding|}}}|{{riding|{{{riding}}}}}<br /><small>{{ridinglink|{{{riding}}}}}</small>}} }}
|East Riding of Yorkshire=[[East Riding of Yorkshire|East Riding]]
+
|North Riding of Yorkshire=[[North Riding of Yorkshire|North Riding]]
+
|West Riding of Yorkshire=[[West Riding of Yorkshire|West Riding]]
+
|}}</small>}} }}
+
 
|-
 
|-
 
{{#if: {{{island<includeonly>|</includeonly>}}} |
 
{{#if: {{{island<includeonly>|</includeonly>}}} |
Line 37: Line 33:
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Grid reference:
 
! style="background: #D0F0C0;" {{!}} Grid reference:
{{!}} {{map|{{{os grid ref}}}}} }}
+
{{!}} {{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}} }} }}
 
|-
 
|-
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
 
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Location:
 
! style="background: #D0F0C0;" {{!}} Location:
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}}} }}
+
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14|name={{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}}}}}} }}
 
|-
 
|-
 
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''Characteristics'''
 
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''Characteristics'''
Line 124: Line 120:
 
! style="background: #D0F0C0;" {{!}} Website:
 
! style="background: #D0F0C0;" {{!}} Website:
 
{{!}} {{{website}}} }}
 
{{!}} {{{website}}} }}
|}<includeonly>{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}[[Category:Lighthouses of {{namefix 2|{{#var:shire}}}}]]{{riding category|Lighthouses}}</includeonly><noinclude>[[Category:Infoboxes|Lighthouse]]
+
|}<includeonly>{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}[[Category:Lighthouses of {{namefix 2|{{#var:shire}}}}]]{{riding category|Lighthouses|of}}</includeonly><noinclude>[[Category:Infoboxes|Lighthouse]]

Latest revision as of 08:32, 13 August 2020

Infobox lighthouse

[[]]

{{{island}}}
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
{{{class}}}
Type: {{{type}}}
Location
Location: {{{location}}}
{{{sea}}}
Grid reference:
Location: {{{latitude}}} {{{longitude}}}
Characteristics
Height: {{{height}}}
Tower shape: {{{shape}}}
Tower marking: {{{marking}}}
Light: {{{characteristic}}}
Intensity: {{{intensity}}}
Focal height: {{{focal height}}}
Focal height: {{{focalheight}}}
Range: {{{range}}}
Light source: {{{lightsource}}}
Fog signal: {{{foghorn}}}
Racon: {{{racon}}}
Admiralty No.: {{{admiralty}}}
History
Built {{{built}}}
First lit: {{{lit}}}
Decommissioned: {{{decommissioned}}}
Architect: {{{architect}}}
{{{type}}}
Information
Owned by: {{{ownership}}}
Website: {{{website}}}