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").

The template requires at least one unnamed parameter.

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

The template accepts 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

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

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


'''Bremen Airport''' ({{Lang-de|Flughafen Bremen}}, {{Airport codes|BRE|EDDW|p=n}}) is ...

Bremen Airport (जर्मन: Flughafen Bremen, IATA: BREICAO: EDDW) is ...

This section shows the formatting of different combinations of codes.

One code
  • {{Airport codes|AAA}}: (IATA: AAA)
  • {{Airport codes|AAA|p=n}}: IATA: AAA
  • {{Airport codes||BBBB}}: (ICAO: BBBB)
  • {{Airport codes||BBBB|p=n}}: ICAO: BBBB
  • {{Airport codes|||CCC}}: (FAA LID: CCC)
  • {{Airport codes|||CCC|p=n}}: FAA LID: CCC
  • {{Airport codes||||DDDD}}: (TC LID: DDDD)
  • {{Airport codes||||DDDD|p=n}}: TC LID: DDDD
  • {{Airport codes|||||EEEE}}: (GPS code: EEEE)
Two codes
  • {{Airport codes|AAA|BBBB}}: (IATA: AAAICAO: BBBB)
  • {{Airport codes|AAA|BBBB|p=n}}: IATA: AAAICAO: BBBB
  • {{Airport codes|AAA||CCC}}: (IATA: AAAFAA LID: CCC)
  • {{Airport codes|AAA||CCC|p=n}}: IATA: AAAFAA LID: CCC
  • {{Airport codes|AAA|||DDDD}}: (IATA: AAATC LID: DDDD)
  • {{Airport codes|AAA|||DDDD|p=n}}: IATA: AAATC LID: DDDD
  • {{Airport codes|AAA||||EEEE}}: (IATA: AAAGPS code: EEEE)
  • {{Airport codes||BBBB|CCC}}: (ICAO: BBBBFAA LID: CCC)
  • {{Airport codes||BBBB|CCC|p=n}}: ICAO: BBBBFAA LID: CCC
  • {{Airport codes||BBBB||DDDD}}: (ICAO: BBBBTC LID: DDDD)
  • {{Airport codes||BBBB||DDDD|p=n}}: ICAO: BBBBTC LID: DDDD
  • {{Airport codes||BBBB|||EEEE}}: (ICAO: BBBBGPS code: EEEE)
  • {{Airport codes|||CCC|DDDD}}: (FAA LID: CCCTC LID: DDDD)
  • {{Airport codes|||CCC|DDDD|p=n}}: 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|CCC|p=n}}: IATA: AAAICAO: BBBBFAA LID: CCC
  • {{Airport codes|AAA|BBBB||DDDD}}: (IATA: AAAICAO: BBBBTC LID: DDDD)
  • {{Airport codes|AAA|BBBB||DDDD|p=n}}: 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|DDDD|p=n}}: 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|DDDD|p=n}}: 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)

विकिमीडिया कॉमन्स पर Template:Airport codes से संबंधित मीडिया