Template:Great Circle Mapper link/doc
Appearance
This is a documentation subpage for Template:Great Circle Mapper link. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 3,300 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: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
[edit]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
[edit]- Template:ASN - creates external link for airport accident information when given IATA identifier