Difference between revisions of "Template:Infobox airport"

From Wikishire
Jump to: navigation, search
Line 2: Line 2:
 
!colspan="2"|{{#if:{{{picture|}}}|[[File:{{{picture}}}|center|260px|{{{picture caption}}}]]}}
 
!colspan="2"|{{#if:{{{picture|}}}|[[File:{{{picture}}}|center|260px|{{{picture caption}}}]]}}
 
|-
 
|-
!Width="25%"|   ||Data
+
! style="background: #D0F0C0;" | Code
|-
+
! style="background: #D0F0C0;" | Code  
+
 
|{{#if:{{{IATA|}}}| ''IATA:'' {{{IATA}}}}}{{#if:{{{ICAO|}}}|, ''ICAO:'' {{{ICAO}}}}}
 
|{{#if:{{{IATA|}}}| ''IATA:'' {{{IATA}}}}}{{#if:{{{ICAO|}}}|, ''ICAO:'' {{{ICAO}}}}}
 
|-
 
|-
Line 10: Line 8:
 
| [[{{#var:shire}}]]
 
| [[{{#var:shire}}]]
 
|-{{#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|}}}|{{getmapecho|{{{os grid ref}}}}}|{{#if:{{{latitude|}}}|{{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14}}}}}}
 
| {{#if:{{{location|}}}|{{{location}}}<br>}}{{#if:{{{os grid ref|}}}|{{getmapecho|{{{os grid ref}}}}}|{{#if:{{{latitude|}}}|{{wmap|{{{latitude}}}|{{{longitude}}}|zoom=14}}}}}}
 
|-{{#if:{{{website|}}}|
 
|-{{#if:{{{website|}}}|
 
|Website || {{{website}}}}}
 
|Website || {{{website}}}}}
 
|}<includeonly>{{namecat2|Airports|{{#var:shire}} }}</includeonly><noinclude>[[Category:Infoboxes|Airport]]
 
|}<includeonly>{{namecat2|Airports|{{#var:shire}} }}</includeonly><noinclude>[[Category:Infoboxes|Airport]]

Revision as of 22:41, 3 August 2017

Code
[[]]
Location