Template:Infobox airline/sandbox

From blackwiki
Jump to navigation Jump to search
Ceased operationsScript error: No such module "If empty".
Template documentation[view] [edit] [history] [purge]

{{Infobox airline}} is intended for use at the start of articles about airlines and is designed to present a summary of an airline's key aspects.

Usage

Some of the parameters below have guidelines that should be followed to achieve a consistent appearance and/or allow other computers to parse their data. Please see the descriptions of each and the example below.

Blank syntax

Template:Parameter names example

{{Infobox airline
| airline = 
| image = 
| image_size =
| alt = 
| caption =
| image2 =
| image2-width =
| image2_alt =
| caption2 = 
| IATA = 
| ICAO = 
| callsign = 
| founded = 
| commenced = 
| ceased = 
| aoc = 
| bases = 
| hubs = 
| secondary_hubs = 
| focus_cities = 
| frequent_flyer = 
| alliance = 
| subsidiaries = 
| fleet_size = 
| destinations = 
| parent = 
| traded_as = 
| ISIN = 
| headquarters = 
| key_people = 
| revenue = 
| operating_income = 
| net_income = 
| profit = 
| assets = 
| equity = 
| num_employees = 
| website = 
| notes = 
}}

With comments

X = Template:Wikidata property link character
N = numeric character

Note: If the following is used to create an instance of this template, please remove any of its comments and their tags (i.e. <!-- (comment) -->) that remain.

{{Infobox airline
| airline =           <!-- e.g. BrandName Airlines -->
| image =             <!-- Filename only (e.g. airline_logo.svg) -->
| image_size =        <!-- NNN -->
| alt =               <!-- Describe the logo to a sight-impaired user -->
| caption =           <!-- Caption for the image -->
| image2 =            <!-- Second image if required --> 
| image2-width =      <!-- width in px  -->
| image2_alt =        <!-- Describe the image to a sight-impaired user --> 
| caption2 =          <!-- Caption for the image --> 
| IATA =              <!-- XX -or- XN -or- NX -->
| ICAO =              <!-- XXX -->
| callsign =          <!-- XXXXXXXX -->
| founded =           <!-- {{start date|YYYY|MM|DD}}<br/>{{wikidata property link|City}}, {{wikidata property link|State/Province/etc}}, {{wikidata property link|Country}} -->
| commenced =         <!-- {{start date|YYYY|MM|DD}} -->
| ceased =            <!-- {{end date|YYYY|MM|DD}} -->
| aoc =               <!-- XNXN (alphanumeric pattern varies) -->
| bases = <!-- {{plainlist|
* {{wikidata property link|Airport Name1}}
* {{wikidata property link|Airport Name2}}
(etc)
 }} -->
| hubs = <!-- {{plainlist|
* {{wikidata property link|Airport Name1}}
* {{wikidata property link|Airport Name2}}
(etc)
 }} -->
| secondary_hubs = <!-- {{plainlist|
*{{wikidata property link|Airport Name1}}
*{{wikidata property link|Airport Name2}}
(etc)
 }} -->
| focus_cities = <!-- {{plainlist|
*{{wikidata property link|Airport Name1}}
*{{wikidata property link|Airport Name2}}
(etc)
 }} -->
| frequent_flyer =    <!-- Name of frequent flyer program -->
| alliance =          <!-- Name of multi-airline alliance -->
| subsidiaries = <!-- {{plainlist|
* {{wikidata property link|Subsidiary1}}
* {{wikidata property link|Subsidiary2}}
(etc)
 }} -->
| fleet_size =        <!-- NNN -->
| destinations =      <!-- NNN -->
| parent =            <!-- Parent company's legal name, if applicable -->
| traded_as =         <!-- Exchange name and Stock symbol, if the airline does not have a notable parent company. See {{wikidata property link|Category:Ticker symbol templates}} -->
| ISIN =
| headquarters =      <!-- {{wikidata property link|City}}, {{wikidata property link|State/Province/etc}}, {{wikidata property link|Country}} -->
| key_people = <!-- {{plainlist|
* FirstName1 LastName1 (JobTitle1)
* FirstName2 LastName2 (JobTitle2)
 }} -->
| revenue =           <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] {{wikidata property link|United States Dollar|US$}} XXX million (''FY YYYY'') -->
| operating_income =  <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million (''FY YYYY'') -->
| net_income =        <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million (''FY YYYY'') -->
| profit =            <!-- see {{wikidata property link|Profit (accounting)}} -->
| assets =            <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million (''FY YYYY'') -->
| equity =            <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million (''FY YYYY'') -->
| num_employees =     <!-- NNN -->
| website =           <!-- {{URL|example.com}} -->
| notes = <!-- {{plainlist|
* a. [note/qualification/annotation/etc relating to some data marked by e.g. the suffix {{sup|a}}]
* b. [note/qualification/annotation/etc relating to some data marked by e.g. the suffix {{sup|b}}]
(etc)
 }} -->
}}

