Difference between revisions of "Template:Infobox Airline"

From Lafayette Inc Wiki
Jump to navigation Jump to search
(New page: <table class="infobox bordered vcard" style="width: 25em; font-size: 90%; text-align: left;" cellpadding="2"> {{ #if: {{{airline<includeonly>|</includeonly>}}} | <tr><th class="fn org" col...)
 
 
(3 intermediate revisions by the same user not shown)
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"
{{
+
|+ colspan=2 class="fn org" style="text-align: center; font-size: 125; font-weight:bold" | {{{airline<includeonly>|{{PAGENAME}}</includeonly>}}}
#if: {{{airline<includeonly>|</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>}}}|
}}{{
+
{{!}} colspan=2 style="text-align: center" {{!}} [[Image:{{{logo|{{{image}}} }}}|{{px|{{{logo_size|}}}|{{{image_size|}}}|250}}]]
#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>
+
}}
}}<tr><td style="text-align: center; background-color: lightgrey; width: 5em;">[[IATA airline designator|IATA]]<br />'''{{{IATA<includeonly>| -</includeonly>}}}'''</td><td style="text-align: center; background-color: lightgrey; width: 5em;">[[ICAO airline designator|ICAO]]<br />'''{{{ICAO<includeonly>| -</includeonly>}}}'''</td><td style="text-align: center; background-color: lightgrey;">[[Airline call sign|Callsign]]<br />'''{{{callsign<includeonly>| -</includeonly>}}}'''</td></tr>
+
{{!}} colspan=2 style="text-align: center" {{!}}
<tr><th colspan="2">Founded</th><td>{{{founded}}}</td></tr>
+
{{{!}} style="text-align: center; width: 100%; background-color: lightgrey"
{{
+
! style="border-right:1px solid white" {{!}} [[Wikipedia:IATA airline designator|IATA]]<br/>'''{{{IATA<includeonly>| -</includeonly>}}}'''
#if: {{{commenced<includeonly>|</includeonly>}}} |
+
! style="border-right:1px solid white" {{!}} [[Wikipedia:ICAO airline designator|ICAO]]<br/>'''{{{ICAO<includeonly>| -</includeonly>}}}'''
<tr><th colspan="2">Commenced operations</th><td>{{{commenced}}}</td></tr>
+
! {{!}} [[Wikipedia:Airline call sign|Callsign]]<br/>'''{{{callsign<includeonly>| -</includeonly>}}}'''
}}{{
+
{{!}}}
#if: {{{ceased<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><th colspan="2">Ceased operations</th><td>{{{ceased}}}</td></tr>
+
! Founded
}}{{
+
{{!}} {{{founded}}}
#if: {{{bases<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><th colspan="2">Bases</th><td>{{{bases}}}</td></tr>
+
{{#if:{{{commenced<includeonly>|</includeonly>}}}|
}}{{
+
! Commenced operations
#if: {{{hubs<includeonly>|</includeonly>}}} |
+
{{!}} {{{commenced}}}
<tr><th colspan="2">[[Airline hub|Hubs]]</th><td>{{{hubs}}}</td></tr>
+
{{!}}-
}}{{
+
}}
#if: {{{secondary_hubs<includeonly>|</includeonly>}}} |
+
{{#if:{{{ceased<includeonly>|</includeonly>}}}|
<tr><th colspan="2">[[Airline hub|Secondary hubs]]</th><td>{{{secondary_hubs}}}</td></tr>
+
! Ceased operations
}}{{
+
{{!}} {{{ceased}}}
#if: {{{focus_cities<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><th colspan="2">[[Focus city|Focus cities]]</th><td>{{{focus_cities}}}</td></tr>
+
}}
}}{{
+
{{#if:{{{bases<includeonly>|</includeonly>}}}|
#if: {{{frequent_flyer<includeonly>|</includeonly>}}} |
+
! Bases
<tr><th colspan="2">[[Frequent flyer program]]</th><td>{{{frequent_flyer}}}</td></tr>
+
{{!}} {{{bases}}}
}}{{
+
{{!}}-
#if: {{{lounge<includeonly>|</includeonly>}}} |
+
}}
<tr><th colspan="2">[[Airport lounge|Member lounge]]</th><td>{{{lounge}}}</td></tr>
+
{{#if:{{{hubs<includeonly>|</includeonly>}}}|
}}{{
+
! [[Wikipedia:Airline hub|Hubs]]
#if: {{{alliance<includeonly>|</includeonly>}}} |
+
{{!}} {{{hubs}}}
<tr><th colspan="2">[[Airline alliance|Alliance]]</th><td>{{{alliance}}}</td></tr>
+
{{!}}-
}}{{
+
}}
#if: {{{subsidiaries<includeonly>|</includeonly>}}} |
+
{{#if:{{{secondary_hubs<includeonly>|</includeonly>}}}|
<tr><th colspan="2">[[Subsidiary|Subsidiaries]]</th><td>{{{subsidiaries}}}</td></tr>
+
! [[Wikipedia:Airline hub|Secondary hubs]]
}}<tr><th colspan="2">Fleet size</th><td>{{{fleet_size}}}</td></tr>
+
{{!}} {{{secondary_hubs}}}
<tr><th colspan="2">Destinations</th><td>{{{destinations}}}</td></tr>
+
{{!}}-
{{
+
}}
#if: {{{parent<includeonly>|</includeonly>}}} |
+
{{#if:{{{focus_cities<includeonly>|</includeonly>}}}|
<tr><th colspan="2">[[Parent company]]</th><td>{{{parent}}}</td></tr>
+
! [[Wikipedia:Focus city|Focus cities]]
}}{{
+
{{!}} {{{focus_cities}}}
#if: {{{company_slogan<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><th colspan="2">Company slogan</th><td>{{{company_slogan}}}</td></tr>
+
}}
}}<tr><th colspan="2">Headquarters</th><td class="label">{{{headquarters}}}</td></tr>
+
{{#if:{{{frequent_flyer<includeonly>|</includeonly>}}}|
<tr><th colspan="2">Key people</th><td>{{{key_people}}}</td></tr>
+
! [[Wikipedia:Frequent flyer program|Frequent flyer program]]
{{
+
{{!}} {{{frequent_flyer}}}
#if: {{{website<includeonly>|</includeonly>}}} |
+
{{!}}-
<tr><td colspan="3" style="text-align: center;">'''Website:''' {{{website}}}</td></tr>
+
}}
}}</table><noinclude>
+
{{#if:{{{lounge<includeonly>|</includeonly>}}}|
{{pp-semi-template|small=yes}}
+
! [[Wikipedia:Airport lounge|Member lounge]]
{{documentation}}
+
{{!}} {{{lounge}}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
{{!}}-
</noinclude>
+
}}
 +
{{#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}}}
 +
{{!}}-
 +
}}
 +
|}

Latest revision as of 01:02, 7 September 2009

{{{airline}}}
[[Image:{{{image}}} |250px]]
IATA
{{{IATA}}}
ICAO
{{{ICAO}}}
Callsign
{{{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}}}