Difference between revisions of "Template:Infobox bridge"

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...")
 
Line 35: Line 35:
 
{{#if: {{{crosses<includeonly>|</includeonly>}}} |
 
{{#if: {{{crosses<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Crossing:
 
! style="background: #D0F0C0;" {{!}} Crossing:
{{!}} {{ifif|{{crosses}}}} }}
+
{{!}} {{ifif|{{{crosses}}}}} }}
 
|-
 
|-
 
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''Location'''
 
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''Location'''
Line 90: Line 90:
 
|-
 
|-
 
{{#if: {{{ownership<includeonly>|</includeonly>}}} |
 
{{#if: {{{ownership<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Owned by:
+
! style="background: #D0F0C0;" {{!}} Condition:
{{!}} {{Ownership insert|{{{ownership}}}|{{#var:shire}}}}{{Ownership cat|{{{ownership}}}|{{#var:shire}}}} }}
+
{{!}} {{{ownership}}} }}
 
|-
 
|-
 
{{#if: {{{website<includeonly>|</includeonly>}}} |
 
{{#if: {{{website<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Website:
 
! style="background: #D0F0C0;" {{!}} Website:
 
{{!}} {{{website}}} }}
 
{{!}} {{{website}}} }}
|}<includeonly>{{#vardefine:{{typetag}}|{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
+
|}<includeonly>{{#vardefine:typetag|{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
 
|aqueduct=Aqueducts
 
|aqueduct=Aqueducts
 
|causeway=Causeways
 
|causeway=Causeways
 
|Bridges
 
|Bridges
}}|Bridges}}{{#if:{{{county}}}|[[Category:{{#var:typetag}} in {{#var:shire}}]]}}{{#if:{{{county 1}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 1}}}}}]]}}{{#if:{{{county 2}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 2}}}}}]]}}{{#if:{{{county 3}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 3}}}}}]]}}{{#if:{{{county 4}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 4}}}}}]]}}</includeonly><noinclude>[[Category:Infoboxes|Bridge]]
+
}}|Bridges}}}}{{#if:{{{county}}}|[[Category:{{#var:typetag}} in {{#var:shire}}]]}}{{#if:{{{county 1}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 1}}}}}]]}}{{#if:{{{county 2}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 2}}}}}]]}}{{#if:{{{county 3}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 3}}}}}]]}}{{#if:{{{county 4}}}|[[Category:{{#var:typetag}} in {{namefix|{{{county 4}}}}}]]}}</includeonly><noinclude>[[Category:Infoboxes|Bridge]]

Revision as of 22:06, 22 June 2015

Infobox bridge
[[]]
[[File:{{{picture}}}|240px]]
{{{picture caption}}}
Location
Between: [[{{{island 1}}}]] and [[{{{island 2}}}]]! style="background: #D0F0C0;" | Island: [[{{{island}}}]]
Type: {{{type}}}
Carrying: {{{carries}}}
Crossing: {{{crosses}}}
Location
Grid reference: Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
Location: {{{latitude}}} {{{longitude}}}
Structure
Length: {{{length}}}
Main span: {{{mainspan}}}
No. of spans: {{{number spans}}}
Type: {{{type}}}
Type: {{{design}}}
Material: {{{material}}}
Type: {{{piers}}}({{{piers in water}}} in the water)
History
Built {{{built}}}
Architect: {{{architect}}}
Information
Condition: {{{condition}}}
Condition: {{{ownership}}}
Website: {{{website}}}