跳转到内容

Template:NWS-current/doc

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

概要

Template:NWS-current generates an external link to a National Weather Service web page containing weather information for a specific airport.

參數及使用方法

The template requires one unnamed parameter which is the ICAO airport code, also known as a location identifier英语location identifier.

Code: {{NWS-current|LSZH}}
Result: NOAA/NWSLSZH机场的即時天氣
Link: http://tgftp.nws.noaa.gov/weather/current/LSZH.html

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

Code: {{NWS-current|LSZH|Zurich Airport}}
Result: NOAA/NWSZurich Airport机场的即時天氣
Link: http://tgftp.nws.noaa.gov/weather/current/LSZH.html

參見

  • Template:NWS-obs - generates an external link to National Weather Service current and historical airport weather observations
  • Template:US-airport - generates external links (including NWS weather information) for articles about airports in the United States
  • Template:Can-arpt-wx - generates an external link to NAV CANADA Aviation Weather Web Site for articles about airports in Canada