Template talk:Airport codes

From Wikipedia, the free encyclopedia

[edit] Recent change from FAA LID to National LID

In an update made yesterday, the label of the 3rd parameter was changed from FAA LID to National LID. I feel this negatively affected the appearance of the U.S. airport articles, so I restored the FAA LID label to the 3rd parameter. The National LID label is still available, but has been moved to the 4th parameter (the current 4th parameter labeled GPS codes has become the 5th parameter). I also made corrections to properly place commas for any combination of the five parameters and updated the template's documentation.

To date, the National LID label has only been used for the Canadian airports, so I'll update those to move the code from the 3rd to 4th position. Is anyone aware of country-specific airport codes other than those used by the United States and Canada? From what I've seen, most other countries use the ICAO codes. If this parameter will only be used for Canadian airports, the label could be changed.

-- Zyxw 13:51, 5 July 2007 (UTC)

I changed it slightly to link to "Transport Canada" similar to the FAA link. If there are other countries that use a non-ICAO codes then they can be added in the same way. CambridgeBayWeather (Talk) 16:14, 5 July 2007 (UTC)
Yes, many countries have airports without ICAO codes, such as Chambly Airport in France (LF52), Chulman Airport in Romania (UE40), and Shikabe Airport in Japan (RJ04). All of these have four-letter codes starting with the ICAO country identifier, but then follow it with numbers instead of letters, and the DAFIF, at least, does not classify these as ICAO codes.
Also, is there any way to avoid privileging one country's region codes over everyone else's? After all, Wikipedia is supposed to be international. Maybe it would be better to use a nested template or something to get the FAA- or TC-specific formatting. David 12:43, 16 July 2007 (UTC)

[edit] Odd formatting

List "A"
*[[Long Beach Municipal Airport]] {{airport codes|LGB|KLGB}}


List "B"
*{{airport codes|LGB|KLGB}} [[Long Beach Municipal Airport]]


In List "A" there's a forced line break that adds lots of extra space and makes it harder to read. When I placed the template at the beginning of the line in List "B" the bullets disappeared. ·:· Will Beback ·:· 08:03, 16 July 2007 (UTC)

[edit] Adding Airport API

I wanted to add Airport API from PilotOutlook to us-airport template. You can access data for any US based airport by providing IATA or ICAO code to this API - http://www.pilotoutlook.com/xml/AirportLookup?IATA_CODE=KBFI&AccessKeyId=28b878cacfb84cff92f7c56b22eceddab919534d . Introduction is at http://www.pilotoutlook.com/api/introduction. Please let me know if you can add this. Rajatgarg79 (talk) 01:30, 11 April 2008 (UTC)