Difference between revisions of "Template:Infobox airport"

From Wikishire
Jump to: navigation, search
Line 25: Line 25:
 
! style="background: #D0F0C0;" | {{#if:{{{county|}}}|County}}{{#if:{{{territory|}}}|Territory}}
 
! style="background: #D0F0C0;" | {{#if:{{{county|}}}|County}}{{#if:{{{territory|}}}|Territory}}
 
|{{shead|{{#var:shire}}}}
 
|{{shead|{{#var:shire}}}}
|-{{#ifeq:{{#var:typeswitch}}|raf
+
|-{{#if:{{{type|}}}
 
! style="background: #D0F0C0;" |  
 
! style="background: #D0F0C0;" |  
|[[File:RAF-Badge.svg|center|100px|Badge of the Royal Air Force]] }}
+
|{{#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

Revision as of 23:07, 28 July 2018

Code
[[]]
{{{type}}}
Location