Difference between revisions of "Template:Infobox airport"

From Wikishire
Jump to: navigation, search
(Undo revision 68847 by RB (talk))
Line 28: Line 28:
 
! style="background: #D0F0C0;" | {{#if:{{{county|}}}|County}}{{#if:{{{territory|}}}|Territory}}
 
! style="background: #D0F0C0;" | {{#if:{{{county|}}}|County}}{{#if:{{{territory|}}}|Territory}}
 
|{{shead|{{#var:shire}}}}
 
|{{shead|{{#var:shire}}}}
|-{{#if:{{{type|}}}
+
|-
 +
{{#if:{{{type|}}}
 
! style="background: #D0F0C0;" |  
 
! style="background: #D0F0C0;" |  
 
|{{#ifeq:{{#var:typeswitch}}|raf|[[File:RAF-Badge.svg|center|100px|Badge of the Royal Air Force]]|{{{type}}} }} }}
 
|{{#ifeq:{{#var:typeswitch}}|raf|[[File:RAF-Badge.svg|center|100px|Badge of the Royal Air Force]]|{{{type}}} }} }}
|-{{#if:{{{owner|}}}
+
|-
 +
{{#if:{{{owner|}}}
 
! style="background: #D0F0C0;" | Owner
 
! style="background: #D0F0C0;" | Owner
 
|{{{owner}}} }}
 
|{{{owner}}} }}
|-{{#if:{{{ownership|}}}
+
|-
 +
{{#if:{{{ownership|}}}
 
! style="background: #D0F0C0;" | Owner
 
! style="background: #D0F0C0;" | Owner
 
|{{{ownership}}} }}
 
|{{{ownership}}} }}
|-{{#if:{{{operator|}}}
+
|-
 +
{{#if:{{{operator|}}}
 
! 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: {{{runway length<includeonly>|</includeonly>}}} |
 +
! style="background: #D0F0C0;"  {{!}} Runway
 +
{{!}} {{{runway length}}} {{#if:{{{runway surface|}}}| ({{{runway surface}}}) }} }}
 
|-
 
|-
 
{{#if: {{{r1-length<includeonly>|</includeonly>}}} |
 
{{#if: {{{r1-length<includeonly>|</includeonly>}}} |

Revision as of 18:05, 25 February 2020

Owner Owner Operator
Code
[[]]
Location
Runway {{{runway length}}}
Runway(s)
Website