Parameters

airline 
The full brand name of the airline.
Examples:
| airline = Southwest Airlines Template:Sans-serif
| airline = JetBlue Airways Template:Sans-serif
When an airline typically uses both an English and a non-English name, format the airline field as:
| airline = [Name of airline in English] <br/> [Name/s of airline in native language/s and/or transliteration/s (newline between each if more than one)]
Examples:
| airline = El Al Israel Airlines <br/> אל על
| airline = China Southern Airlines <br/> 中国南方航空公司 <br/> ''Zhōngguó Nánfāng Hángkōng Gōngsī''

image 
Filename of an image depicting the airline's current logo.
image_size 
To set the image's width (in pixels; default 250px).
alt 
A prose description of the image to aid sight impaired readers using electronic text readers.
caption 
A caption for the image.
image2 
Filename of an image. Possibly an aircraft to demonstrate livery.
image2-width 
To set the image's width (in pixels; default 250px).
image2_alt 
A prose description of the image to aid sight impaired readers using electronic text readers.
caption2 
A caption for the image.

IATA 
The two-character, alphanumeric International Air Transport Association airline designator in capital letters (see Template:Wikidata property link).
ICAO 
The three-letter International Civil Aviation Organization airline designator in numerals and capital letters (see Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q12364233)).
callsign 
The airline's radio call sign in capital letters (see Template:Wikidata property link).

founded 
The date and place the airline was founded, in the form {{start date|YYYY|MM|DD}}<br/>{{wikidata property link|City}}, {{wikidata property link|State/Province/etc}}, {{wikidata property link|Country}}. Month and day can be omitted if unknown.
The founding date is typically the date upon which an airline becomes a legal entity, but not necessarily the date that the airline first offers revenue service to customers.
See Microformat below for information about the importance of using the {{start date}} template in this field.
commenced 
The date the airline commenced operations, in the form {{start date|YYYY|MM|DD}}. Month and day can be omitted if unknown.
This date may or may not be the same as the founding date.
See Microformat below for information about the importance of using the {{start date}} template in this field.
ceased 
The date the airline ceased to exist, in the form {{end date|YYYY|MM|DD}} Month and day can be omitted if unknown.
This date is typically the date an airline ceases to exist as a legal entity due to a business failure (including bankruptcy that halts revenue generating operations) OR the date an airline brand first ceases use due to activities associated with a purchase by or merger with another airline.
See Microformat below for information about the importance of using the {{end date}} template in this field.
aoc 
Canada AOC available at Operator List Search. Template for use available at {{TCAOC}}. United States 14 CFR Part 121 Air Carrier Operator's Certificate number (see FAA Air carrier Operator's Certificate number search).

For more information about the following four parameters, see the Notes section below.

