Difference between revisions of "Template:Infobox airline"

From blackwiki
Jump to navigation Jump to search
imported>Ligulem
(cat, code update. see Wikipedia:Conditional expressions)
imported>CBDunkerson
(Removing hiddenStructure CSS hack due to accessibility problems)
Line 1: Line 1:
 
{| class="infobox bordered" style="width: 25em; font-size: 90%; text-align: left;" cellpadding="2"
 
{| class="infobox bordered" style="width: 25em; font-size: 90%; text-align: left;" cellpadding="2"
|- class="hiddenStructure{{{logo|}}}"
+
|-
| colspan="3" style="text-align: center;" | [[Image:{{{logo}}}|{{{logo_size|250px}}}]]
+
| colspan="3" style="text-align: center;" | {{qif|test={{{logo|}}}|then=[[Image:{{{logo}}}|{{{logo_size|250px}}}]]}}
 
|-
 
|-
 
! colspan="3" style="text-align: center; background-color: #4682B4; color: white; font-size: larger;" | {{{airline}}}
 
! colspan="3" style="text-align: center; background-color: #4682B4; color: white; font-size: larger;" | {{{airline}}}
Line 11: Line 11:
 
! colspan="2" | Founded
 
! colspan="2" | Founded
 
| {{{founded}}}
 
| {{{founded}}}
|- class{{{hubs|}}}="hiddenStructure"
+
|-
! colspan="2" | [[Airline hub|Hubs]]
+
! colspan="2" | {{qif|test={{{hubs|}}}|then=[[Airline hub|Hubs]]<td>{{{hubs}}}}}
| {{{hubs}}}
+
|-
|- class{{{focus_cities|}}}="hiddenStructure"
+
! colspan="2" | {{qif|test={{{focus_cities|}}}|then=[[Focus city|Focus cities]] / secondary hubs<td>{{{focus_cities}}}}}
! colspan="2" | [[Focus city|Focus cities]] / secondary hubs
+
|-
| {{{focus_cities}}}
+
! colspan="2" | {{qif|test={{{frequent_flyer|}}}|then=[[Frequent flyer program]]<td>{{{frequent_flyer}}}}}
|- class{{{frequent_flyer|}}}="hiddenStructure"
+
|-
! colspan="2" | [[Frequent flyer program]]
+
! colspan="2" | {{qif|test={{{lounge|}}}|then=[[Airport lounge|Member lounge]]<td>{{{lounge}}}}}
| {{{frequent_flyer}}}
+
|-
|- class{{{lounge|}}}="hiddenStructure"
+
! colspan="2" | {{qif|test={{{alliance|}}}|then=[[Airline alliance|Alliance]]<td>{{{alliance}}}}}
! colspan="2" | [[Airport lounge|Member lounge]]
 
| {{{lounge}}}
 
|- class{{{alliance|}}}="hiddenStructure"
 
! colspan="2" | [[Airline alliance|Alliance]]
 
| {{{alliance}}}
 
 
|-
 
|-
 
! colspan="2" | Fleet size
 
! colspan="2" | Fleet size
Line 32: Line 27:
 
! colspan="2" | Destinations
 
! colspan="2" | Destinations
 
| {{{destinations}}}
 
| {{{destinations}}}
|- class{{{parent|}}}="hiddenStructure"
+
|-
! colspan="2" | Parent company
+
! colspan="2" | {{qif|test={{{parent|}}}|then=Parent company<td>{{{parent}}}}}
| {{{parent}}}
 
 
|-
 
|-
 
! colspan="2" | Headquarters
 
! colspan="2" | Headquarters

Revision as of 00:10, 27 January 2006

Template:Qif
{{{airline}}}
IATA
{{{IATA}}}
ICAO
{{{ICAO}}}
Callsign
{{{callsign}}}
Founded {{{founded}}}
Template:Qif
Template:Qif
Template:Qif
Template:Qif
Template:Qif
Fleet size {{{fleet_size}}}
Destinations {{{destinations}}}
Template:Qif
Headquarters {{{headquarters}}}
Key people {{{key_people}}}
Website: {{{website}}}