قالب:Airport table row
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 | اسم المطار | الاحداثيات |
|---|---|---|---|---|
| Birmingham, England | EGBB | BHX | Birmingham International | 52°27′14″N 1°44′53″W / 52.453889°N 1.748056°W |
| 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 |
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 = [[Al Bayda', Libya|Al Bayda']] (Beida)
| ICAO = HLLQ
| IATA = LAQ
| airport = '''[[La Abraq Airport]]''' (La Braq Airport)
}}
|}
renders as:
| الموقع | ICAO | IATA | اسم المطار |
|---|---|---|---|
| Agedabia | HLAG | Agedabia Airport | |
| Al Bayda' (Beida) | HLLQ | LAQ | La Abraq Airport (La Braq Airport) |
Microformat
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.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "vcard"
Please do not rename or remove these classes.
Template family
- {{Airport table top}}
- {{Airport table row}}
| The above documentation is transcluded from قالب:Airport table row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |