Difference between revisions of "Template:Infobox airport"

From Wikishire
Jump to: navigation, search
(5 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
|airport
 
|airport
 
}}}}|{{#vardefine:typeswitch|airport}}}}{| 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;"
 
}}}}|{{#vardefine:typeswitch|airport}}}}{| 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:#d7eef4; 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}}} }} }}<!--Op codes here
+
|colspan=2 class= style="text-align: center; background:#d7eef4; font-size: 100%"|<big class="fn org">{{#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}}} }} }}
-->
+
|-<!--Op codes here-->
 
!colspan="2"|{{#if:{{{picture|}}}|[[File:{{{picture}}}|center|260px|{{{picture caption}}}]]}}
 
!colspan="2"|{{#if:{{{picture|}}}|[[File:{{{picture}}}|center|260px|{{{picture caption}}}]]}}
 
|-
 
|-
Line 30: Line 30:
 
! style="background: #d7eef4;" | {{#if:{{{county|}}}|County}}{{#if:{{{territory|}}}|Territory}}
 
! style="background: #d7eef4;" | {{#if:{{{county|}}}|County}}{{#if:{{{territory|}}}|Territory}}
 
|{{shead|{{#var:shire}}}}
 
|{{shead|{{#var:shire}}}}
 +
|-
 +
{{#if: {{{island<includeonly>|</includeonly>}}} |
 +
! style="background: #d7eef4;" {{!}} Island
 +
{{!}} {{IsleID|{{{island}}}|{{namefix|{{#var:shire}}}} }} }} || ||
 
|-
 
|-
 
{{#if:{{{type<includeonly>|</includeonly>}}} |
 
{{#if:{{{type<includeonly>|</includeonly>}}} |
Line 55: Line 59:
 
|-
 
|-
 
{{#if: {{{r1-length<includeonly>|</includeonly>}}} |
 
{{#if: {{{r1-length<includeonly>|</includeonly>}}} |
! style="background: d7eef4;"  {{!}} Runway(s)
+
! style="background: #d7eef4;"  {{!}} Runway(s)
{{!}} {{#if:{{{r1-length|}}}|{{{r1-length}}} {{#if:{{{r1-surface|}}}| ({{{r1-surface}}}) }} }} {{#if:{{{r2-length|}}}|<br />{{{r2-length}}} {{#if:{{{r2-surface|}}}| ({{{r2-surface}}}) }} {{#if:{{{r3-length|}}}|<br />{{{r3-length}}} {{#if:{{{r3-surface|}}}| ({{{r3-surface}}}) }} }} }} }}
+
{{!}} {{{r1-length}}} {{#if:{{{r1-surface|}}}| ({{{r1-surface}}}) }} {{#if:{{{r2-length|}}}|<br />{{{r2-length}}} {{#if:{{{r2-surface|}}}| ({{{r2-surface}}}) }} {{#if:{{{r3-length|}}}|<br />{{{r3-length}}} {{#if:{{{r3-surface|}}}| ({{{r3-surface}}}) }} }} }} }}
 
|-
 
|-
 
! style="background: #d7eef4;" | Website
 
! style="background: #d7eef4;" | Website

Revision as of 19:33, 18 March 2020

Infobox airport
Code
[[]]
Island [[{{{island}}}]]
{{{type}}}
Owner {{{owner}}}
Owner {{{ownership}}}
Operator {{{operator}}}
Location
Runway {{{runway length}}}
Runway(s) {{{r1-length}}}
Website