Difference between revisions of "Template:Infobox airport"
From Wikishire
Line 66: | Line 66: | ||
! style="background: #d7eef4;" | Website | ! style="background: #d7eef4;" | Website | ||
|{{#if:{{{website|}}}|{{{website}}} }} | |{{#if:{{{website|}}}|{{{website}}} }} | ||
− | |}<includeonly>{{#switch:{{#var:typeswitch}} | + | |}<includeonly>{{#vardefine:indexname|{{#ifeq:{{#left:{{{name}}}|3}}|RAF|{{#sub:{{{name}}}|4|{{exp:{{#len:{{{name}}}}}-4}}}}|{{{name}}}}}}}{{#switch:{{#var:typeswitch}} |
|airport={{namecat2|Airports|{{#var:shire}}}} | |airport={{namecat2|Airports|{{#var:shire}}}} | ||
|int=[[Category:International airports]] {{namecat2|Airports|{{#var:shire}}}} | |int=[[Category:International airports]] {{namecat2|Airports|{{#var:shire}}}} | ||
− | |raf={{namecat2|RAF stations|{{#var:shire}}}} | + | |raf={{namecat2|RAF stations|{{#var:shire}}|{{#var:indexname}}}} |
|airfield={{namecat2|Airfields|{{#var:shire}}}} | |airfield={{namecat2|Airfields|{{#var:shire}}}} | ||
|spaceport={{namecat2|Airfields|{{#var:shire}}}} [[Category:Spaceports in {{State2|{{#var:shire}}}}]] | |spaceport={{namecat2|Airfields|{{#var:shire}}}} [[Category:Spaceports in {{State2|{{#var:shire}}}}]] | ||
|{{namecat2|Airports|{{#var:shire}}}} | |{{namecat2|Airports|{{#var:shire}}}} | ||
}}</includeonly><noinclude>[[Category:Infoboxes|Airport]] | }}</includeonly><noinclude>[[Category:Infoboxes|Airport]] |
Revision as of 17:33, 21 January 2024
Infobox airport | |||
Code | |||
---|---|---|---|
[[]] | |||
Island | [[{{{island}}}]] | ||
{{{type}}} | |||
Owner | {{{owner}}} | ||
Owner | {{{ownership}}} | ||
Operator | {{{operator}}} | ||
Location | |||
Runway | {{{runway length}}} | ||
Runway(s) | {{{r1-length}}} | ||
Website |