Difference between revisions of "Template:Infobox tunnel"

From Wikishire
Jump to: navigation, search
(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...")
 
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|colspan=2 class= style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|structure}}{{#if: {{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{greek| }}}| <br>{{lang|el|{{{greek}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#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}}}}}}}}}{{#if: {{{county 1| }}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}}}}}}
 
|colspan=2 class= style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|structure}}{{#if: {{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{greek| }}}| <br>{{lang|el|{{{greek}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#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}}}}}}}}}{{#if: {{{county 1| }}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}}}}}}
 
|-
 
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#if:{{{county 1|}}}|'''[[{{namefix|{{{county 1}}}}}]]'''{{#if:{{{county 2|}}}|, '''[[{{namefix|{{{county 2}}}}}]]'''}}{{#if:{{{county 3|}}}|, '''[[{{namefix|{{{county 3}}}}}]]'''}}{{#if:{{{county 4|}}}|, '''[[{{namefix|{{{county 4}}}}}]]'''}}|'''[[{{#var:shire}}]]'''}}{{#ifeq:{{{county}}}|Yorkshire|{{#vardefine:riding|{{#if:{{{riding<includeonly>|</includeonly>}}}|{{#switch:{{namefix|{{{riding}}}}}
+
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#if:{{{county 1|}}}|'''[[{{namefix|{{{county 1}}}}}]]'''{{#if:{{{county 2|}}}|, '''[[{{namefix|{{{county 2}}}}}]]'''}}{{#if:{{{county 3|}}}|, '''[[{{namefix|{{{county 3}}}}}]]'''}}{{#if:{{{county 4|}}}|, '''[[{{namefix|{{{county 4}}}}}]]'''}}|'''[[{{#var:shire}}]]'''}}{{#ifeq:{{{county}}}|Yorkshire|{{#if:{{{riding|}}}|{{#vardefine:riding|{{ridingfix|{{{riding}}}}}}}<br>{{#var:riding}}}}}}
|East Riding of Yorkshire
+
|East Riding
+
|East=East Riding
+
|North Riding of Yorkshire
+
|North Riding
+
|North=North Riding
+
|West Riding of Yorkshire
+
|West Riding
+
|West=West Riding
+
|York}}}}|York}}{{#ifeq:{{#var:riding}}|York||<br>{{#var:riding}} }}}}
+
 
|- class="note"
 
|- class="note"
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
Line 31: Line 21:
 
{{#if: {{{carries<includeonly>|</includeonly>}}} |
 
{{#if: {{{carries<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Carrying:
 
! style="background: #D0F0C0;" {{!}} Carrying:
{{!}} {{{carries}}} }}
+
{{!}} {{ifif|{{{carries}}}}} }}
 
|-
 
|-
 
{{#if: {{{crosses<includeonly>|</includeonly>}}} |
 
{{#if: {{{crosses<includeonly>|</includeonly>}}} |
Line 45: Line 35:
 
{{#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>}}} |
Line 108: Line 98:
 
! style="background: #D0F0C0;" {{!}} Website:
 
! style="background: #D0F0C0;" {{!}} Website:
 
{{!}} {{{website}}} }}
 
{{!}} {{{website}}} }}
|}<includeonly>{{#vardefine:typetag|Tunnels}}|Tunnels{{#if:{{{county}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{#var:shire}}}}]]}}{{#if:{{{county 1|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 4}}}}}]]}}{{#if:{{{crosses|}}}|{{#switch:{{{crosses}}}
+
|}<includeonly>{{#vardefine:typetag|Tunnels}}{{#if:{{{county}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{#var:shire}}}}]]}}{{#if:{{{county 1|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 4}}}}}]]}}{{#if:{{{crosses|}}}|{{#switch:{{{crosses}}}
 
|Clyde
 
|Clyde
 
|River Clyde=[[Category:Tunnels beneath the River Clyde]]
 
|River Clyde=[[Category:Tunnels beneath the River Clyde]]
Line 130: Line 120:
 
|River Tees=[[Category:Tunnels beneath the River Tees]]
 
|River Tees=[[Category:Tunnels beneath the River Tees]]
 
|Thames
 
|Thames
|River Thames=[[CategoryTunnels beneath the River Thames]]
+
|River Thames=[[Category:Tunnels beneath the River Thames]]
 
|Trent
 
|Trent
 
|River Trent=[[Category:Tunnels beneath the River Trent]]
 
|River Trent=[[Category:Tunnels beneath the River Trent]]
Line 142: Line 132:
 
|Wye
 
|Wye
 
|River Wye=[[Category:Tunnels beneath the River Wye]]
 
|River Wye=[[Category:Tunnels beneath the River Wye]]
}}}}</includeonly><noinclude>[[Category:Infoboxes|Tunnel]]
+
}}}}{{#if:{{{picture|}}}||[[Category:Building articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|Tunnel]]

Latest revision as of 08:36, 13 August 2020

Infobox tunnel
[[]]
[[File:{{{picture}}}|240px]]
{{{picture caption}}}
Location
Between: [[{{{island 1}}}]] and [[{{{island 2}}}]]! style="background: #D0F0C0;" | Island: [[{{{island}}}]]
Type: {{{type}}}
Carrying: {{{carries}}}
Beneath: {{{crosses}}}
Beneath: {{{beneath}}}
Location
Grid reference:
Location: {{{latitude}}} {{{longitude}}}
Structure
Length: {{{length}}}
Depth below: {{{depth}}}
Depth: {{{depth below water}}}
Type: {{{type}}}
Design: {{{design}}}
History
Built {{{built}}}
Opened {{{open}}}
Opened {{{opened}}}
Architect: {{{architect}}}
Information
Condition: {{{condition}}}
Owned by: {{{ownership}}}
Operated by: {{{operator}}}
Website: {{{website}}}