Template:Airport codes/doc

From imedwiki
< Template:Airport codes
Jump to navigation Jump to search

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

The template requires at least one unnamed parameter.

Code: {{Airport codes|AAA}}
Result: (IATA: AAA)

The template accepts six unnamed parameters:

  1. IATA airport code
  2. ICAO airport code
  3. Federal Aviation Administration location identifier (for airports in the United States)
  4. Transport Canada location identifier (for airports in Canada)
  5. GPS code
  6. Civil Aviation Administration of China location identifier (for airports in China)

Using |p=n after the last airport code will remove the parentheses.

Examples

'''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 (Template:Lang-de, IATA: BRE, ICAO: EDDW) is ...

Formatting test

This section shows the formatting of different combinations of codes. Template:Airport codes/examples

External links

Media related to Template:Airport codes at Wikimedia Commons


This template is based (in parts) on the Template:Airport codes/doc from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.