Difference between revisions of "Template:GCM/doc"
Jump to navigation
Jump to search
imported>Keith D m (Oct. -> October) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 70: | Line 70: | ||
* [[Template:ASN]] - creates external link for airport accident information when given IATA identifier | * [[Template:ASN]] - creates external link for airport accident information when given IATA identifier | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Aviation external link templates|{{PAGENAME}}]] | [[Category:Aviation external link templates|{{PAGENAME}}]] | ||
| Line 78: | Line 78: | ||
[[ko:틀:GCM]] | [[ko:틀:GCM]] | ||
[[ja:Template:GCM]] | [[ja:Template:GCM]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 15:20, 25 April 2020
| This is a documentation subpage for Template:GCM. It contains usage information, categories and other content that is not part of the original template page. |
Template:GCM generates an external link to an airport information page at the Great Circle Mapper website. The links are used as a reference in airport articles when a better source is not available online (such as a link to the Aeronautical Information Publication).
Usage
The template requires one unnamed parameter which can be either the IATA or the ICAO airport location identifier.
| Code: | {{GCM|AAA}}
|
|---|---|
| Result: | Airport information for AAA at Great Circle Mapper. |
| Code: | {{GCM|ZMAT}}
|
|---|---|
| Result: | Airport information for ZMAT at Great Circle Mapper. |
An optional second unnamed parameter can be used to display the airport name in place of the identifier.
| Code: | {{GCM|AAA|Anaa Airport}}
|
|---|---|
| Result: | Airport information for Anaa Airport at Great Circle Mapper. |
| Code: | {{GCM|ZMAT|Altai Airport}}
|
|---|---|
| Result: | Airport information for Altai Airport at Great Circle Mapper. |
The optional source parameter can be used to specify the source of the data as shown on the website. If the source is DAFIF the template adds the text "(effective October 2006)".
| Code: | {{GCM|CAB|Cabinda Airport|source=[[DAFIF]]}}
|
|---|---|
| Result: | Airport information for Cabinda Airport at Great Circle Mapper. Source: DAFIF (effective October 2006). |
| Code: | {{GCM|BIKF|source=[[AIP Iceland]], [[DAFIF]], [[NOAA]]}}
|
|---|---|
| Result: | Airport information for BIKF at Great Circle Mapper. Source: AIP Iceland, DAFIF, NOAA. |
| Code: | {{GCM|AAJ|source=}}
|
|---|---|
| Result: | Airport information for AAJ at Great Circle Mapper. |
See also
- Template:WAD - creates external link for airport information when given ICAO identifier
- Template:ASN - creates external link for airport accident information when given IATA identifier