Template:Airport table row/doc

From blackwiki
< Template:Airport table row
Revision as of 18:08, 15 August 2009 by blackwiki>Zyxw (update documentation to show example without a coordinates column)
Jump to navigation Jump to search

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 = &nbsp;
}}

{{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:UF-hcard-place

Template family