Template:Airport table row/doc
< Template:Airport table row
Jump to navigation
Jump to search
Revision as of 18:08, 15 August 2009 by blackwiki>Zyxw (update documentation to show example without a coordinates column)
| 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
- location =
- ICAO =
- IATA =
- airport =
- coordinates =
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|nocoordinates=yes}}
{{Airport table row
| location = Birmingham, England
| ICAO = EGBB
| IATA = BHX
| airport = [[Birmingham International Airport, West Midlands|Birmingham International]]
}}
{{Airport table row
| location = Amsterdam
| ICAO = EHAM
| IATA = AMS
| airport = [[Amsterdam Airport Schiphol|Schiphol]]
}}
|}
renders as:
| Location | ICAO | IATA | Airport name |
|---|---|---|---|
| Birmingham, England | EGBB | BHX | Birmingham International |
| Amsterdam | EHAM | AMS | Schiphol |
Microformat
Template family
- {{Airport table top}}
- {{Airport table row}}