Template:Infobox lighthouse: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with "{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; pa..."
 
mNo edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
|colspan=2 class= style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|castle}}{{#if: {{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{greek| }}}| <br>''Greek:'' {{{greek}}} }}{{#if: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#vardefine:type|lighthouse}}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}<!--Op codes here
|colspan=2 style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|lighthouse}}{{#if: {{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{greek| }}}| <br>''Greek:'' {{{greek}}} }}{{#if: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}<!--Op codes here
-->
-->
|-
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#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 65: Line 61:
{{!}} {{{intensity}}} }}
{{!}} {{{intensity}}} }}
|-
|-
{{#if: {{{height<includeonly>|</includeonly>}}} |
{{#if: {{{focal height<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Height:
! style="background: #D0F0C0;" {{!}} Focal height:
{{!}} {{{height}}} }}
{{!}} {{{focal height}}} }}
|-
|-
{{#if: {{{focalheight<includeonly>|</includeonly>}}} |
{{#if: {{{focalheight<includeonly>|</includeonly>}}} |
Line 124: Line 120:
! style="background: #D0F0C0;" {{!}} Website:
! style="background: #D0F0C0;" {{!}} Website:
{{!}} {{{website}}} }}
{{!}} {{{website}}} }}
|}<includeonly>[[Category:Lighthouses of {{#var:shire}}]]{{riding category:Lighthouses}}}}{{#if:{{{ownership|}}}||{{Lighthouse ownership}}}}</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 17:05, 25 October 2024

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}}}