Difference between revisions of "Template:Infobox Airline"

From Lafayette Inc Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<table class="infobox bordered vcard" style="width: 25em; font-size: 90%; text-align: left;" cellpadding="2">
+
{| class="infobox vcard" style="width: 22em; font-size: 88%; text-align: left; line-height: 1.5em"
{{
+
{{#if:{{{airline<includeonly>|</includeonly>}}}|
#if: {{{airline<includeonly>|</includeonly>}}} |
+
! colspan=2 class="fn org" style="text-align: center; font-size: 125%" {{!}} {{{airline<includeonly>|{{PAGENAME}}</includeonly>}}}
<tr><th class="fn org" colspan="3" style="text-align: center; background-color: #4682B4; color: white; font-size: larger;">{{{airline}}}</th></tr>
+
{{!}}-
}}{{
+
}}
#if: {{{logo|}}} {{{image<includeonly>|</includeonly>}}} |
+
{{#if:{{{logo|}}}{{{image<includeonly>|</includeonly>}}}|
<tr><td colspan="3" style="text-align: center; background-color: #FFFFFF;">[[Image:{{{logo|{{{image}}}}}}| {{px|{{{logo_size|}}}|{{{image_size|}}}|250}} |]]</td></tr>
+
{{!}} colspan=2 style="text-align: center" {{!}} [[Image:{{{logo|{{{image}}} }}}|{{px|{{{logo_size|}}}|{{{image_size|}}}|250}}]]
}}<tr><td style="text-align: center; background-color: lightgrey; width: 5em;">IATA<br />'''{{{IATA<includeonly>| -</includeonly>}}}'''</td><td style="text-align: center; background-color: lightgrey; width: 5em;">ICAO<br />'''{{{ICAO<includeonly>| -</includeonly>}}}'''</td><td style="text-align: center; background-color: lightgrey;">Callsign<br />'''{{{callsign<includeonly>| -</includeonly>}}}'''</td></tr>
+
{{!}}-
<tr><th colspan="2">Founded</th><td>{{{founded}}}</td></tr>
+
}}
{{
+
{{!}} colspan=2 style="text-align: center" {{!}}
#if: {{{commenced<includeonly>|</includeonly>}}} |
+
{{{!}} style="text-align: center; background-color: lightgrey; width: 100%"
<tr><th colspan="2">Commenced operations</th><td>{{{commenced}}}</td></tr>
+
! {{!}} [[Wikipedia:IATA airline designator|IATA]]
}}{{
+
! {{!}} [[Wikipedia:ICAO airline designator|ICAO]]
#if: {{{ceased<includeonly>|</includeonly>}}} |
+
! {{!}} [[Wikipedia:Airline call sign|Callsign]]
<tr><th colspan="2">Ceased operations</th><td>{{{ceased}}}</td></tr>
+
{{!}}- style="font-weight: bold"
}}{{
+
{{!}} {{!}} {{{IATA<includeonly>| -</includeonly>}}}
#if: {{{bases<includeonly>|</includeonly>}}} |
+
{{!}} {{!}} {{{ICAO<includeonly>| -</includeonly>}}}
<tr><th colspan="2">Bases</th><td>{{{bases}}}</td></tr>
+
{{!}} {{!}} {{{callsign<includeonly>| -</includeonly>}}}
}}{{
+
{{!}}}
#if: {{{hubs<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><th colspan="2">Hubs</th><td>{{{hubs}}}</td></tr>
+
! Founded
}}{{
+
{{!}} {{{founded}}}
#if: {{{secondary_hubs<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><th colspan="2">Secondary hubs</th><td>{{{secondary_hubs}}}</td></tr>
+
{{#if:{{{commenced<includeonly>|</includeonly>}}}|
}}{{
+
! Commenced operations
#if: {{{focus_cities<includeonly>|</includeonly>}}} |
+
{{!}} {{{commenced}}}
<tr><th colspan="2">Focus cities</th><td>{{{focus_cities}}}</td></tr>
+
{{!}}-
}}{{
+
}}
#if: {{{frequent_flyer<includeonly>|</includeonly>}}} |
+
{{#if:{{{ceased<includeonly>|</includeonly>}}}|
<tr><th colspan="2">Frequent flyer program</th><td>{{{frequent_flyer}}}</td></tr>
+
! Ceased operations
}}{{
+
{{!}} {{{ceased}}}
#if: {{{lounge<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><th colspan="2">Member lounge</th><td>{{{lounge}}}</td></tr>
+
}}
}}{{
+
{{#if:{{{bases<includeonly>|</includeonly>}}}|
#if: {{{alliance<includeonly>|</includeonly>}}} |
+
! Bases
<tr><th colspan="2">Alliance</th><td>{{{alliance}}}</td></tr>
+
{{!}} {{{bases}}}
}}{{
+
{{!}}-
#if: {{{subsidiaries<includeonly>|</includeonly>}}} |
+
}}
<tr><th colspan="2">Subsidiaries</th><td>{{{subsidiaries}}}</td></tr>
+
{{#if:{{{hubs<includeonly>|</includeonly>}}}|
}}<tr><th colspan="2">Fleet size</th><td>{{{fleet_size}}}</td></tr>
+
! [[Wikipedia:Airline hub|Hubs]]
<tr><th colspan="2">Destinations</th><td>{{{destinations}}}</td></tr>
+
{{!}} {{{hubs}}}
{{
+
{{!}}-
#if: {{{parent<includeonly>|</includeonly>}}} |
+
}}
<tr><th colspan="2">Parent company</th><td>{{{parent}}}</td></tr>
+
{{#if:{{{secondary_hubs<includeonly>|</includeonly>}}}|
}}{{
+
! [[Wikipedia:Airline hub|Secondary hubs]]
#if: {{{company_slogan<includeonly>|</includeonly>}}} |
+
{{!}} {{{secondary_hubs}}}
<tr><th colspan="2">Company slogan</th><td>{{{company_slogan}}}</td></tr>
+
{{!}}-
}}<tr><th colspan="2">Headquarters</th><td class="label">{{{headquarters}}}</td></tr>
+
}}
<tr><th colspan="2">Key people</th><td>{{{key_people}}}</td></tr>
+
{{#if:{{{focus_cities<includeonly>|</includeonly>}}}|
{{
+
! [[Wikipedia:Focus city|Focus cities]]
#if: {{{website<includeonly>|</includeonly>}}} |
+
{{!}} {{{focus_cities}}}
<tr><td colspan="3" style="text-align: center;">'''Website:''' {{{website}}}</td></tr>
+
{{!}}-
}}</table>
+
}}
 +
{{#if:{{{frequent_flyer<includeonly>|</includeonly>}}}|
 +
! [[Wikipedia:Frequent flyer program|Frequent flyer program]]
 +
{{!}} {{{frequent_flyer}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{lounge<includeonly>|</includeonly>}}}|
 +
! [[Wikipedia:Airport lounge|Member lounge]]
 +
{{!}} {{{lounge}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{alliance<includeonly>|</includeonly>}}}|
 +
! [[Wikipedia:Airline alliance|Alliance]]
 +
{{!}} {{{alliance}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{subsidiaries<includeonly>|</includeonly>}}}|
 +
! [[Wikipedia:Subsidiary|Subsidiaries]]
 +
{{!}} {{{subsidiaries}}}
 +
{{!}}-
 +
}}
 +
! Fleet size
 +
{{!}} {{{fleet_size}}}
 +
{{!}}-
 +
! Destinations
 +
{{!}} {{{destinations}}}
 +
{{!}}-
 +
{{#if:{{{parent<includeonly>|</includeonly>}}}|
 +
! [[Wikipedia:Parent company|Parent company]]
 +
{{!}} {{{parent}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{company_slogan<includeonly>|</includeonly>}}}|
 +
! Company slogan
 +
{{!}} {{{company_slogan}}}
 +
{{!}}-
 +
}}
 +
! Headquarters
 +
{{!}} class="label" {{!}} {{{headquarters}}}
 +
{{!}}-
 +
! Key people
 +
{{!}} {{{key_people}}}
 +
{{!}}-
 +
{{#if:{{{website<includeonly>|</includeonly>}}} |
 +
! Website
 +
{{!}} {{{website}}}
 +
{{!}}-
 +
}}
 +
|}

Revision as of 19:21, 13 August 2009

{{{airline}}}
[[Image:{{{image}}} |250px]]
IATA ICAO Callsign
{{{IATA}}} {{{ICAO}}} {{{callsign}}}
Founded {{{founded}}}
Commenced operations {{{commenced}}}
Ceased operations {{{ceased}}}
Bases {{{bases}}}
Hubs {{{hubs}}}
Secondary hubs {{{secondary_hubs}}}
Focus cities {{{focus_cities}}}
Frequent flyer program {{{frequent_flyer}}}
Member lounge {{{lounge}}}
Alliance {{{alliance}}}
Subsidiaries {{{subsidiaries}}}
Fleet size {{{fleet_size}}}
Destinations {{{destinations}}}
Parent company {{{parent}}}
Company slogan {{{company_slogan}}}
Headquarters {{{headquarters}}}
Key people {{{key_people}}}
Website {{{website}}}