Difference between revisions of "Template:Infobox airport"

From Wikishire
Jump to: navigation, search
m
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
+
|-{{#ifeq:{{#var:typeswitch}}|raf|
 
! colspan="2" |[[File:RAF-Badge.svg|center|120px|Badge of the Royal Air Force]] }}
 
! colspan="2" |[[File:RAF-Badge.svg|center|120px|Badge of the Royal Air Force]] }}
 
|-{{#if:{{{owner|}}}
 
|-{{#if:{{{owner|}}}
Line 37: Line 37:
 
|{{operator}} }}
 
|{{operator}} }}
 
! style="background: #D0F0C0;" | Location
 
! style="background: #D0F0C0;" | Location
|{{#if:{{{location|}}}|{{{location}}}<br>}}{{#if:{{{os grid ref|}}}|{{getmapecho|{{{os grid ref}}}}}|{{#if:{{{latitude|}}}|{{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14}}}}}}
+
|{{#if:{{{location|}}}|{{{location}}}<br>}}{{#if:{{{os grid ref|}}}|{{map|{{{os grid ref}}}}}|{{#if:{{{latitude|}}}|{{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14}}}}}}
 
|-{{#if:{{{website|}}}|
 
|-{{#if:{{{website|}}}|
 
|Website || {{{website}}}}}
 
|Website || {{{website}}}}}

Revision as of 22:34, 27 July 2018

Code
[[]]
Location