Template talk:Infobox Australian Airport
From Wikipedia, the free encyclopedia
<!-- BEGIN INFOBOX --> {{Infobox Australian Airport| airport_name = Melbourne Airport | image_airport = Melbourne Airport 2.jpg | airport_name = Melboure Airport | airport_type = Commercial | airport_operator = [[Australia Pacific Airports Corporation]] | airport_owner = [[Government of Australia|Australian Government]] | airport_opened = [[1 July]], [[1970]] | airport_located = [[Melbourne]], [[Victoria (Australia)|]], [[Australia]] | lat_deg=37| lat_min=40| lat_sec=24| lon_deg=144| lon_min=50| lon_sec=36| airport_IATA = MEL | airport_ICAO = YMML | runway_direction = 16/34 | runway_length_feet = 11,998 | runway_length_metres = 3,657 | runway_surface_type = Paved | runway_direction_2 = 09/27 | runway_length_feet_2 = 7,500 | runway_length_metres_2 = 2,286 | runway_surface_type_2 = Paved | year = 2004 | passenger_count = 19,160,000 | takeoff_count = 165,260 | airport_website = [http://www.melair.com.au Melbourne Airport website]| }} <!-- END INFOBOX -->
Template:Infobox Australian Airport
[edit] Discussion
nice work. re: having more than 2 runways: unfortunately no such things as default parameters. you might want to have a "free field" for such special cases. try and cover all the common cases and then use the free field for the exceptions. also i would use underscores in the parameter names, i.e. airport_operator rather than "airport operator" so that it is clear what is the parameter name versus what is the parameter value. clarkk 00:16, 16 Apr 2005 (UTC)
- ok, so i fixed the co-ordinate stuff. the trick is you need to pass each of the lat/long co-ords separately, because if you pass the entire string which includes vertical bars "|", the template will confuse them with the parameter termination symbol, unless it happens to be in a piped link. clarkk 00:35, 16 Apr 2005 (UTC)