Module:IATA and ICAO code/doc
This is the documentation page for Module:IATA and ICAO code
Template:Module rating Template:Lua
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}}==>Template:IATA and ICAO code
Usage with one code
To be used with template {{IATA and ICAO code|KORD}}==>Template:IATA and ICAO code
To be used with template {{IATA and ICAO code|ORD}}==>Template:IATA and ICAO code
To be used with template {{IATA and ICAO code|AA A}}==>Template:IATA and ICAO code
To be used with template {{IATA and ICAO code|AAA}}==>Template:IATA and ICAO code
To be used with template {{IATA and ICAO code|AHO}}==>Template:IATA and ICAO code
{{#invoke:IATA and ICAO code|count|AAA}}==> 1
Usage with multiple codes
{{IATA and ICAO code|AAA|NTGA|CDG|LIN|MXP|BGY}}==>
Template:IATA and ICAO code
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}}==>
Template:IATA and ICAO code
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}}==>
Template:IATA and ICAO code
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}}==>
Template:IATA and ICAO code
Example for Portugal
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
- Template:IATA and ICAO code
Example for main world airports
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}}==> Script error: No such module "IATA and ICAO code/sandbox2".
- {{#invoke:IATA and ICAO code/sandbox2|main|BOD }}==> Script error: No such module "IATA and ICAO code/sandbox2".
- {{#invoke:IATA and ICAO code/sandbox2|main|NTGA}}==> Script error: No such module "IATA and ICAO code/sandbox2".
- {{#invoke:IATA and ICAO code/sandbox2|main|QKR}}==> Script error: No such module "IATA and ICAO code/sandbox2".
- {{#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".