Difference between revisions of "Template:Infobox bridge"

From Wikishire
Jump to: navigation, search
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 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|{{#if:{{{riding|}}}|{{#vardefine:riding|{{ridingfix|{{{riding}}}}}}}<br>{{#var: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}}}}}}

Revision as of 18:52, 22 October 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}}}