Difference between revisions of "Template:Infobox airport"
From Wikishire
(7 intermediate revisions by the same user not shown) | |||
Line 33: | Line 33: | ||
|-{{#if:{{{owner|}}} | |-{{#if:{{{owner|}}} | ||
! style="background: #D0F0C0;" | Owner | ! style="background: #D0F0C0;" | Owner | ||
− | |{{owner}} }} | + | |{{{owner}}} }} |
− | |-{{#if:{{{ownership|}}} | + | |-{{#if:{{{ownership<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" | Owner | ! style="background: #D0F0C0;" | Owner | ||
− | |{{ownership}} }} | + | |{{{ownership}}} }} |
− | |-{{#if:{{{operator|}}} | + | |-{{#if:{{{operator<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" | Operator | ! style="background: #D0F0C0;" | Operator | ||
− | |{{operator}} }} | + | |{{{operator}}} }} |
! style="background: #D0F0C0;" | Location | ! style="background: #D0F0C0;" | Location | ||
|{{#if:{{{location|}}}|{{{location}}}<br>}}{{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}}<br>}}{{#if:{{{latitude|}}}|{{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14}}}} | |{{#if:{{{location|}}}|{{{location}}}<br>}}{{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}}<br>}}{{#if:{{{latitude|}}}|{{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14}}}} | ||
− | |-{{#if:{{{ | + | |- |
− | |Website || {{{website}}}}} | + | {{#if: {{{r1-length<includeonly>|</includeonly>}}} | |
+ | ! style="background: #D0F0C0;" {{!}} Runway(s) | ||
+ | {{!}} {{#if:{{{r1-length|}}}|{{{r1-length}}} {{#if:{{{r1-surface|}}}| ({{{r1-surface}}}) }} }} }} | ||
+ | |- | ||
+ | ! style="background: #D0F0C0;" | Website | ||
+ | |{{#if:{{{website|}}}|{{{website}}} }} | ||
|}<includeonly>{{#switch:{{#var:typeswitch}} | |}<includeonly>{{#switch:{{#var:typeswitch}} | ||
|airport={{namecat2|Airports|{{#var:shire}}}} | |airport={{namecat2|Airports|{{#var:shire}}}} |
Revision as of 22:42, 20 February 2020
Code | |
---|---|
[[]] | |
{{{type}}} | |
Location | |
Runway(s) | |
Website |