Difference between revisions of "Template:Infobox tunnel"

From Wikishire
Jump to: navigation, search
Line 31: Line 31:
 
{{#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 108: Line 108:
 
! 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]]

Revision as of 12:29, 13 October 2017

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: Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
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}}}