Template:Infobox Airport: Difference between revisions

Jump to navigation Jump to search
Improved doc; Doc style
m (+-cat: Infoboxes → Infobox templates for consistency)
(Improved doc; Doc style)
Line 63: Line 63:
{{#if: {{{image}}} | | [[Category:Image requested]]}}</includeonly><noinclude>{{Informative template|1=
{{#if: {{{image}}} | | [[Category:Image requested]]}}</includeonly><noinclude>{{Informative template|1=
== Goal ==
== Goal ==
This infobox is used to summarize an airport's key points.
This infobox is used to summarize the key information about an airport.
 
__NOTOC__
== Usage ==
== Usage ==
To use this infobox, simply add the following piece of code at the top of your article. You do not have to fill in all the forms. If one is empty, it won't be shown. Just add as much information as you can find. Check other articles to see how everything works and should look.
Add the following to the top of the article. All parameters are optional.  Empty field will not be shown. Check other articles to see how everything works and should look.
 
<nowiki>{{</nowiki>'''Infobox Airport'''
<pre>
<nowiki>|</nowiki> ''name''          =  
{{infobox Airport
<nowiki>|</nowiki> ''image''        =  
|name =
<nowiki>|</nowiki> ''image2''        =
|image =
<nowiki>|</nowiki> ''iata''          =  
|iata =
<nowiki>|</nowiki> ''icao''          =  
|icao =
<nowiki>|</nowiki> ''type''          =  
|type =
<nowiki>|</nowiki> ''owner''        =  
|owner =
<nowiki>|</nowiki> ''city''          =
|city =
<nowiki>|</nowiki> ''website''      =
<nowiki>|</nowiki> ''runway1''      =
<nowiki>|</nowiki> ''length1''      =
<nowiki>|</nowiki> ''material1''    =
...
<nowiki>|</nowiki> ''runway10''      =  
<nowiki>|</nowiki> ''helipad1''      =
<nowiki>|</nowiki> ''dimensions1''  =
<nowiki>|</nowiki> ''helimaterial1'' =
...
<nowiki>|</nowiki> ''helipad4''      =
<nowiki>|</nowiki> ''scenerytile''  =
<nowiki>|</nowiki> ''terrasync''    =
<nowiki>|</nowiki> ''download''      =
<nowiki>}}</nowiki>


|runway1 =
=== Basic data ===
|length1 =
; name:  Official name of the airport.
|material1 =
; image:  FlightGear screenshot of the airport, preferably from the UFO.  See also [[Howto:Make nice screenshots]].
; alt:  Caption for the screenshot
; image2:  Additional screenshot
; alt2:  Caption for the additional screenshot
; iata:  IATA three letter code
; icao:  ICAO four letter airport code
; type:  Type of airport
; owner:  Airport owner
; city:  The closest city to the airport
; website:  Official website of the airport


|helipad1 =
=== Runway data ===
|dimensions1 =
There can be up to 10 runways, '''runway1''' to '''runway10'''.
|helimaterial1 =
; runway(n):  Runway numbers for both directions
; length(n):  Length of the runway
; material(n):  Runway material.  Common values are for example '''Concrete''', '''Concrete/Asphalt''', '''Asphalt''', '''Gravel''', '''Grass'''.


|scenerytile =
=== Helipad data ===
|terrasync =
There can be up to four helipads, '''helipad1''' to '''helipad4'''.
|download =
; helipad(n):  Helipad name
}}
; dimensions(n):  Helipad dimensions
</pre>
; helimaterial(n):  Helipad material


There is a maximum of 10 runways and 4 helipads.
=== Scenery tile data ===
; scenerytile:  The name of the scenery tile
; terrasync:  Is the airport's models uploaded to the [[FlightGear Scenery Database|scenery database]] and available through [[TerraSync]]?
; download:  Download URL if the airport is not available through TerraSync
}}
}}


[[Category:Infobox templates|Airport]]
[[Category:Infobox templates|Airport]]
</noinclude>
</noinclude>

Navigation menu