模板:US-airport-mil/doc
此页面是Template:US-airport-mil的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
参数及使用方法
编辑This template is suitable for U.S. military airports.
To use this on an airport page, simply add the following under the "External links" section of the airport:
{{US-airport-mil|XXX|YYY}}
Substitute the XXX with the IATA code for the airport (which is typically a 3-letter code). Note that this template assumes that you can prepend "K" to the IATA code to derive the 4-letter ICAO code, so this template is not appropriate for airports that do not follow that rule or do not have an ICAO code.
If YYY is set to "-", the aviation-safety.net link is omitted. If YYY is set to another value, that value is used for the aviation-safety.net link instead of XXX. Otherwise, the aviation-safety.net link uses the value XXX.
范例
编辑参见
编辑{{US-airport-ga}}
- This template provides all the same links as {{US-airport}} except the FAA delays for scheduled flights. Usually airports that don't have this information are used for general aviation (GA), thus the template's name.
{{US-airport}}
- Use this for airports that have scheduled flights. It includes an "FAA Delays" link that does not work for U.S. military airports.
{{US-airport2}}
- Use this for airports where the ICAO code is not "K" followed by the FAA identifier. These are usually airports located outside the continental United States such as in Alaska, Hawaii or Puerto Rico. The template name is based on the fact that it allows a 2nd parameter to specify the ICAO code.
{{US-airport-minor}}
- Use this for airports which have an FAA location identifier containing numbers or do not have an ICAO airport code. These are generally minor general aviation airports. The template excludes those links which do not work for the majority of these airports.