bases 
Operating bases used by the airline, listed alphabetically by airport name, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}} or using {{plainlist}}. This term is primarily used by airlines based in the United Kingdom and is approximately equivalent to "focus city".
hubs 
Major hub airports used by the airline, listed alphabetically by airport name, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}} or using {{plainlist}}, if applicable.
secondary_hubs 
Secondary hub airports used by the airline, listed alphabetically by airport name, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}}or using {{plainlist}}, if applicable.
focus_cities 
Focus city airports used by the airline, listed alphabetically by airport name, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}} or using {{plainlist}}, if applicable.

frequent_flyer 
The name of the airline's frequent flyer program, if applicable.

alliance 
The name of the multi-airline alliance to which the airline belongs, if applicable.
subsidiaries 
Legal names of the airline's major subsidiaries, in the form {{unbulleted list |{{wikidata property link|SubsidiaryName1}} |{{wikidata property link|SubsidiaryName2}}}} or using {{plainlist}}, if applicable.

fleet_size 
The number of aircraft currently in service. Only aircraft in service should be listed hereTemplate:Spndashi.e. no orders, options or aircraft in storage should be included.
destinations 
The number of airport destinations currently served by the airline (former or future destinations should not be included).

parent 
The full legal name of the airline's parent company, if applicable.
traded as 
If applicable, the stock exchange/exchanges where the company is traded, each followed by their stock ticker symbol/symbols for the company (use stock ticker templates where possible; see Category:Ticker symbol templates). Information about the company's status as a component of a major index can also be added. If more than one exchange or symbol is involved, use {{ublist}} to format them.
Examples:
  • {{NYSE|DLB}}
  • {{unbulleted list |{{NASDAQ|MSFT}} |{{SEHK|4338}} |{{wikidata property link|Dow Jones Industrial Average}} component |{{wikidata property link|NASDAQ-100}} component |{{wikidata property link|S&P 500}} component}}
ISIN 
headquarters 
The city, state and country of the airline's headquarters location, in the form {{wikidata property link|City}}, {{wikidata property link|State/Province/etc}}, {{wikidata property link|Country}}.
key_people 
A selection of key executives or airline founders, in the form {{unbulleted list |FirstName1 LastName1 (JobTitle1) |FirstName2 LastName2 (JobTitle2)}} or using {{plainlist}}. For defunct airlines, use key leaders at the time the airline became defunct.

For more information about the following seven finance-related parameters, see the Notes section below.

revenue 
The airline's total income in its most recent fiscal year before any deductions, in the form {{Wikidata property link|United States dollar|US$}} XXX million (''FY YYYY'') where XXX is the revenue in millions and YYYY is the fiscal year from which the data is taken.
operating_income 
The airline's operating income in its most recent fiscal year determined by subtracting operating expenses from revenue, in the form US$ XXX million (''FY YYYY'') where XXX is the revenue in millions and YYYY is the fiscal year from which the data is taken. If the "US$" has not already been linked in revenue, link it here (as shown in revenue above).
net_income 
Profit (or loss) recognized by the airline in the most recent fiscal year, in the form US$ XXX million (''FY YYYY'') where XXX is the revenue in millions and YYYY is the fiscal year from which the data is taken. If the "US$" has not already been linked in revenue or operating_income, link it here (as shown in revenue above).
profit 
See Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q15209696).
assets 
Total monetary value of the airline's assets, in the form US$ XXX million (''FY YYYY'') where XXX is the revenue in millions and YYYY is the fiscal year from which the data is taken. If the "US$" has not already been linked in an earlier finance-related entry, link it here (as shown in revenue above).
equity 
Total equity held in the company, in the form US$ XXX million (''FY YYYY'') where XXX is the revenue in millions and YYYY is the fiscal year from which the data is taken. If the "US$" has not already been linked in an earlier finance-related entry, link it here (as shown in revenue above).

num_employees 
The number of company employees. If the year for this data is known, append it in parentheses, preferably with a reference.

website 
The URL of the airline's primary website, in the form {{URL|example.com}} (see the Microformat section below for information about the importance of using the {{URL}} template in this field.

