Template:Infobox airline/doc: Difference between revisions

From The Democratikan Wiki
(Update documentation)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:19, 15 February 2024

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

{{{airline}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
IATA ICAO Callsign
{{{IATA}}} {{{ICAO}}} {{{callsign}}}
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}}}
Parent company{{{parent}}}
Traded as{{{traded_as}}}
ISIN{{{ISIN}}}
Headquarters{{{headquarters}}}
Key people{{{key_people}}}
Founders{{{founders}}}
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}}}

<syntaxhighlight lang="wikitext" style="overflow:auto;"> </syntaxhighlight>

With comments

X = (PALPHANUMERIC) 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.

<syntaxhighlight lang="wikitext" style="overflow:auto;"> </syntaxhighlight>

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ī''

logo
Filename of the logo.
logo_size
To set the logo's width.
logo_alt
A prose description of the image to aid sight impaired readers using electronic text readers.
logo_caption
The caption for the logo.
logo_upright
The upright parameter of the logo.
image
Filename of an image depicting the airline's current logo.
image_size
To set the image's width.
image_upright
The upright parameter of the image.
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 (P229)).
ICAO
The three-letter International Civil Aviation Organization airline designator in numerals and capital letters (see Lua error in Module:Wd at line 621: attempt to index field 'wikibase' (a nil value). (Q12364233)).
callsign
The airline's radio call sign in capital letters (see (P432)).

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 | CityName1, linked to airport page | CityName2, linked to airport page}} or using {{plainlist}}, if applicable.
hubs
Major hub airports used by the airline, listed alphabetically by airport name, in the form {{unbulleted list | CityName1, linked to airport page | CityName2, linked to airport page}} or using {{plainlist}}, if applicable.
secondary_hubs
Secondary hub airports used by the airline, listed alphabetically by airport name, in the form {{unbulleted list | CityName1, linked to airport page | CityName2, linked to airport page}} or using {{plainlist}}, if applicable.
focus_cities
Focus city airports used by the airline, listed alphabetically by airport name, in the form {{unbulleted list | CityName1, linked to airport page | CityName2, linked to airport page}} 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 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).

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 621: 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 Steady
{{decrease}} will display as Decrease
Example: {{increase}} {{USD|324}} million (''FY 2011'') displays as: Increase US$324 million (FY 2011)
Losses
A loss is expressed as a negative number in the form {{USD|-128}} million (''FY 2011'') 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 {{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 621: attempt to index field 'wikibase' (a nil value). (Q191551) and Lua error in Module:Wd at line 621: 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
File:Air Canada Logo.svg
IATA ICAO Callsign
AC ACA AIR CANADA
Founded11 April 1936 (1936-04-11) as (PTRANS-CANADA AIR LINES)
Commenced operations1 January 1965 as Air Canada
Hubs
Focus cities
Frequent-flyer program (PAEROPLAN)
Alliance (PSTAR ALLIANCE)
Subsidiaries(All operating divisions:)
Fleet size192
Destinations178b
Headquarters (PMONTRÉAL), (PQUEBEC), (PCANADA)
Key people
RevenueIncrease (PCANADIAN DOLLAR) 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)
Websiteaircanada.com
Notes
  • a. Scheduled to commence 1 July 2013.
  • b. Excluding subsidiaries.

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Air Canada
File:Air Canada Logo.svg
IATA ICAO Callsign
AC ACA AIR CANADA
Founded11 April 1936 (1936-04-11) as (PTRANS-CANADA AIR LINES)
Commenced operations1 January 1965 as Air Canada
Hubs
Focus cities
Frequent-flyer program (PAEROPLAN)
Alliance (PSTAR ALLIANCE)
Subsidiaries(All operating divisions:)
Fleet size192
Destinations178b
Headquarters (PMONTRÉAL), (PQUEBEC), (PCANADA)
Key people
RevenueIncrease (PCANADIAN DOLLAR) 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)
Websiteaircanada.com
Notes
  • a. Scheduled to commence 1 July 2013.
  • b. Excluding subsidiaries.

</syntaxhighlight>

Tracking categories

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

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
Please do not rename or remove these classes
nor collapse nested elements which use them.

TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox airline in articles based on its TemplateData.

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
Logologo

Filename of an image depicting the airline's current logo

Example
Delta logo.svg
Filesuggested
Logo alt textlogo_alt

An unformatted, prose description of the image to aid sight impaired readers using electronic text readers.

Stringoptional
Logo uprightlogo_upright

Upright parameter for the image

Example
1.5
Numberoptional
Logo captionlogo_caption

A caption for the logo

Example
American Airlines logo
Stringoptional
Logo size (px)logo_size

Desired image width in pixels

Example
500px
Unknownoptional
Imageimage

An image representing the airline

Filesuggested
Altalt

Alt text for the image

Stringoptional
Captioncaption

Caption for the image

Stringoptional
Image uprightimage_upright

Upright parameter for the image

Example
1.5
Numberoptional
Image size (px)image_size

Overrides the size of the image

Example
200px
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
Founders (plural)founders

Use this parameter for multiple founders. Takes precedence over "founder" (singular)

Example
{{plainlist|Jane Doe|John Smith}}
Lineoptional
Founder (singular)founder

Use this for a single founder. Over-ridden by "founders" (plural)

Example
John Smith
Lineoptional
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
websitewebsite

no description

Unknownoptional
notesnotes

no description

Unknownoptional
CDDCDD

no description

Unknownoptional

(PCATEGORY:WIKIPROJECT AVIATION TEMPLATE INSTRUCTIONS)