Template:Infobox Airport: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Clarification: The image and image2 parameters should not use Image: or File: prefix)
m (Fix alt)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
|title    = {{{name|}}}
|title    = {{{name|}}}
|image    = {{#if:{{{image|}}}|[[Image:{{{image|}}}{{!}}270px{{!}}{{{alt}}}]]|[[Special:UploadWizard|Image requested]]}}
|image    = {{#if: {{{image|}}} | [[File:{{{image|}}}|270px|{{{alt|}}}]] | [[Special:UploadWizard|Image requested]] }}
|caption  = {{{alt|}}}
|caption  = {{{alt|}}}
|image2  = {{#if:{{{image2|}}}|[[Image:{{{image2|}}}{{!}}270px{{!}}{{{alt2}}}]]}}
|image2  = {{#if: {{{image2|}}} | [[File:{{{image2|}}}|270px|{{{alt2|}}}]] }}
|caption2 = {{{alt2|}}}
|caption2 = {{{alt2|}}}
|data1    =  
|data1    =  
Line 70: Line 70:
  <nowiki>|</nowiki> ''name''          =  
  <nowiki>|</nowiki> ''name''          =  
  <nowiki>|</nowiki> ''image''        =  
  <nowiki>|</nowiki> ''image''        =  
<nowiki>|</nowiki> ''alt''          =
  <nowiki>|</nowiki> ''image2''        =  
  <nowiki>|</nowiki> ''image2''        =  
<nowiki>|</nowiki> ''alt2''          =
  <nowiki>|</nowiki> ''iata''          =  
  <nowiki>|</nowiki> ''iata''          =  
  <nowiki>|</nowiki> ''icao''          =  
  <nowiki>|</nowiki> ''icao''          =  
Line 78: Line 80:
  <nowiki>|</nowiki> ''website''      =  
  <nowiki>|</nowiki> ''website''      =  
   
   
  <nowiki>|</nowiki> ''runway1''       =  
  <nowiki>|</nowiki> ''runway''       =  
  <nowiki>|</nowiki> ''length1''       =  
  <nowiki>|</nowiki> ''length''       =  
  <nowiki>|</nowiki> ''material1''     =  
  <nowiki>|</nowiki> ''material''     =  
  ...
  ...
  <nowiki>|</nowiki> ''runway10''      =  
  <nowiki>|</nowiki> ''runway10''      =  
Line 109: Line 111:


=== Runway data ===
=== Runway data ===
There can be up to 10 runways, '''runway1''' to '''runway10'''.
There can be up to 10 runways, '''runway''' to '''runway10'''.
; runway(n):  Runway numbers for both directions
; runway(n):  Runway numbers for both directions
; length(n):  Length of the runway
; length(n):  Length of the runway

Latest revision as of 15:26, 5 April 2015

The following template description is not displayed when the template is inserted in an article.

Goal

This infobox is used to summarize the key information about an airport.

Usage

Add the following to the top of the article. All parameters are optional. Empty fields will not be shown. Check articles using this template to see how everything works and should look.

{{Infobox Airport
| name          = 
| image         = 
| alt           = 
| image2        = 
| alt2          = 
| iata          = 
| icao          = 
| type          = 
| owner         = 
| city          = 
| website       = 

| runway        = 
| length        = 
| material      = 
...
| runway10      = 

| helipad1      = 
| dimensions1   = 
| helimaterial1 = 
...
| helipad4      = 

| scenerytile   = 
| terrasync     = 
| download      = 
}}

Basic data

name
Official name of the airport.
image
FlightGear screenshot of the airport, preferably from the UFO, excluding the Image: or File: prefix. See also Howto:Make nice screenshots.
alt
Caption for the screenshot
image2
Additional screenshot, excluding the Image: or File: prefix
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

Runway data

There can be up to 10 runways, runway to runway10.

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.

Helipad data

There can be up to four helipads, helipad1 to helipad4.

helipad(n)
Helipad name
dimensions(n)
Helipad dimensions
helimaterial(n)
Helipad material

Scenery tile data

scenerytile
The name of the scenery tile
terrasync
Is the airport's models uploaded to the scenery database and available through TerraSync?
download
Download URL if the airport is not available through TerraSync