notes 
For any short notes, qualifications, annotations, etc. pertaining to the infobox data, especially if indicated by e.g. superscripted lowercase letters (see example).

Notes

Revenue, operating income, net income, assets and equity 
You may include an indicator icon to indicate the direction of change compared to the previous fiscal year; to avoid confusion, place the indicator before the number. If no citable information is available for previous fiscal year data, please do not use an icon.
Indicator wikicodes
{{increase}} will display as Increase
{{steady}} will display as Template:Steady
{{decrease}} will display as Decrease
Example: {{increase}} {{USD|324}} million (''FY 2011'') displays as: Increase Template:USD million (FY 2011)
Losses 
A loss is expressed as a negative number in the form {{USD|-128}} million (''FY 2011'') which displays as Template:USD million (FY 2011)
Reports in currencies other than US dollars 
If the airline reports financial data in currency other than United States dollars, please substitute the appropriate currency indicator in place of {{US$}} or {{USD}} or US$.
For example, use {{CAD}} or CA$; {{Euro}} or €; {{GBP}} or GB£; etc.
Please report dollar figures in the infobox consistently
Use rounded millions or exact figures. Please avoid mixing styles.
Examples of rounded millions:
US$11,276 million (''FY 2011'')
US$324 million (''FY 2011'')
US$0.870 million (''FY 2011'')
Examples of exact figures:
US$11,276,367,880 (''FY 2011'')
US$324,008,131 (''FY 2011'')
US$870,218 (''FY 2011'')
Bases, hubs, secondary hubs, focus cities 
Where the total number of bases, hubs, secondary hubs and/ or focus cities for an airline is 10 or greater and listing all of them results in an excessively long infobox which disrupts the formatting of the rest of the article, consideration should be given to using collapsible lists for this section, for example, at Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q191551) and Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q170614).

Example

The data in the example below is not necessarily factually accurate and is for demonstration purposes only.

