Difference between revisions of "Template:Infobox airport"

From Wikishire
Jump to: navigation, search
Line 31: Line 31:
 
{{#if:{{{type<includeonly>|</includeonly>}}} |
 
{{#if:{{{type<includeonly>|</includeonly>}}} |
 
! 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<includeonly>|</includeonly>}}} |
 
{{#if:{{{owner<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" | Owner
 
! style="background: #D0F0C0;" | Owner
|{{{owner}}} }}
+
{{!}} {{{owner}}} }}
 
|-
 
|-
 
{{#if:{{{ownership<includeonly>|</includeonly>}}} |
 
{{#if:{{{ownership<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" | Owner
 
! style="background: #D0F0C0;" | Owner
|{{{ownership}}} }}
+
{{!}} {{{ownership}}} }}
 
|-
 
|-
 
{{#if:{{{operator<includeonly>|</includeonly>}}} |
 
{{#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}}}}

Revision as of 18:13, 25 February 2020

Code
[[]]
style="background: #D0F0C0;"
style="background: #D0F0C0;"
style="background: #D0F0C0;"
style="background: #D0F0C0;" Location
Runway {{{runway length}}}
Runway(s)
Website