This is the documentation page for Module:IATA and ICAO code
This module depends on the following other modules: |
Data
To modify the city name or the airport wikilink, it's here : Module:IATA and ICAO code/data
Usage Sandbox
To be used with template
{{IATA and ICAO code/sandbox|df=dmy|KORD: res 2019-03-03/2020-02-29|PDX: end 2020-02-29<ref>PDX date reference</ref>|CDG: res 2019-03-03/2020-02-29|NRT|YUL: beg 2019-03-03|YYZ|JRO:beg 2010-08-01 <ref>JRO date reference</ref>|NBO|KZS<ref>KZS date reference</ref>}}==>
Template:IATA and ICAO code/sandbox
{{IATA and ICAO code/sandbox|df=dmy|CDG: res 2019-03-03/2020-02-29|ORY: end 2020-02-29<ref>ORY date reference</ref>|CDG: res 2019-03-03/2020-01-29|TLS|NCE: beg 2019-03-03|FDF|FSP:beg 2019-08-01|TLN|RNS}}==>
Template:IATA and ICAO code/sandbox
To be used with template {{IATA and ICAO code|AA A}}==>error: malformed parameter value: AA A
Usage with one code
To be used with template {{IATA and ICAO code|KORD}}==>Chicago–O’Hare
To be used with template {{IATA and ICAO code|ORD}}==>Chicago–O’Hare
To be used with template {{IATA and ICAO code|AA A}}==>error: malformed parameter value: AA A
To be used with template {{IATA and ICAO code|AAA}}==>Anaa
To be used with template {{IATA and ICAO code|AHO}}==>Alghero
{{#invoke:IATA and ICAO code|count|AAA}}==> 1
Usage with multiple codes
{{IATA and ICAO code|AAA|NTGA|CDG|LIN|MXP|BGY}}==>
Anaa, Bergamo, Milan–Linate, Milan–Malpensa, Paris–Charles de Gaulle
Usage with multiple codes + dates
dmy format
{{IATA and ICAO code|df=dmy|PPT|NRT|MXP:beg 2018-10-01|BKK:res 2019-10-01|RUN:end 2018-08-01|TMS}}==>
error: invalid date: 2018-10-01
mdy format
{{IATA and ICAO code|df=mdy|PPT|NRT|MXP:beg 2018-10-01|BKK:res 2019-10-01|RUN:end 2018-08-01|TMS}}==>
error: invalid date: 2018-10-01
Usage with multiple codes + dates + references
{{IATA and ICAO code|df=dmy|PPT|NRT|MXP:beg 2018-10-01 <ref>MXP date reference</ref>|BKK:res 2019-10-01 <ref>BKK date reference</ref>|RUN:end 2018-08-01 <ref>RUN date reference</ref>|TMS}}==>
error: invalid date: 2018-10-01
Example for Portugal
Example for main world airports
Hartsfield–Jackson Atlanta International Airport | ATL | Atlanta | KATL | Atlanta |
Beijing Capital International Airport | PEK | Beijing–Capital | ZBAA | Beijing–Capital |
Dubai International Airport | DXB | Dubai–International | OMDB | Dubai–International |
Tokyo Haneda Airport | HND | Tokyo–Haneda | RJTT | Tokyo–Haneda |
Los Angeles International Airport | LAX | Los Angeles | KLAX | Los Angeles |
O'Hare International Airport | ORD | Chicago–O’Hare | KORD | Chicago–O’Hare |
London Heathrow Airport | LHR | London–Heathrow | EGLL | London–Heathrow |
Hong Kong International Airport | HKG | Hong Kong | VHHH | Hong Kong |
Shanghai Pudong International Airport | PVG | Shanghai–Pudong | ZSPD | Shanghai–Pudong |
Paris-Charles de Gaulle Airport | CDG | Paris–Charles de Gaulle | LFPG | Paris–Charles de Gaulle |
Amsterdam Airport Schiphol | AMS | Amsterdam | EHAM | Amsterdam |
Dallas/Fort Worth International Airport | DFW | Dallas/Fort Worth | KDFW | Dallas/Fort Worth |
Guangzhou Baiyun International Airport | CAN | Guangzhou | ZGGG | Guangzhou |
Frankfurt Airport | FRA | Frankfurt | EDDF | Frankfurt |
Istanbul Atatürk Airport | IST | Istanbul–Atatürk | LTBA | Istanbul–Atatürk |
Indira Gandhi International Airport | DEL | Delhi | VIDP | Delhi |
Soekarno-Hatta International Airport | CGK | Jakarta–Soekarno–Hatta | WIII | Jakarta–Soekarno–Hatta |
Singapore Changi Airport | SIN | Singapore-Changi | WSSS | Singapore-Changi |
Seoul Incheon International Airport | ICN | Seoul–Incheon | RKSI | Seoul–Incheon |
Denver International Airport | DEN | Denver | KDEN | Denver |
Suvarnabhumi Airport | BKK | Bangkok–Suvarnabhumi | VTBS | Bangkok–Suvarnabhumi |
John F. Kennedy International Airport | JFK | New York–JFK | KJFK | New York–JFK |
Kuala Lumpur International Airport | KUL | Kuala Lumpur–International | WMKK | Kuala Lumpur–International |
San Francisco International Airport | SFO | San Francisco | KSFO | San Francisco |
Madrid Barajas Airport | MAD | Madrid | LEMD | Madrid |
Chengdu Shuangliu International Airport | CTU | Chengdu | ZUUU | Chengdu |
McCarran International Airport | LAS | Las Vegas | KLAS | Las Vegas |
Barcelona–El Prat Airport | BCN | Barcelona–El Prat | LEBL | Barcelona–El Prat |
Chhatrapati Shivaji International Airport | BOM | Mumbai | VABB | Mumbai |
Toronto Pearson International Airport | YYZ | Toronto–Pearson | CYYZ | Toronto–Pearson |
Seattle-Tacoma International Airport | SEA | Seattle/Tacoma | KSEA | Seattle/Tacoma |
Charlotte Douglas International Airport | CLT | Charlotte | KCLT | Charlotte |
London Gatwick Airport | LGW | London–Gatwick | EGKK | London–Gatwick |
Shenzhen Bao'an International Airport | SZX | Shenzhen | ZGSZ | Shenzhen |
Taiwan Taoyuan International Airport | TPE | Taipei–Taoyuan | RCTP | Taipei–Taoyuan |
Benito Juárez International Airport | MEX | Mexico City | MMMX | Mexico City |
Kunming Changshui International Airport | KMG | Kunming | ZPPP | Kunming |
Munich Airport | MUC | Munich | EDDM | Munich |
Orlando International Airport | MCO | Orlando | KMCO | Orlando |
Miami International Airport | MIA | Miami | KMIA | Miami |
Phoenix Sky Harbor International Airport | PHX | Phoenix | KPHX | Phoenix |
Sydney Kingsford-Smith Airport | SYD | Sydney | YSSY | Sydney |
Newark Liberty International Airport | EWR | Newark | KEWR | Newark |
Ninoy Aquino International Airport | MNL | Manila | RPLL | Manila |
Shanghai Hongqiao International Airport | SHA | Shanghai–Hongqiao | ZSSS | Shanghai–Hongqiao |
Xi'an Xianyang International Airport | XIY | Xi'an | ZLXY | Xi'an |
Leonardo da Vinci–Fiumicino Airport | FCO | Rome–Fiumicino | LIRF | Rome–Fiumicino |
George Bush Intercontinental Airport | IAH | Houston–Intercontinental | KIAH | Houston–Intercontinental |
Narita International Airport | NRT | Tokyo–Narita | RJAA | Tokyo–Narita |
Sheremetyevo International Airport | SVO | Moscow–Sheremetyevo | UUEE | Moscow–Sheremetyevo |
Sandbox
Module:IATA and ICAO code/sandbox
Module:IATA and ICAO code/data/sandbox
Module:IATA and ICAO code/data/sandbox2
- {{#invoke:IATA and ICAO code/sandbox2|main|AAA}}==> Anaa
- {{#invoke:IATA and ICAO code/sandbox2|main|BOD }}==> Bordeaux
- {{#invoke:IATA and ICAO code/sandbox2|main|NTGA}}==> Anaa
- {{#invoke:IATA and ICAO code/sandbox2|main|QKR}}==> Kourou
- {{#invoke:IATA and ICAO code/sandbox|main|AAA}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|BOD }}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|NTGA}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|QKR}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|AAA}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|BOD }}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|NTGA}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|QKR}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|NWWX}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|CDG}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|LFPG}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|ORD}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|KSEA}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|O RD}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|cdg}}==> Script error: No such module "IATA and ICAO code/sandbox".
- {{#invoke:IATA and ICAO code/sandbox|main|Bullshit}}==> Script error: No such module "IATA and ICAO code/sandbox".
- ^ MXP date reference