跳至內容

模板: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