Template:Infobox airline/doc: Difference between revisions
en>Zyxw m (→TemplateData: update TemplateData header) |
m (1 revision imported) |
Latest revision as of 13:45, 9 February 2019
This is a documentation subpage for Template:Infobox airline. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 4,400 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
This template uses Lua: |
{{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
[[File:{{{image}}}|{{{image_size}}} |alt={{{alt}}}]] | |||||||
| |||||||
Founded | {{{founded}}} | ||||||
---|---|---|---|---|---|---|---|
Commenced operations | {{{commenced}}} | ||||||
Ceased operations | {{{ceased}}} | ||||||
AOC # | {{{aoc}}} | ||||||
Operating bases | {{{bases}}} | ||||||
Hubs | {{{hubs}}} | ||||||
Secondary hubs | {{{secondary_hubs}}} | ||||||
Focus cities | {{{focus_cities}}} | ||||||
Frequent-flyer program | {{{frequent_flyer}}} | ||||||
Alliance | {{{alliance}}} | ||||||
Subsidiaries | {{{subsidiaries}}} | ||||||
Fleet size | {{{fleet_size}}} | ||||||
Destinations | {{{destinations}}} | ||||||
Company slogan | {{{company_slogan}}} | ||||||
Parent company | {{{parent}}} | ||||||
Traded as | {{{traded_as}}} | ||||||
ISIN | {{{ISIN}}} | ||||||
Headquarters | {{{headquarters}}} | ||||||
Key people | {{{key_people}}} | ||||||
Revenue | {{{revenue}}} | ||||||
Operating income | {{{operating_income}}} | ||||||
Net income | {{{net_income}}} | ||||||
Profit | {{{profit}}} | ||||||
Total assets | {{{assets}}} | ||||||
Total equity | {{{equity}}} | ||||||
Employees | {{{num_employees}}} | ||||||
Website | {{{website}}} | ||||||
Notes | |||||||
{{{notes}}} |
{{Infobox airline | airline = | image = | image_size = | alt = | caption = | IATA = | ICAO = | callsign = | founded = | commenced = | ceased = | aoc = | bases = | hubs = | secondary_hubs = | focus_cities = | frequent_flyer = | alliance = | subsidiaries = | fleet_size = | destinations = | company_slogan = | parent = | traded_as = | ISIN = | headquarters = | key_people = | revenue = | operating_income = | net_income = | profit = | assets = | equity = | num_employees = | website = | notes = }}
With comments
X
= alphanumeric characterN
= 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 --> | IATA = <!-- XX -or- XN -or- NX --> | ICAO = <!-- XXX --> | callsign = <!-- XXXXXXXX --> | founded = <!-- {{start date|YYYY|MM|DD}}<br/>{{wpl|City}}, {{wpl|State/Province/etc}}, {{wpl|Country}} --> | commenced = <!-- {{start date|YYYY|MM|DD}} --> | ceased = <!-- {{end date|YYYY|MM|DD}} --> | aoc = <!-- XNXN (alphanumeric pattern varies) --> | bases = <!-- {{plainlist| * {{wpl|Airport Name1}} * {{wpl|Airport Name2}} (etc) }} --> | hubs = <!-- {{plainlist| * {{wpl|Airport Name1}} * {{wpl|Airport Name2}} (etc) }} --> | secondary_hubs = <!-- {{plainlist| *{{wpl|Airport Name1}} *{{wpl|Airport Name2}} (etc) }} --> | focus_cities = <!-- {{plainlist| *{{wpl|Airport Name1}} *{{wpl|Airport Name2}} (etc) }} --> | frequent_flyer = <!-- Name of frequent flyer program --> | alliance = <!-- Name of multi-airline alliance --> | subsidiaries = <!-- {{plainlist| * {{wpl|Subsidiary1}} * {{wpl|Subsidiary2}} (etc) }} --> | fleet_size = <!-- NNN --> | destinations = <!-- NNN --> | company_slogan = <!-- Insert company marketing slogan --> | 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 {{wpl|Category:Ticker symbol templates}} --> | ISIN = | headquarters = <!-- {{wpl|City}}, {{wpl|State/Province/etc}}, {{wpl|Country}} --> | key_people = <!-- {{plainlist| * FirstName1 LastName1 {{smaller|(JobTitle1)}} * FirstName2 LastName2 {{smaller|(JobTitle2)}} }} --> | revenue = <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] {{wpl|United States Dollar|US$}} XXX million {{smaller|(''FY YYYY'')}} --> | operating_income = <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million {{smaller|(''FY YYYY'')}} --> | net_income = <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million {{smaller|(''FY YYYY'')}} --> | profit = <!-- see {{wpl|Profit (accounting)}} --> | assets = <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million {{smaller|(''FY YYYY'')}} --> | equity = <!-- {{increase}}/{{decrease}}/{{steady}} [compared to previous year] US$ XXX million {{smaller|(''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 (not "Southwest" or "Southwest Airlines Co.")
- | airline = JetBlue Airways (not "JetBlue" or "JetBlue Airways Corporation")
- 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.
- IATA
- The two-character, alphanumeric International Air Transport Association airline designator in capital letters (see Airline codes).
- ICAO
- The three-letter International Civil Aviation Organization airline designator in numerals and capital letters (see Airline codes).
- callsign
- The airline's radio call sign in capital letters (see Airline codes).
- founded
- The date and place the airline was founded, in the form {{start date|YYYY|MM|DD}}<br/>{{wpl|City}}, {{wpl|State/Province/etc}}, {{wpl|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
- 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 |{{wpl|Airport Name1}} |{{wpl|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 |{{wpl|Airport Name1}} |{{wpl|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 |{{wpl|Airport Name1}} |{{wpl|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 |{{wpl|Airport Name1}} |{{wpl|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 |{{wpl|SubsidiaryName1}} |{{wpl|SubsidiaryName2}}}} or using {{plainlist}}, if applicable.
- fleet_size
- The number of aircraft currently in service. Only aircraft in service should be listed here – i.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).
- company_slogan
- The airline's current marketing slogan. Place within speech/double quotemarks.
- 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}}
- {{ublist |{{NASDAQ|MSFT}} |{{SEHK|4338}} |{{wpl|Dow Jones Industrial Average}} component |{{wpl|NASDAQ-100}} component |{{wpl|S&P 500}} component}}
- ISIN
- headquarters
- The city, state and country of the airline's headquarters location, in the form {{wpl|City}}, {{wpl|State/Province/etc}}, {{wpl|Country}}.
- key_people
- A selection of key executives or airline founders, in the form {{unbulleted list |FirstName1 LastName1 {{smaller|(JobTitle1)}} |FirstName2 LastName2 {{smaller|(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 {{wpl|United States dollar|US$}} XXX million {{smaller|(''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 {{smaller|(''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 {{smaller|(''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 Profit (accounting).
- assets
- Total monetary value of the airline's assets, in the form US$ XXX million {{smaller|(''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 {{smaller|(''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
erence.
- 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.
- Losses
- A loss is expressed as a negative number in the form
{{wpl|United States dollar|US$}}-128 million <small>(''FY 2011'')</small>
which displays as US$-128 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
{{wpl|United States Dollar|US$}}
Use{{wpl|Canadian Dollar|C$}}
,{{wpl|Euro|€}}
,{{wpl|Pound sterling|£}}
, etc.
- Please report dollar figures in the infobox consistently
- Use rounded millions or exact figures. Please avoid mixing styles.
- Examples of rounded millions:
{{wpl|United States dollar|US$}}11,276 million <small>(''FY 2011'')</small>
{{wpl|United States dollar|US$}}324 million <small>(''FY 2011'')</small>
{{wpl|United States dollar|US$}}.870 million <small>(''FY 2011'')</small>
- Examples of exact figures:
{{wpl|United States dollar|US$}}11,276,367,880 <small>(''FY 2011'')</small>
{{wpl|United States dollar|US$}}324,008,131 <small>(''FY 2011'')</small>
{{wpl|United States dollar|US$}}870,218 <small>(''FY 2011'')</small>
- Examples of rounded millions:
- 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 EasyJet and Ryanair.
Example
The data in the example below is not necessarily factually accurate and is for demonstration purposes only.
| |||||||
Founded | 11 April 1936Trans-Canada Air Lines | as||||||
---|---|---|---|---|---|---|---|
Commenced operations | 1 January 1965 as Air Canada | ||||||
Hubs | |||||||
Focus cities | |||||||
Frequent-flyer program | Aeroplan | ||||||
Alliance | Star Alliance | ||||||
Subsidiaries | (All operating divisions:) | ||||||
Fleet size | 192 | ||||||
Destinations | 178b | ||||||
Company slogan | "GO FAR" | ||||||
Headquarters | Montréal, Quebec, Canada | ||||||
Key people | |||||||
Revenue | CAN$ 12.12 billion (2012) | ||||||
Operating income | CAN$ 437 million (2012) | ||||||
Net income | CAN$ 131 million (2012) | ||||||
Total assets | CAN$ 9.060 billion (2012) | ||||||
Total equity | CAN$ -3.406 billion (2012) | ||||||
Employees | 27,000 (2012) | ||||||
Website | aircanada.com | ||||||
Notes | |||||||
|
{{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 ''{{wpl|Trans-Canada Air Lines}}'' | commenced = 1 January 1965 as Air Canada | hubs = {{plainlist| <!-- Note: Hubs should be listed alphabetically, not by size --> * {{wpl|Calgary International Airport}} * {{wpl|Montréal-Pierre Elliott Trudeau International Airport}} * {{wpl|Toronto Pearson International Airport}} * {{wpl|Vancouver International Airport}} }} | focus_cities = {{plainlist| <!--(Alphabetically:)--> * {{wpl|Edmonton International Airport}} * {{wpl|Halifax Stanfield International Airport}} * {{wpl|London Heathrow Airport}} * {{nowrap|{{wpl|Ottawa Macdonald-Cartier International Airport}}}} * {{wpl|Winnipeg James Armstrong Richardson International Airport}} }} | frequent_flyer = {{wpl|Aeroplan}} | alliance = {{wpl|Star Alliance}} | subsidiaries = (All operating divisions:) {{plainlist| * {{wpl|Air Canada Cargo}} * {{wpl|Air Canada Express}} * {{wpl|Air Canada Jetz}} * {{wpl|Air Canada rouge}}{{padlsup|a}} }} | fleet_size = 192 | destinations = 178{{padlsup|b}} | company_slogan = "GO FAR" | headquarters = {{wpl|Montréal}}, {{wpl|Quebec}}, {{wpl|Canada}} | key_people = {{plainlist| * David I. Richardson {{smaller|({{wpl|Chairman}})}} * Calin Rovinescu {{smaller|({{wpl|President (corporate title)|President}}, {{wpl|CEO}})}} }} | revenue = {{nowrap|{{increase}} {{wpl|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 category
Microformat
The HTML mark-up produced by this template includes an hCard microformat that makes an organization's details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Subtemplates
- Use {{Start date and age}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, unless that date is before 1583 CE.
- Use {{URL}} for an organisation's URL.
Please do not remove instances of these subtemplates.
- Classes used
The HTML classes of this microformat include:
- adr
- agent
- category
- country-name
- extended-address
- fn
- geo
- label
- latitude
- locality
- longitude
- nickname
- note
- org
- region
- street-address
- url
- vcard
nor collapse nested elements which use them.
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
|