Difference between revisions of "Template:Infobox bridge"
From Wikishire
(32 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| | + | |colspan=2 class= 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 | + | ! 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}}}}}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- 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>}}} | | ||
! 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;"|'''Structure''' | | colspan="2" style="background: #D0F0C0; text-align: center;"|'''Structure''' | ||
Line 51: | Line 41: | ||
{{#if: {{{length<includeonly>|</includeonly>}}} | | {{#if: {{{length<includeonly>|</includeonly>}}} | | ||
! style="background: #D0F0C0;" {{!}} Length: | ! style="background: #D0F0C0;" {{!}} Length: | ||
− | {{!}} {{{length}}} {{#if: {{{mainspan<includeonly>|</includeonly>}}}|<br />''Main span: {{{mainspan}}}''}}|{{#if: {{{mainspan}}} | | + | {{!}} {{{length}}} {{#if: {{{mainspan<includeonly>|</includeonly>}}}|<br />''Main span: {{{mainspan}}}''}}|{{#if: {{{mainspan|}}} | |
! style="background: #D0F0C0;" {{!}} Main span: | ! style="background: #D0F0C0;" {{!}} Main span: | ||
{{!}} {{{mainspan}}} }} }} | {{!}} {{{mainspan}}} }} }} | ||
Line 64: | Line 54: | ||
|- | |- | ||
{{#if: {{{design<includeonly>|</includeonly>}}} | | {{#if: {{{design<includeonly>|</includeonly>}}} | | ||
− | ! style="background: #D0F0C0;" {{!}} | + | ! style="background: #D0F0C0;" {{!}} Design: |
{{!}} {{{design}}} }} | {{!}} {{{design}}} }} | ||
|- | |- | ||
Line 72: | Line 62: | ||
|- | |- | ||
{{#if: {{{piers<includeonly>|</includeonly>}}} | | {{#if: {{{piers<includeonly>|</includeonly>}}} | | ||
− | ! style="background: #D0F0C0;" {{!}} | + | ! style="background: #D0F0C0;" {{!}} Piers: |
{{!}} {{{piers}}}{{#if:{{{piers in water<includeonly>|</includeonly>}}}| ({{{piers in water}}} in the water)}} }} | {{!}} {{{piers}}}{{#if:{{{piers in water<includeonly>|</includeonly>}}}| ({{{piers in water}}} in the water)}} }} | ||
|- | |- | ||
Line 92: | Line 82: | ||
|- | |- | ||
{{#if: {{{ownership<includeonly>|</includeonly>}}} | | {{#if: {{{ownership<includeonly>|</includeonly>}}} | | ||
− | ! style="background: #D0F0C0;" {{!}} | + | ! 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 | ||
|Bridges | |Bridges | ||
− | }}|Bridges}}}}{{#if:{{{county}}}|[[Category:{{#var:typetag}} | + | }}|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 111: | Line 112: | ||
|Great Ouse | |Great Ouse | ||
|River Great Ouse=[[Category:Bridges across the Great Ouse]] | |River Great Ouse=[[Category:Bridges across the Great Ouse]] | ||
+ | |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 Estuary | ||
+ | |River Shannon=[[Category:Bridges across the River Shannon]] | ||
+ | |Taff | ||
+ | |River Taff=[[Category:Bridges across the River Taff]] | ||
+ | |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 | ||
− | |River Trent=[[Category:Bridges across the River | + | |River Trent=[[Category:Bridges across the River Trent]] |
|Tweed | |Tweed | ||
|Tweed Water | |Tweed Water | ||
Line 126: | 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]] | ||
− | }}}}</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 15:30, 27 August 2023
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}}} |