Template:STV/doc
This is a documentation subpage for Template:STV. It may contain usage information, categories and other content that is not part of the original template page. |
Template:STV generates an external link to an airport information page at the Transport Search 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 one of:
- the IATA airport location identifier
- the ICAO airport location identifier
- the Geonames ID
Code: | {{STV|AAA}}
|
---|---|
Result: | Airport information for AAA at Transport Search website. |
Code: | {{STV|ZMAT}}
|
---|---|
Result: | Airport information for ZMAT at Transport Search website. |
An optional second unnamed parameter can be used to display the airport name in place of the identifier.
Code: | {{STV|AAA|Anaa Airport}}
|
---|---|
Result: | Airport information for Anaa Airport at Transport Search website. |
Code: | {{STV|ZMAT|Altai Airport}}
|
---|---|
Result: | Airport information for Altai Airport at Transport Search website. |
An optional third unnamed parameter can be used to specify the level of zoom needed on the map, from 1 for a worldwide view to 20 for the highest level of zoom (whenever possible). The default value is 15.
Code: | {{STV|AAA|Anaa Airport|14}}
|
---|---|
Result: | Airport information for Anaa Airport at Transport Search website. |
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 Oct. 2006)".
Code: | {{STV|CAB|Cabinda Airport|source=[[DAFIF]]}}
|
---|---|
Result: | Airport information for Cabinda Airport at Transport Search website. Source: DAFIF (effective Oct. 2006). |
Code: | {{STV|BIKF|10|source=[[AIP Iceland]], [[DAFIF]], [[NOAA]], [[GeoNames]]}}
|
---|---|
Result: | Airport information for 10 at Transport Search website. Source: AIP Iceland, DAFIF, NOAA. |
Code: | {{STV|AAJ|source=}}
|
---|---|
Result: | Airport information for AAJ at Transport Search website. |
See also
[edit]- Template:GCM - creates external link for airport information at the Great Circle Mapper website
- Template:ASN - creates external link for airport accident information when given IATA identifier