Template:Airport codes

Documentation icon Template documentation[view] [edit] [history] [purge]

This template 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.

Usage

'''Glasgow International Airport''' {{Airport codes|GLA|EGPF}} is ...

Glasgow International Airport (IATA: GLAICAO: EGPF) is ...


'''Emmonak Airport''' {{Airport codes|EMK|PAEM|ENM}} is ...

Emmonak Airport (IATA: EMKICAO: PAEMFAA 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 ...

Parameters

The template has five 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

Formatting test

This section shows the formatting of different combinations of codes.

One code

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

{{Airport codes||BBBB}}: (ICAO: BBBB)

{{Airport codes|||CCC}}: (FAA LID: CCC)

{{Airport codes||||DDDD}}: (TC LID: DDDD)

{{Airport codes|||||EEEE}}: (GPS code: EEEE)

Two codes

{{Airport codes|AAA|BBBB}}: (IATA: AAAICAO: BBBB)

{{Airport codes|AAA||CCC}}: (IATA: AAAFAA LID: CCC)

{{Airport codes|AAA|||DDDD}}: (IATA: AAATC LID: DDDD)

{{Airport codes|AAA||||EEEE}}: (IATA: AAAGPS code: EEEE)

{{Airport codes||BBBB|CCC}}: (ICAO: BBBBFAA LID: CCC)

{{Airport codes||BBBB||DDDD}}: (ICAO: BBBBTC LID: DDDD)

{{Airport codes||BBBB|||EEEE}}: (ICAO: BBBBGPS code: EEEE)

{{Airport codes|||CCC|DDDD}}: (FAA LID: CCCTC LID: DDDD)

{{Airport codes|||CCC||EEEE}}: (FAA LID: CCCGPS code: EEEE)

{{Airport codes||||DDDD|EEEE}}: (TC LID: DDDDGPS code: EEEE)

Three codes

{{Airport codes|AAA|BBBB|CCC}}: (IATA: AAAICAO: BBBBFAA LID: CCC)

{{Airport codes|AAA|BBBB||DDDD}}: (IATA: AAAICAO: BBBBTC LID: DDDD)

{{Airport codes|AAA|BBBB|||EEEE}}: (IATA: AAAICAO: BBBBGPS code: EEEE)

{{Airport codes||BBBB|CCC|DDDD}}: (ICAO: BBBBFAA LID: CCCTC LID: DDDD)

{{Airport codes||BBBB|CCC||EEEE}}: (ICAO: BBBBFAA LID: CCCGPS code: EEEE)

{{Airport codes|||CCC|DDDD|EEEE}}: (FAA LID: CCCTC LID: DDDDGPS code: EEEE)

Four codes

{{Airport codes|AAA|BBBB|CCC|DDDD}}: (IATA: AAAICAO: BBBBFAA LID: CCCTC LID: DDDD)

{{Airport codes|AAA|BBBB|CCC||EEEE}}: (IATA: AAAICAO: BBBBFAA LID: CCCGPS code: EEEE)

{{Airport codes|AAA|BBBB||DDDD|EEEE}}: (IATA: AAAICAO: BBBBTC LID: DDDDGPS code: EEEE)

{{Airport codes|AAA||CCC|DDDD|EEEE}}: (IATA: AAAFAA LID: CCCTC LID: DDDDGPS code: EEEE)

{{Airport codes||BBBB|CCC|DDDD|EEEE}}: (ICAO: BBBBFAA LID: CCCTC LID: DDDDGPS code: EEEE)

Five codes

{{Airport codes|AAA|BBBB|CCC|DDDD|EEEE}}: (IATA: AAAICAO: BBBBFAA LID: CCCTC LID: DDDDGPS code: EEEE)