Air Canada
Script error: No such module "If empty".
IATA ICAO Callsign
AC ACA AIR CANADA
Founded11 April 1936 (1936-04-11) as Template:Wikidata property link
Commenced operations1 January 1965 as Air Canada
Ceased operationsScript error: No such module "If empty".
Hubs
Focus cities
Frequent-flyer programTemplate:Wikidata property link
AllianceTemplate:Wikidata property link
Subsidiaries(All operating divisions:)
Fleet size192
Destinations178Template:Padlsup
HeadquartersTemplate:Wikidata property link, Template:Wikidata property link, Template:Wikidata property link
Key people
RevenueIncrease Template:Wikidata property link 12.12 billion (2012)
Operating incomeIncrease CAN$ 437 million (2012)
Net incomeIncrease CAN$ 131 million (2012)
Total assetsDecrease CAN$ 9.060 billion (2012)
Total equityIncrease CAN$ -3.406 billion (2012)
Employees27,000 (2012)
WebsiteTemplate:URL
Notes
  • a. Scheduled to commence 1 July 2013.
  • b. Excluding subsidiaries.
{{Infobox airline
| airline = Air Canada
| image = Air Canada Logo.svg
| image_size = <!--(default is:)--> 250px
| IATA = AC
| ICAO = ACA
| callsign = AIR CANADA
| founded = {{start date|df=yes|1936|4|11}} as ''{{wikidata property link|Trans-Canada Air Lines}}''
| commenced = 1 January 1965 as Air Canada
| hubs = {{plainlist|
<!-- Note: Hubs should be listed alphabetically, not by size -->
* {{wikidata property link|Calgary International Airport}}
* {{wikidata property link|Montréal-Pierre Elliott Trudeau International Airport}}
* {{wikidata property link|Toronto Pearson International Airport}}
* {{wikidata property link|Vancouver International Airport}}
 }}
| focus_cities = {{plainlist|
<!--(Alphabetically:)-->
* {{wikidata property link|Edmonton International Airport}}
* {{wikidata property link|Halifax Stanfield International Airport}}
* {{wikidata property link|London Heathrow Airport}}
* {{nowrap|{{wikidata property link|Ottawa Macdonald-Cartier International Airport}}}}
* {{wikidata property link|Winnipeg James Armstrong Richardson International Airport}}
 }}
| frequent_flyer = {{wikidata property link|Aeroplan}}
| alliance = {{wikidata property link|Star Alliance}}
| subsidiaries = (All operating divisions:) {{plainlist|
* {{wikidata property link|Air Canada Cargo}}
* {{wikidata property link|Air Canada Express}}
* {{wikidata property link|Air Canada Jetz}}
* {{wikidata property link|Air Canada rouge}}{{padlsup|a}}
 }}
| fleet_size = 192
| destinations = 178{{padlsup|b}}
| headquarters = {{wikidata property link|Montréal}}, {{wikidata property link|Quebec}}, {{wikidata property link|Canada}}
| key_people = {{plainlist|
* David I. Richardson ({{wikidata property link|chairman}})
* Calin Rovinescu ({{wikidata property link|President (corporate title)|president}}, {{wikidata property link|CEO}})
 }}
| revenue = {{nowrap|{{increase}} {{wikidata property link|Canadian dollar|CAN$}} 12.12 billion (2012)}}
| operating_income = {{nowrap|{{increase}} CAN$ 437 million (2012)}}
| net_income = {{nowrap|{{increase}} CAN$ 131 million (2012)}}
| assets = {{nowrap|{{decrease}} CAN$ 9.060 billion (2012)}}
| equity = {{nowrap|{{increase}} CAN$ -3.406 billion (2012)}}
| num_employees    = 27,000 (2012)
| website = {{URL |1=http://www.aircanada.com/en/ |2=aircanada.com}}
| notes = {{plainlist|
* a. Scheduled to commence 1 July 2013.
* b. Excluding subsidiaries.
 }}
}}

Tracking categories

Microformat

Template:UF-hcard-org

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for Infobox airline

{{Infobox airline}} is intended for use at the start of articles about airlines and is designed to present a summary of an airline's key aspects

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Airline nameairline

The full brand name of the airline

Example
Southwest Airlines
Unknownrequired
Logoimage logo

Filename of an image depicting the airline's current logo

Example
Delta logo.svg
Unknownsuggested
Image size (px)image_size logo_size

Desired image width in pixels

Default
250px
Example
500px
Unknownoptional
Altalt

A prose description of the image to aid sight impaired readers using electronic text readers.

Stringoptional
Image captioncaption

A caption for the image

Example
American Airlines logo
Unknownoptional
IATA DesignatorIATA

The two-character, alphanumeric International Air Transport Association airline designator in capital letters

Example
UA
Stringrequired
ICAO DesignatorICAO

The three-letter International Civil Aviation Organization airline designator in numerals and capital letters

Example
UAL
Unknownrequired
Callsigncallsign

The airline's radio call sign in capital letters

Example
UNITED
Unknownrequired
Foundedfounded

The date and place the airline was founded, in the form {{start date|YYYY|MM|DD}}<br/>{{wikidata property link|City}}, {{wikidata property link|State/Province/etc}}, {{wikidata property link|Country}}. Month and day can be omitted if unknown. The founding date is typically the date upon which an airline becomes a legal entity, but not necessarily the date that the airline first offers revenue service to customers.

Dateoptional
Commenced operationscommenced

The date the airline commenced operations, in the form {{start date|YYYY|MM|DD}}. Month and day can be omitted if unknown. This date may or may not be the same as the founding date.

Dateoptional
Ceased operationsceased defunct

The date the airline ceased to exist, in the form {{end date|YYYY|MM|DD}} Month and day can be omitted if unknown. This date is typically the date an airline ceases to exist as a legal entity due to a business failure (including bankruptcy that halts revenue generating operations) OR the date an airline brand first ceases use due to activities associated with a purchase by or merger with another airline.

Dateoptional
Air Carrier Operator's Certificate # (AOC)aoc

United States 14 CFR Part 121 Air Carrier Operator's Certificate number

Example
YENA176J
Unknownsuggested
Operating basesbases

Operating bases used by the airline, listed alphabetically by airport name, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}} or using {{plainlist}}. This term is primarily used by airlines based in the United Kingdom and is approximately equivalent to "focus city".

