Difference between revisions of "Template:Infobox bridge"

From Wikishire
Jump to: navigation, search
Line 2: Line 2:
 
|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 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="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|{{#vardefine:riding|{{#if:{{{riding<includeonly>|</includeonly>}}}|{{ridingfix|{{{riding}}}}}}}|York}}}}
|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>}}} |

Revision as of 00:14, 8 September 2019

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}}}
Design: {{{design}}}
Material: {{{material}}}
Piers: {{{piers}}}({{{piers in water}}} in the water)
History
Built {{{built}}}
Architect: {{{architect}}}
Information
Condition: {{{condition}}}
Owned by: {{{ownership}}}
Website: {{{website}}}