跳转到内容

模板:STV/doc

维基百科,自由的百科全书

概要

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).

参数及使用方法

The template requires one unnamed parameter which can be one of:

Code: {{STV|AAA}}
Result: 在Transport Search网站的AAA机场数据
Code: {{STV|ZMAT}}
Result: 在Transport Search网站的ZMAT机场数据

An optional second unnamed parameter can be used to display the airport name in place of the identifier.

Code: {{STV|AAA|Anaa Airport}}
Result: 在Transport Search网站的Anaa Airport机场数据
Code: {{STV|ZMAT|Altai Airport}}
Result: 在Transport Search网站的Altai Airport机场数据

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: 在Transport Search网站的Anaa Airport机场数据

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={{link-en|DAFIF}}}}
Result: 在Transport Search网站的Cabinda Airport机场数据。来源:DAFIF英语DAFIF
Code: {{STV|BIKF|10|source=愛爾蘭[[航行资料汇编]], {{link-en|DAFIF}}, [[美国国家海洋和大气管理局|NOAA]], [[GeoNames]]}}
Result: 在Transport Search网站的10机场数据。来源:爱尔兰航行资料汇编, DAFIF英语DAFIF, NOAA, GeoNames
Code: {{STV|AAJ|source=}}
Result: 在Transport Search网站的AAJ机场数据

参见

  • Template:GCM - creates external link for airport information at the Great Circle Mapper website
  • Template:ASNet - creates external link for airport accident information when given IATA identifier