Templateoptional
Major hubshubs

Major hub airports used by the airline, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}}

Example
{{unbulleted list |{{wikidata property link|John F. Kennedy International Airport}} |{{wikidata property link|Los Angeles International Airport}}}}
Templatesuggested
Secondary hubssecondary_hubs

Secondary hub airports used by the airline, listed alphabetically by airport name, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}} or using {{plainlist}}, if applicable.

Templateoptional
Focus Citiesfocus_cities

Focus city airports used by the airline, in the form {{unbulleted list |{{wikidata property link|Airport Name1}} |{{wikidata property link|Airport Name2}}}}

Example
{{unbulleted list |{{wikidata property link|Dallas/Fort Worth International Airport}} |{{wikidata property link|Houston Intercontinental Airoprt}}}}
Templatesuggested
Frequent Flyer Programfrequent_flyer

The name of the airline's frequent flyer program

Example
AAdvantage
Unknownsuggested
Airline Alliancealliance

The name of the multi-airline alliance to which the airline belongs

Example
Star Alliance
Unknownoptional
Subsidiariessubsidiaries

Legal names of the airline's major subsidiaries, in the form {{unbulleted list |{{wikidata property link|SubsidiaryName1}} |{{wikidata property link|SubsidiaryName2}}}} or using {{plainlist}}, if applicable.

Templateoptional
Current Fleet Sizefleet_size

The number of aircraft currently in service

Example
652
Numbersuggested
Number of Destinationsdestinations

The number of airport destinations currently served by the airline

Example
99
Numbersuggested
Parent Companyparent

The full legal name of the airline's parent company

Example
United Continental Holdings
Unknownsuggested
Traded astraded_as

If applicable, the stock exchange/exchanges where the company is traded, each followed by their stock ticker symbol/symbols for the company (use stock ticker templates where possible; see Category:Ticker symbol templates). Information about the company's status as a component of a major index can also be added. If more than one exchange or symbol is involved, use {{unbulleted list}} to format them.

Example
{{NYSE|DLB}} {{unbulleted list |{{NASDAQ|MSFT}} |{{SEHK|4338}} |{{wikidata property link|Dow Jones Industrial Average}} component |{{wikidata property link|NASDAQ-100}} component |{{wikidata property link|S&P 500}} component}}
Templateoptional
International Securities Identification NumberISIN

no description

Stringoptional
Headquartersheadquarters

The city, state and country of the airline's headquarters location, in the form {{wikidata property link|City}}, {{wikidata property link|State/Province/etc}}, {{wikidata property link|Country}}.

Unknownoptional
Key Peoplekey_people

A selection of key executives or airline founders, in the form {{unbulleted list |FirstName1 LastName1 (JobTitle1) |FirstName2 LastName2 (JobTitle2)}} or using {{plainlist}}. For defunct airlines, use key leaders at the time the airline became defunct.

Unknownoptional
Revenuerevenue

no description

Unknownoptional
Operating_incomeoperating_income

no description

Unknownoptional
Net_incomenet_income

no description

Unknownoptional
Profitprofit

no description

Unknownoptional
Equityequity

no description

Unknownoptional
Assetsassets

no description

Unknownoptional
Number of Employeesnum_employees

The number of company employees

Example
35,000
Numbersuggested
Image2image2

no description

Unknownoptional
Image2-widthimage2-width

no description

Unknownoptional
Image2_altimage2_alt

no description

Unknownoptional
Caption2caption2

no description

Unknownoptional
Websitewebsite

no description

Unknownoptional
Notesnotes

no description

Unknownoptional