Template:IATA

From Wikivoyage
Jump to: navigation, search

{{{1}}} IATA

[view] [edit] [history] [purge] Template-info.svg Template documentation

To use this template, insert the code {{IATA| <IATA code> }}, replacing <IATA code> with the three letter code for the airport. See w:International Air Transport Association airport code#List for a list of airports by IATA code; or, see the airport's Wikipedia page, and the IATA code should be in the infobox.

For example, {{IATA|LAX}} produces LAX IATA, for Los Angeles International Airport.

ICAO codes are not really used in Wikivoyage, there is a discussion about their use here.

This template produces the emboldened three-character airport code and, if a redirect of the code exists, a link to details of the airport together with an inline link to the Wikipedia article on "International Air Transport Association airport code"s that is only signalled by the blue colour and not with the little "upwards and to the right" arrow widget that usually signals an external hyperlink. The template is in the format {{IATA|airportcode}}, enclosed in double-braces, bar-separated. For example, {{IATA|LAX}} for LAX, Los Angeles International Aiport. US48/Canada IATA codes are usually similar to ICAO codes (which have a preceding K indicating US mainland, C indicating Canada); IATA vs ICAO codes for other countries are not similar. IATA codes are scheduled to be replaced by ICAO codes at some distant and not yet fixed point in the future but most will be more familiar with IATA codes.

Linking to airports[edit]

If there is an airport article then redirect the code to that page
e.g. For FRA IATA, the page FRA contains #REDIRECT[[Frankfurt Airport]]
If there is no airport article the redirect should be to the relevant section of closest city article.
e.g. For STR IATA, the page STR contains #redirect[[Stuttgart#By plane]]

Article referencing airport codes that do not have a redirect page are listed in Category:Airport code pages missing

No description.

Template parameters

Parameter Description Type Status
IATA code 1

no description

Default
empty
Example
LAX
Auto value
empty
String required