Template:Infobox bridge: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
mNo edit summary
 
(22 intermediate revisions by one other user 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|town}}{{#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="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|bridge}}{{#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 41: Line 31:
{{#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 93: Line 83:
{{#if: {{{ownership<includeonly>|</includeonly>}}} |
{{#if: {{{ownership<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Owned by:
! style="background: #D0F0C0;" {{!}} Owned by:
{{!}} {{{ownership}}} }}
{{!}} {{Ownership insert|{{{ownership}}}|{{#var:shire}}}}{{#if:{{{controlled by<includeonly>|</includeonly>}}}|<br/>(in the care of {{{controlled by}}}){{Ownership cat|{{{controlled by}}}|{{#var:shire}}}} }}{{Ownership cat|{{{ownership}}}|{{#var:shire}}}} }}
|-
|-
{{#if: {{{website<includeonly>|</includeonly>}}} |
{{#if: {{{website<includeonly>|</includeonly>}}} |
Line 99: Line 89:
{{!}} {{{website}}} }}
{{!}} {{{website}}} }}
|}<includeonly>{{#vardefine:typetag|{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
|}<includeonly>{{#vardefine:typetag|{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
|navigable aqueduct
|canal aqueduct
|aqueduct=Aqueducts
|aqueduct=Aqueducts
|causeway=Causeways
|causeway=Causeways
|clapper bridge=Clapper bridges
|clapper bridge=Clapper bridges
|Bridges
|Bridges
}}|Bridges}}}}{{#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}}}
}}|Bridges}}}}{{#if:{{{county}}}|[[Category:{{#var:typetag}} {{namefix 3|{{#var:shire}}}}]]}}{{#if:{{{county 1|}}}|[[Category:{{#var:typetag}} in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|[[Category:{{#var:typetag}} {{namefix 3|{{{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}}}
|Avon, Somerset
|River Avon, Somerset
|Somerset Avon=[[Category:Bridges across the River Avon, Somerset]]
|Clyde
|Clyde
|Firth of Clyde
|River Clyde=[[Category:Bridges across the River Clyde]]
|River Clyde=[[Category:Bridges across the River Clyde]]
|Don
|River Don, Yorkshire
|River Don=[[Category:Bridges across the River Don, Yorkshire]]
|Forth
|Forth
|Firth of Forth
|River Forth=[[Category:Bridges across the River Forth]]
|River Forth=[[Category:Bridges across the River Forth]]
|Liffey
|Liffey
Line 115: Line 115:
|River Mersey=[[Category:Bridges across the River Mersey]]
|River Mersey=[[Category:Bridges across the River Mersey]]
|Severn
|Severn
|Severn Estuary
|River Severn=[[Category:Bridges across the River Severn]]
|River Severn=[[Category:Bridges across the River Severn]]
|Shannon
|Shannon
|Shannon Estuary
|River Shannon=[[Category:Bridges across the River Shannon]]
|River Shannon=[[Category:Bridges across the River Shannon]]
|Taff
|River Taff=[[Category:Bridges across the River Taff]]
|Tamar
|Tamar
|River Tamar=[[Category:Bridges across the River Tamar]]
|River Tamar=[[Category:Bridges across the River Tamar]]
|Tay
|Tay
|Firth of Tay
|River Tay=[[Category:Bridges across the River Tay]]
|River Tay=[[Category:Bridges across the River Tay]]
|Tees
|Tees
|River Tees=[[Category:Bridges across the River Tees]]
|River Tees=[[Category:Bridges across the River Tees]]
|Thames
|Thames
|Thames Estuary
|River Thames=[[Category:Bridges across the River Thames]]
|River Thames=[[Category:Bridges across the River Thames]]
|Trent
|Trent
Line 133: Line 139:
|Tyne
|Tyne
|River Tyne=[[Category:Bridges across the River Tyne]]
|River Tyne=[[Category:Bridges across the River Tyne]]
|North Tyne
|River North Tyne=[[Category:Bridges across the North Tyne]]
|South Tyne
|River South Tyne=[[Category:Bridges across the South Tyne]]
|Wear
|Wear
|River Wear=[[Category:Bridges across the River Wear]]
|River Wear=[[Category:Bridges across the River Wear]]
|Wye
|Wye
|River Wye=[[Category:Bridges across the River Wye]]
|River Wye=[[Category:Bridges across the River Wye]]
}}}}{{#if:{{{picture|}}}||[[Category:Bridge articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|Bridge]]
}}}}{{#if:{{{type|}}}|{{#switch:{{lc:{{{type}}}}}
|navigable aqueduct
|canal aqueduct=[[Category:Navigable aqueducts]]
|transporter bridge=[[Category:Transporter bridges]]
}}}}<!--Townsite code line-->{{#vardefine:town|{{extract name|{{#if:{{{city|}}}|{{{city}}}|{{#if:{{{town|}}}|{{{town}}}|{{#if:{{{village|}}}|{{{village}}}|0 }} }} }} }} }}{{town site|{{town fix|{{#var:town}}}}|{{#var:type}}}}<!--picture test-->{{#if:{{{picture|}}}||[[Category:Bridge articles with no infobox picture]]}}</includeonly><noinclude>[[Category:Infoboxes|Bridge]]

Latest revision as of 17:02, 25 October 2024

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:
Location: {{{latitude}}} {{{longitude}}}
Structure
Length: {{{length}}}
Main span: {{{mainspan}}}
No. of spans: {{{number spans}}}
Type: {{{type}}}
Design: {{{design}}}
Material: {{{material}}}
Piers: {{{piers}}}({{{piers in water}}} in the water)
History
Built {{{built}}}
Architect: {{{architect}}}
Information
Condition: {{{condition}}}
Owned by: {{{ownership}}}
(in the care of {{{controlled by}}})
Website: {{{website}}}