Difference between revisions of "Template:Infobox airline"

From blackwiki
Jump to navigation Jump to search
imported>Locke Cole
(fix accessibility)
Line 1: Line 1:
{| class="infobox bordered" style="width: 25em; font-size: 90%; text-align: left;" cellpadding="2"
+
<table class="infobox bordered" style="width: 25em; font-size: 90%; text-align: left;" cellpadding="2"><!--
|- class="hiddenStructure{{{logo|}}}"
+
-->{{qif|test={{{logo|}}}|then=<tr><td colspan="3" style="text-align: center;">[[Image:{{{logo}}}|{{{logo_size|250px}}}]]</td></tr>}}<!--
| colspan="3" style="text-align: center;" | [[Image:{{{logo}}}|{{{logo_size|250px}}}]]
+
--><tr><th colspan="3" style="text-align: center; background-color: #4682B4; color: white; font-size: larger;">{{{airline}}}</th></tr>
|-
+
<tr><td style="text-align: center; background-color: lightgrey; width: 5em;">[[IATA airline designator|IATA]]<br />'''{{{IATA}}}'''</td><td style="text-align: center; background-color: lightgrey; width: 5em;">[[ICAO airline designator|ICAO]]<br />'''{{{ICAO}}}'''</td>
! colspan="3" style="text-align: center; background-color: #4682B4; color: white; font-size: larger;" | {{{airline}}}
+
<td style="text-align: center; background-color: lightgrey;">[[Airline call sign|Callsign]]<br />'''{{{callsign}}}'''</td></tr>
|-
+
<tr><th colspan="2">Founded</th><td>{{{founded}}}</td><!--
| style="text-align: center; background-color: lightgrey; width: 5em;" | [[IATA airline designator|IATA]]<br>'''{{{IATA}}}'''
+
-->{{qif|test={{{hubs|}}}|then=<tr><th colspan="2">[[Airline hub|Hubs]]</th><td>{{{hubs|}}}</td></tr>}}<!--
| style="text-align: center; background-color: lightgrey; width: 5em;" | [[ICAO airline designator|ICAO]]<br>'''{{{ICAO}}}'''
+
-->{{qif|test={{{focus_cities|}}}|then=<tr><th colspan="2">[[Focus city|Focus cities]] / secondary hubs</th><td>{{{focus_cities|}}}</td></tr>}}<!--
| style="text-align: center; background-color: lightgrey;" | [[Airline call sign|Callsign]]<br>'''{{{callsign}}}'''
+
-->{{qif|test={{{frequent_flyer|}}}|then=<tr><th colspan="2">[[Frequent flyer program]]</th><td>{{{frequent_flyer|}}}</td></tr>}}<!--
|-
+
-->{{qif|test={{{lounge|}}}|then=<tr><th colspan="2">[[Airport lounge|Member lounge]]</th><td>{{{lounge|}}}</td></tr>}}<!--
! colspan="2" | Founded
+
-->{{qif|test={{{alliance|}}}|then=<tr><th colspan="2">[[Airline alliance|Alliance]]</th><td>{{{alliance|}}}</td></tr>}}<!--
| {{{founded}}}
+
--><tr><th colspan="2">Fleet size</th><td>{{{fleet_size}}}</td></tr>
|- class{{{hubs|}}}="hiddenStructure"
+
<tr><th colspan="2">Destinations</th><td>{{{destinations}}}</td></tr><!--
! colspan="2" | [[Airline hub|Hubs]]
+
-->{{qif|test={{{parent|}}}|then=<tr><th colspan="2">Parent company</th><td>{{{parent|}}}</td></tr>}}<!--
| {{{hubs}}}
+
--><tr><th colspan="2">Headquarters</th><td>{{{headquarters}}}</td></tr>
|- class{{{focus_cities|}}}="hiddenStructure"
+
<tr><th colspan="2">Key people</th><td>{{{key_people}}}</td></tr>
! colspan="2" | [[Focus city|Focus cities]] / secondary hubs
+
<tr><td colspan="3" style="text-align: center;">'''Website:''' {{{website}}}</td></tr></table><noinclude>
| {{{focus_cities}}}
 
|- class{{{frequent_flyer|}}}="hiddenStructure"
 
! colspan="2" | [[Frequent flyer program]]
 
| {{{frequent_flyer}}}
 
|- class{{{lounge|}}}="hiddenStructure"
 
! colspan="2" | [[Airport lounge|Member lounge]]
 
| {{{lounge}}}
 
|- class{{{alliance|}}}="hiddenStructure"
 
! colspan="2" | [[Airline alliance|Alliance]]
 
| {{{alliance}}}
 
|-
 
! colspan="2" | Fleet size
 
| {{{fleet_size}}}
 
|-
 
! colspan="2" | Destinations
 
| {{{destinations}}}
 
|- class{{{parent|}}}="hiddenStructure"
 
! colspan="2" | Parent company
 
| {{{parent}}}
 
|-
 
! colspan="2" | Headquarters
 
| {{{headquarters}}}
 
|-
 
! colspan="2" | Key people
 
| {{{key_people}}}
 
|-
 
| colspan="3" style="text-align: center;" | '''Website:''' {{{website}}}
 
|}<noinclude>
 
  
 
[[Category:Infobox templates|Airline]]
 
[[Category:Infobox templates|Airline]]

Revision as of 06:32, 7 March 2006

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

nl:Sjabloon:Infobox luchtvaartmaatschappij vi:Tiêu bản:Tóm tắt về đường hàng không