Usage

edit

Under development - not yet ready for roll-out Discussion is here

For use on Lists of airports by country

Parameters for {{Airport table top}}

edit
city-article (optional)
The name of article listing cities in country; i.e. List of cities in Algeria.
nocoordinates (optional)
Set to any value to exclude the coordinates column from table heading.

Parameters for {{Airport table row}}

edit
location
The major city served by the airport. Airports are often located in smaller towns outside the city served, but that information is usually placed in the airport article (and the airport infobox has fields for both). However, some airport lists do give both, usually in the format city served / location (see List of airports in France).
ICAO
The four-letter ICAO airport code.
IATA
The three-letter IATA airport code.
airport
The name of the airport with a link to the airport article.
coordinates (optional)
The coordinates of airport, specified via the {{coord}} template.

Example with coordinates column

edit
{{Airport table top}}

{{Airport table row
| location = Birmingham, England
| ICAO = EGBB
| IATA = BHX
| airport = [[Birmingham International Airport, West Midlands|Birmingham International]]
| coordinates = {{coord|52.453889|-1.748056|type:airport_region:GB-BIR}}
}}

{{Airport table row
| location = Amsterdam
| ICAO = EHAM
| IATA = AMS
| airport = [[Amsterdam Airport Schiphol|Schiphol]]
| coordinates =  
}}

{{Airport table row
| location = Amsterdam
| ICAO = EHAM
| IATA = AMS
| airport = [[Amsterdam Airport Schiphol|Schiphol]]
| coordinates = n/a
}}

{{Airport table row
| location = Birmingham, England
| ICAO = EGBB
| IATA = BHX
| airport = [[Birmingham International Airport, West Midlands|Birmingham International]]
| coordinates = {{coord|52.453889|-1.748056|type:airport_region:GB-BIR}}
}}

|}

renders as:

Location ICAO IATA Airport name Coordinates
Birmingham, England EGBB BHX Birmingham International 52°27′14″N 1°44′53″W / 52.453889°N 1.748056°W / 52.453889; -1.748056
Amsterdam EHAM AMS Schiphol  
Amsterdam EHAM AMS Schiphol n/a
Birmingham, England EGBB BHX Birmingham International 52°27′14″N 1°44′53″W / 52.453889°N 1.748056°W / 52.453889; -1.748056

Example without coordinates column

edit
{{Airport table top
| city-article = List of cities in Libya
| nocoordinates = yes
}}

{{Airport table row
| location = [[Agedabia]]
| ICAO = HLAG
| IATA = 
| airport = [[Agedabia Airport]]
}}

{{Airport table row
| location = [[Bayda, Libya|Bayda]] (Beida)
| ICAO = HLLQ
| IATA = LAQ
| airport = '''[[La Abraq Airport]]''' (La Braq Airport)
}}

|}

renders as:

Location ICAO IATA Airport name
Agedabia HLAG Agedabia Airport
Bayda (Beida) HLLQ LAQ La Abraq Airport (La Braq Airport)

Microformat

edit

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the place or venue has an "established", "founded", "opened" or similar date that is specific to the day, use {{start date}} unless the date is before 1583 CE. If it has a URL, use {{URL}}.

hCard uses HTML classes including:

  • adr
  • category
  • country-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • street-address
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Template family

edit