Template:Airport table row/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Airport table row. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Under development - not yet ready for roll-out Discussion is here
For use on Lists of airports by country
Parameters for {{Airport table top}}
- 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}}
- 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
{{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 | Lua error: callParserFunction: function "#coordinates" was not found. |
| Amsterdam | EHAM | AMS | Schiphol | |
| Amsterdam | EHAM | AMS | Schiphol | n/a |
| Birmingham, England | EGBB | BHX | Birmingham International | Lua error: callParserFunction: function "#coordinates" was not found. |
Example without coordinates column
{{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
Template family
- {{Airport table top}}
- {{Airport table row}}