ਫਰਮਾ:Airport codes/doc
ਇਹ ਇੱਕ ਫਰਮਾ:Airport codes ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template is used on approximately 15,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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").
Usage
[ਸੋਧੋ]The template requires at least one unnamed parameter.
Code: | {{Airport codes|AAA}}
|
---|---|
Result: | (IATA: AAA) |
The template accepts six unnamed parameters:
- IATA airport code
- ICAO airport code
- Federal Aviation Administration location identifier (for airports in the United States)
- Transport Canada location identifier (for airports in Canada)
- GPS code
- Civil Aviation Administration of China location identifier (for airports in China)
Using |p=n
after the last airport code will remove the parentheses.
Examples
[ਸੋਧੋ]'''Glasgow International Airport''' {{Airport codes|GLA|EGPF}} is ...
Glasgow International Airport (IATA: GLA, ICAO: EGPF) is ...
'''Emmonak Airport''' {{Airport codes|EMK|PAEM|ENM}} is ...
Emmonak Airport (IATA: EMK, ICAO: PAEM, FAA 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 (Lua error in package.lua at line 80: module 'Module:Lang/data/iana scripts' not found., IATA: BRE, ICAO: EDDW) is ...
Formatting test
[ਸੋਧੋ]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)
- {{Airport codes|||||EEEE|p=n}}: GPS code: EEEE
- {{Airport codes||||||FFFF}}: (CAAC LID: FFFF)
- {{Airport codes||||||FFFF|p=n}}: CAAC LID: FFFF
- Two codes
- {{Airport codes|AAA|BBBB}}: (IATA: AAA, ICAO: BBBB)
- {{Airport codes|AAA|BBBB|p=n}}: IATA: AAA, ICAO: BBBB
- {{Airport codes|AAA||CCC}}: (IATA: AAA, FAA LID: CCC)
- {{Airport codes|AAA||CCC|p=n}}: IATA: AAA, FAA LID: CCC
- {{Airport codes|AAA|||DDDD}}: (IATA: AAA, TC LID: DDDD)
- {{Airport codes|AAA|||DDDD|p=n}}: IATA: AAA, TC LID: DDDD
- {{Airport codes|AAA||||EEEE}}: (IATA: AAA, GPS code: EEEE)
- {{Airport codes||BBBB|CCC}}: (ICAO: BBBB, FAA LID: CCC)
- {{Airport codes||BBBB|CCC|p=n}}: ICAO: BBBB, FAA LID: CCC
- {{Airport codes||BBBB||DDDD}}: (ICAO: BBBB, TC LID: DDDD)
- {{Airport codes||BBBB||DDDD|p=n}}: ICAO: BBBB, TC LID: DDDD
- {{Airport codes||BBBB|||EEEE}}: (ICAO: BBBB, GPS code: EEEE)
- {{Airport codes|||CCC|DDDD}}: (FAA LID: CCC, TC LID: DDDD)
- {{Airport codes|||CCC|DDDD|p=n}}: FAA LID: CCC, TC LID: DDDD
- {{Airport codes|||CCC||EEEE}}: (FAA LID: CCC, GPS code: EEEE)
- {{Airport codes||||DDDD|EEEE}}: (TC LID: DDDD, GPS code: EEEE)
- Three codes
- {{Airport codes|AAA|BBBB|CCC}}: (IATA: AAA, ICAO: BBBB, FAA LID: CCC)
- {{Airport codes|AAA|BBBB|CCC|p=n}}: IATA: AAA, ICAO: BBBB, FAA LID: CCC
- {{Airport codes|AAA|BBBB||DDDD}}: (IATA: AAA, ICAO: BBBB, TC LID: DDDD)
- {{Airport codes|AAA|BBBB||DDDD|p=n}}: IATA: AAA, ICAO: BBBB, TC LID: DDDD
- {{Airport codes|AAA|BBBB|||EEEE}}: (IATA: AAA, ICAO: BBBB, GPS code: EEEE)
- {{Airport codes||BBBB|CCC|DDDD}}: (ICAO: BBBB, FAA LID: CCC, TC LID: DDDD)
- {{Airport codes||BBBB|CCC|DDDD|p=n}}: ICAO: BBBB, FAA LID: CCC, TC LID: DDDD
- {{Airport codes||BBBB|CCC||EEEE}}: (ICAO: BBBB, FAA LID: CCC, GPS code: EEEE)
- {{Airport codes|||CCC|DDDD|EEEE}}: (FAA LID: CCC, TC LID: DDDD, GPS code: EEEE)
- Four codes
- {{Airport codes|AAA|BBBB|CCC|DDDD}}: (IATA: AAA, ICAO: BBBB, FAA LID: CCC, TC LID: DDDD)
- {{Airport codes|AAA|BBBB|CCC|DDDD|p=n}}: IATA: AAA, ICAO: BBBB, FAA LID: CCC, TC LID: DDDD
- {{Airport codes|AAA|BBBB|CCC||EEEE}}: (IATA: AAA, ICAO: BBBB, FAA LID: CCC, GPS code: EEEE)
- {{Airport codes|AAA|BBBB||DDDD|EEEE}}: (IATA: AAA, ICAO: BBBB, TC LID: DDDD, GPS code: EEEE)
- {{Airport codes|AAA||CCC|DDDD|EEEE}}: (IATA: AAA, FAA LID: CCC, TC LID: DDDD, GPS code: EEEE)
- {{Airport codes||BBBB|CCC|DDDD|EEEE}}: (ICAO: BBBB, FAA LID: CCC, TC LID: DDDD, GPS code: EEEE)
- Five codes
- {{Airport codes|AAA|BBBB|CCC|DDDD|EEEE}}
- {{Airport codes|AAA|BBBB|CCC|DDDD|EEEE|p=n}}
- {{Airport codes|AAA|BBBB|CCC|DDDD||FFFF}}
- {{Airport codes|AAA|BBBB|CCC|DDDD||FFFF|p=n}}
- Six codes
- {{Airport codes|AAA|BBBB|CCC|DDDD|EEEE|FFFF}}
- {{Airport codes|AAA|BBBB|CCC|DDDD|EEEE|FFFF|p=n}}
External links
[ਸੋਧੋ]Template:Airport codes ਨਾਲ ਸੰਬੰਧਿਤ ਮੀਡੀਆ ਵਿਕੀਮੀਡੀਆ ਕਾਮਨਜ਼ ਉੱਤੇ ਹੈ