Difference between revisions of "Template:Infobox airline"

From blackwiki
Jump to navigation Jump to search
imported>Trevor MacInnis
m ({{esoteric}})
imported>Ligulem
(qif -> #if: (see m:ParserFunctions) using AWB)
Line 1: Line 1:
 
<table 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"><!--
-->{{qif|test={{{logo|}}}|then=<tr><td colspan="3" style="text-align: center;">[[Image:{{{logo}}}|{{{logo_size|250px}}}]]</td></tr>}}<!--
+
-->{{#if:{{{logo|}}}|<tr><td colspan="3" style="text-align: center;">[[Image:{{{logo}}}|{{{logo_size|250px}}}]]</td></tr>}}<!--
 
--><tr><th colspan="3" style="text-align: center; background-color: #4682B4; color: white; font-size: larger;">{{{airline}}}</th></tr>
 
--><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>
 
<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>
 
<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><!--
 
<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>}}<!--
+
-->{{#if:{{{hubs|}}}|<tr><th colspan="2">[[Airline hub|Hubs]]</th><td>{{{hubs|}}}</td></tr>}}<!--
-->{{qif|test={{{focus_cities|}}}|then=<tr><th colspan="2">[[Focus city|Focus cities]] / secondary hubs</th><td>{{{focus_cities|}}}</td></tr>}}<!--
+
-->{{#if:{{{focus_cities|}}}|<tr><th colspan="2">[[Focus city|Focus cities]] / secondary hubs</th><td>{{{focus_cities|}}}</td></tr>}}<!--
-->{{qif|test={{{frequent_flyer|}}}|then=<tr><th colspan="2">[[Frequent flyer program]]</th><td>{{{frequent_flyer|}}}</td></tr>}}<!--
+
-->{{#if:{{{frequent_flyer|}}}|<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>}}<!--
+
-->{{#if:{{{lounge|}}}|<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>}}<!--
+
-->{{#if:{{{alliance|}}}|<tr><th colspan="2">[[Airline alliance|Alliance]]</th><td>{{{alliance|}}}</td></tr>}}<!--
 
--><tr><th colspan="2">Fleet size</th><td>{{{fleet_size}}}</td></tr>
 
--><tr><th colspan="2">Fleet size</th><td>{{{fleet_size}}}</td></tr>
 
<tr><th colspan="2">Destinations</th><td>{{{destinations}}}</td></tr><!--
 
<tr><th colspan="2">Destinations</th><td>{{{destinations}}}</td></tr><!--
-->{{qif|test={{{parent|}}}|then=<tr><th colspan="2">Parent company</th><td>{{{parent|}}}</td></tr>}}<!--
+
-->{{#if:{{{parent|}}}|<tr><th colspan="2">Parent company</th><td>{{{parent|}}}</td></tr>}}<!--
 
--><tr><th colspan="2">Headquarters</th><td>{{{headquarters}}}</td></tr>
 
--><tr><th colspan="2">Headquarters</th><td>{{{headquarters}}}</td></tr>
 
<tr><th colspan="2">Key people</th><td>{{{key_people}}}</td></tr>
 
<tr><th colspan="2">Key people</th><td>{{{key_people}}}</td></tr>

Revision as of 17:43, 20 April 2006

{{{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