Tɛmplet:Airport codes/doc
This is a documentation subpage for Tɛmplet:Airport codes. It contains usage information, categories and other content that is not part of the original tɛmplet page. |
This template is used on approximately 15,000 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. |
Template:Airport codes is used to display an airport's location identifiers or "airport codes". It is usually included in the first paragraph of an airport article, immediately following the airport's name.
Note: This template can be used even if the airport codes are displayed via {{Infobox airport}} (as per Help:Infobox#What infoboxes do, an infobox should "summarize material from an article—the information should still be present in the main text").
Usage
[mali mi di yibu sheena n-niŋ]The template requires at least one unnamed parameter.
Code: | {{Airport codes|AAA}} |
---|---|
Result: | (IATA: AAA) |
The template accepts six unnamed parameters:
- IATA airport code
- ICAO airport code
- Federal Aviation Administration location identifier (for airports in the United States)
- Transport Canada location identifier (for airports in Canada)
- GPS code
- Civil Aviation Administration of China location identifier (for airports in China)
Using |p=n
after the last airport code will remove the parentheses.
Examples
[mali mi di yibu sheena n-niŋ]'''Glasgow International Airport''' {{Airport codes|GLA|EGPF}} is ...
Glasgow International Airport (IATA: GLA, ICAO: EGPF) is ...
'''Emmonak Airport''' {{Airport codes|EMK|PAEM|ENM}} is ...
Emmonak Airport (IATA: EMK, ICAO: PAEM, FAA LID: ENM) is ...
'''Grand Canyon West Airport''' {{Airport codes|||1G4}} is ...
Grand Canyon West Airport (FAA LID: 1G4) is ...
'''Acme Airport''' {{Airport codes||||CEG2}} is ...
Acme Airport (TC LID: CEG2) is ...
'''Bremen Airport''' ({{Lang-de|Flughafen Bremen}}, {{Airport codes|BRE|EDDW|p=n}}) is ...
Bremen Airport (Tɛmplet:Lang-de, IATA: BRE, ICAO: EDDW) is ...
Formatting test
[mali mi di yibu sheena n-niŋ]This section shows the formatting of different combinations of codes. Tɛmplet:Airport codes/examples