Difference between revisions of "Template:Infobox airline"

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

[[Image:{{{logo}}}|250px]]
{{{airline}}}
IATA
{{{IATA}}}
ICAO
{{{ICAO}}}
Callsign
{{{callsign}}}
Founded {{{founded}}}
Hubs {{{hubs}}}
Focus cities / secondary hubs {{{focus_cities}}}
Frequent flyer program {{{frequent_flyer}}}
Member lounge {{{lounge}}}
Alliance {{{alliance}}}
Fleet size {{{fleet_size}}}
Destinations {{{destinations}}}
Parent company {{{parent}}}
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