Template:Infobox Airport/doc

出自維基百科,自由嘅百科全書

Usage

The following blank template includes all of the available parameter names, except for repeating names used for runways and statistics. All parameters except name are optional. Any unused parameters should be omitted, but can also be left blank if preferred.

{{Infobox Airport
| name         = 
| nativename   = 
| nativename-a = 
| nativename-r = 
| image        = 
| image-width  = 
| caption      = 
| image2       = 
| image2-width = 
| caption2     = 
| IATA         = 
| ICAO         = 
| FAA          = 
| LID          = 
| type         = 
| owner        = 
| operator     = 
| owner-oper   = 
| city-served  = 
| location     = 
| built        = <!-- for military airports -->
| used         = <!-- for military airports -->
| commander    = <!-- for military airports -->
| occupants    = <!-- for military airports -->
| elevation-f  = 
| elevation-m  = 
| coordinates  = 
| website      = 
| metric-elev  = 
| metric-rwy   = 
| r1-number    = 
| r1-length-f  = 
| r1-length-m  = 
| r1-surface   = 
... etc.
| h1-number    = 
| h1-length-f  = 
| h1-length-m  = 
| h1-surface   = 
... etc.
| stat-year    = 
| stat1-header = 
| stat1-data   = 
... etc.
| footnotes    = 
}}

Parameters[編輯]

All parameters except name are optional.

Airport name[編輯]

These parameters specify the airport name which is displayed at the top of the infobox.

name
The name of the airport in English, such as Warsaw Frederic Chopin Airport or Beijing Capital International Airport.
nativename
Airport name in a native language using Western characters (French, German, Spanish, etc.), such as Port Lotniczy im. Fryderyka Chopina. Can also be used for two different names in the same language (see Toronto Pearson International Airport).
nativename-a
Airport name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.), such as 北京首都国际机场.
nativename-r
Use in conjunction with above for Romanized name of the airport, such as Běijīng Shǒudū Guójì Jīcháng.

Airport image[編輯]

These parameters specify an airport photograph or logo which is displayed below the title. A second image can also be displayed below the first image by using the parameter names ending with a "2".

image
image2
The name of image file, i.e. airport.png or logo.gif, etc.
image-width
image-width2
The image width in pixels, i.e. 175 (defaults to 200 if not specified). This parameter should only be used for small images that appear distorted when expanded to a width of 200 pixels.
caption
caption2
Text displayed beneath the image. This should only be used for photographs that require an explanation; it should be omitted for aerial photographs or airport logos.

Airport codes[編輯]

These parameters specify airport location identifiers which are displayed below the image (or below title if there is no image):

IATA
The airport's three character IATA location identifier. If omitted or left blank it will display as IATA: none.
ICAO
The airport's four character ICAO location identifier. If omitted or left blank it will display as ICAO: none.
FAA
The three or four character FAA location identifier for airports in the United States. If omitted or left blank, nothing is displayed.
LID
A location identifier for airports outside the United States, if different than ICAO or IATA codes. If omitted or left blank, nothing is displayed.

Airport summary[編輯]

These parameters specify airport details for the "Summary" section displayed below the airport codes.

type
Airport type should be one of the following: Public, Private or Military. Do not use Commercial, General or Civil.
owner
Name of the airport owner.
operator
Name of the airport operator, if different than the owner.
owner-oper
If the airport is owned and operated by the same entity, use this in place of owner and operator.
city-served
If the airport is associated with a major city but actually located in a smaller town, list the major city here and the smaller town under location. This is not automatically linked, in order to allow multiple links if needed.
Example: city-served = [[Paris]]
Result: Paris
location
Name of the town or city where the airport is located. This is not automatically linked, in order to allow multiple links if needed.
Example: location = [[Orly]], [[France]]
Result: Orly, France
elevation-f
Height above mean sea level, in feet.
elevation-m
Height above mean sea level, in meters.
coordinates
Latitude and Longitude of airport, specified using the {{coord}} template. When entering the coordinates always ensure that the resultant map or image shows the airport. It is very easy to confuse "N" for "S" or "E" for "W". If used as shown below, this will also cause the airport to appear in Google Earth's Geographic Web Layer.
Example: coordinates = {{coord|49|27|16|N|002|06|46|E|type:airport|display=inline}}
Result: 49°27′16″N 002°06′46″E / 49.45444°N 2.11278°E / 49.45444; 2.11278
website
External link to the airport's official website. See Wikipedia: External links #How to link for more information.
Example: website = [http://www.dfwairport.com/ www.dfwairport.com]
Result: www.dfwairport.com

Military airports[編輯]

These optional parameters provide additional information for military airports. The parameter names are based on those used in Template:Infobox Military Structure. This allows the display of information from that template, without the need to include an additional infobox. For an example, see Davis-Monthan Air Force Base.

built
The date when the structure was built, usually given in years.
used
The period during which the structure was in active military use, usually given in years.
commander
The current commanding officer, for structures currently in military use.
occupants
Any notable military units which occupy the structure.

Infobox control[編輯]

These parameters control how the infobox is displayed.

metric-elev
Set to any value to display elevation in metric units (meters) before Imperial units (feet); leave blank to display Imperial units first. This can be seen in example 1.
metric-rwy
Set to any value to display runway length in metric units (meters) before Imperial units (feet); leave blank to display Imperial units first. Example 1 and 2 below show the runway length with meters first; example 3 and 4 show it with feet before meters.

Runways[編輯]

These parameters specify details for each runway in the "Runways" section displayed below the summary. This can also be used to specify water landing areas for seaplanes (see Fairbanks International Airport). Parameters start with r1- for the first runway, r2- for the second runway, up to r8- for the eighth runway (if more are needed, leave a message on the talk page). Each airport should have at least one runway.

rn-number (r1-number, r2-number, ...)
The designation of the runway, normally two numbers like this → 02/20, 1st number is 18 lower than the 2nd. Where there are parallel runways an additional letter is added to each number, for example "L" for left, "R" for right and "C" for center. In certain cases a runway will only have one number when it can only be used in one direction. For airports in the United States the leading zero is not used and the designation should read 2/20.
rn-length-f (r1-length-f, r2-length-f, ...)
Runway length in feet.
rn-length-m (r1-length-m, r2-length-m, ...)
Runway length in meters.
rn-surface (r1-surface, r2-surface, ...)
Runway surface type, such as: Concrete, Asphalt, Gravel, Grass (or Turf), Dirt, Water, etc. Avoid the generic type "Paved" if possible.

Helipads[編輯]

These parameters specify details for each helipad in the "Helipads" section displayed below the runways. Parameters start with h1- for the first helipad, h2- for the second helipad, up to h12- for the twelfth helipad (if more are needed, leave a message on the talk page). This section is optional and only appears if the h1- parameters are specified. See example 1 and example 3 below.

hn-number(h1-number, h2-number, ...)
The designation of the helipad. In the United States this is usually the letter "H" followed by a number, i.e. "H1", "H2", etc.
hn-length-f (h1-length-f, h2-length-f, ...)
Helipad length in feet.
hn-length-m (h1-length-m, h2-length-m, ...)
Helipad length in meters.
hn-surface (h1-surface, h2-surface, ...)
Helipad surface type, such as: Concrete, Asphalt, etc. Avoid the generic type "Paved" if possible.

Statistics[編輯]

These parameters specify details for an optional "Statistics" section displayed below the runways and helipads. Parameters start with stat1- for the first statistic, stat2- for the second statistic, etc. This section only appears if the stat1- parameters are specified. See example 1 and example 3 below.

stat-year
The calendar year for the statistics. This is displayed in parentheses after the word "Statistics" in the section header.
statn-header (stat1-header, stat2-header, ...)
A brief description of each statistic, such as Passengers or Aircraft operations.
statn-data (stat1-data, stat2-data, ...)
The data associated with the corresponding header.

Footnotes[編輯]

This parameter contains text for footnotes displayed at the bottom of the infobox.

footnotes
The most common use for this field is to give sources or references for the data displayed in the infobox. See the examples below.

Microformat[編輯]

呢個模產生嘅HTML記號包含咗HCard微格式,可以畀電腦知地點名同位置,可以自動將文分類到啱嘅類。喺HCard度有Geo微格式,可以畀電腦分析經緯度資料,令佢可以喺地圖上搵到,或者下載落全球定位系統(GPS)裝置。想知多啲微格式點用,請睇英文維基Template:UF-hcard-geo

Example 1[編輯]

Warsaw Frederic Chopin Airport
Port Lotniczy im. Fryderyka Chopina
IATA:WAW – ICAO:EPWA
摘要
機場類型 Public / Military
管理人 Polish Airports State Enterprise (PPL)
服務城市 Warsaw
地點 Okęcie district of Warsaw
海拔 AMSL 362英尺(110米)
坐標 52°09′57″N 020°58′02″E / 52.16583°N 20.96722°E / 52.16583; 20.96722
網站 www.lotnisko-chopina.pl
機場跑道
方向 長度 表面
11/29 2,800 9,186 Asphalt
15/33 3,689 12,106 Asphalt
直升機停機坪
編號 長度 表面
H1 40 131 Concrete
統計 (2006)
Passengers 8,101,827
Aircraft movements 126,534
Statistics from Office of Civil Aviation.[1]

Warsaw Frederic Chopin Airport

This example shows the appearance of the infobox without an image.

Note: helipad information added to illustrate function of metric-rwy parameter.

{{Infobox Airport
| name         = Warsaw Frederic Chopin Airport
| nativename   = ''Port Lotniczy im. Fryderyka Chopina''
| IATA         = WAW
| ICAO         = EPWA
| type         = Public / Military
| operator     = Polish Airports State Enterprise (PPL)
| city-served  = [[Warsaw]]
| location     = [[Okęcie]] district of [[Warsaw]]
| elevation-m  = 110 
| elevation-f  = 362
| coordinates  = {{coord|52|09|57|N|020|58|02|E|type:airport}}
| website      = [http://www.lotnisko-chopina.pl/?lang=en www.lotnisko-chopina.pl]
| metric-elev  = yes
| metric-rwy   = yes
| r1-number    = 11/29
| r1-length-m  = 2,800
| r1-length-f  = 9,186
| r1-surface   = [[Asphalt]]
| r2-number    = 15/33
| r2-length-f  = 12,106
| r2-length-m  = 3,689
| r2-surface   = Asphalt
| h1-number    = H1
| h1-length-m  = 40
| h1-length-f  = 131
| h1-surface   = [[Concrete]]
| stat-year    = 2006
| stat1-header = Passengers
| stat1-data   = 8,101,827
| stat2-header = Aircraft movements
| stat2-data   = 126,534
| footnotes    = Statistics from Office of Civil Aviation.<ref name="stats">Data from Poland's Office of Civil Aviation (''Urząd Lotnictwa Cywilnego''): [http://www.ulc.gov.pl/download/pdf/stat2006.pdf] {{波蘭文}}</ref>
}}

Example 2[編輯]

Beijing Capital International Airport
北京首都国际机场
Běijīng Shǒudū Guójì Jīcháng


Beijing Capital Departure Hall

IATA:PEK – ICAO:ZBAA
摘要
機場類型 Public
管理人 Civil Aviation Administration of China
服務城市 Beijing
地點 Chaoyang District, Beijing
海拔 AMSL 116英尺(35米)
坐標 40°04′48″N 116°35′04″E / 40.08000°N 116.58444°E / 40.08000; 116.58444
網站 www.bcia.com.cn
機場跑道
方向 長度 表面
18L/36R 3,800 12,467 Asphalt
18R/36L 3,200 10,499 Asphalt

Beijing Capital International Airport

This example shows the appearance of the infobox with an image and a caption.

It also uses both the nativename-a and nativename-r parameters.

{{Infobox Airport
| name         = Beijing Capital International Airport
| nativename-a = 北京首都国际机场
| nativename-r = Běijīng Shǒudū Guójì Jīcháng
| image        = Beijing Capital Departure Hall.jpg
| caption      = Beijing Capital Departure Hall
| IATA         = PEK
| ICAO         = ZBAA
| type         = Public
| operator     = [[Civil Aviation Administration of China]]
| city-served  = [[Beijing]]
| location     = [[Chaoyang District, Beijing]]
| elevation-f  = 116
| elevation-m  = 35
| coordinates  = {{coord|40|04|48|N|116|35|04|E|type:airport|display=inline}}
| website      = [http://www.bcia.com.cn/ www.bcia.com.cn]
| metric-rwy   = yes
| r1-number    = 18L/36R
| r1-length-m  = 3,800
| r1-length-f  = 12,467
| r1-surface   = [[Asphalt]]
| r2-number    = 18R/36L
| r2-length-m  = 3,200
| r2-length-f  = 10,499
| r2-surface   = Asphalt
}}

Example 3[編輯]

Dallas-Fort Worth International Airport

Dallas-Fort Worth International Airport

IATA:DFW – ICAO:KDFW – FAA: DFW
摘要
機場類型 Public
東主 City of Dallas

City of Fort Worth

管理人 DFW Airport Board
服務城市 Dallas/Fort Worth
海拔 AMSL 607英尺(185米)
坐標 32°53′49″N 097°02′17″W / 32.89694°N 97.03806°W / 32.89694; -97.03806
網站 www.dfwairport.com
機場跑道
方向 長度 表面
13L/31R 9,000 2,743 Concrete
13R/31L 9,301 2,835 Concrete
17C/35C 13,401 4,085 Concrete
17L/35R 8,500 2,591 Concrete
17R/35L 13,401 4,085 Concrete
18L/36R 13,400 4,084 Concrete
18R/36L 13,400 4,084 Concrete
直升機停機坪
編號 長度 表面
H1 158 48 Concrete
統計 (2005)
Passengers 59,176,265
Aircraft operations 711,878
Metric tonnes of cargo 741,432
Sources: FAA[2], airport website[3].

This example uses the {{coord}} template with display=inline,title which displays the coordinates on right side of article's title area directly above infobox AND again inside the infobox. This also causes the title coordinates to appear in a very small font size (due to the combination of the infobox using <small> and title area using font-size:85%). Both issues are resolved in the next example.

{{Infobox Airport
| name         = Dallas-Fort Worth International Airport
| image        = Dfw_airport.jpg
| IATA         = DFW
| ICAO         = KDFW
| FAA          = DFW
| type         = Public
| owner        = City of [[Dallas, Texas|Dallas]]
City of [[Fort Worth, Texas|Fort Worth]]
| operator     = DFW Airport Board
| city-served  = [[Dallas/Fort Worth Metroplex|Dallas/Fort Worth]]
| elevation-f  = 607
| elevation-m  = 185
| coordinates  = {{coord|32|53|49|N|097|02|17|W|type:airport|display=inline,title}}
| website      = [http://www.dfwairport.com/ www.dfwairport.com]
| metric-elev  =
| metric-rwy   =
| r1-number    = 13L/31R
| r1-length-f  = 9,000
| r1-length-m  = 2,743
| r1-surface   = [[Concrete]]
| r2-number    = 13R/31L
| r2-length-f  = 9,301
| r2-length-m  = 2,835
| r2-surface   = Concrete
| r3-number    = 17C/35C
| r3-length-f  = 13,401
| r3-length-m  = 4,085
| r3-surface   = Concrete
| r4-number    = 17L/35R
| r4-length-f  = 8,500
| r4-length-m  = 2,591
| r4-surface   = Concrete
| r5-number    = 17R/35L
| r5-length-f  = 13,401
| r5-length-m  = 4,085
| r5-surface   = Concrete
| r6-number    = 18L/36R
| r6-length-f  = 13,400
| r6-length-m  = 4,084
| r6-surface   = Concrete
| r7-number    = 18R/36L
| r7-length-f  = 13,400
| r7-length-m  = 4,084
| r7-surface   = Concrete
| h1-number    = H1
| h1-length-f  = 158
| h1-length-m  = 48
| h1-surface   = Concrete
| stat-year    = 2005
| stat1-header = Passengers
| stat1-data   = 59,176,265
| stat2-header = Aircraft operations
| stat2-data   = 711,878
| stat3-header = Metric [[tonne]]s of cargo
| stat3-data   = 741,432
| footnotes    = Sources: FAA<ref>{{FAA-airport|ID=DFW|use=PU|own=PU|site=23710.6*A}}</ref>, airport website<ref>[http://www.dfwairport.com/ Dallas-Fort Worth International Airport], official web site</ref>.
}}

Example 4[編輯]

Wright-Patterson Air Force Base

Wright-Patterson Air Force Base


Air Force Materiel Command


National Museum of the United States Air Force

IATA:FFO – ICAO:KFFO – FAA: FFO
摘要
機場類型 Military: Air Force Base
管理人 United States Air Force
地點 Dayton, Ohio
用緊 1948 - present
司令
海拔 AMSL 823英尺(251米)
網站 www.wpafb.af.mil
機場跑道
方向 長度 表面
5L/23R 12,601 3,841 PEM
5R/23L 7,000 2,134 Asphalt
Sources: FAA[4], official website[5].

This example places the {{coord}} template outside the infobox and uses display=title to display the coordinates in the article's title area. This prevents the coordinates from being displayed a second time inside the infobox. It also eliminates the very small font size shown in the previous example.

The infobox shows the use of an image and linked text over the blue background in title area. It also makes use of some of the fields used for military airports.

{{coord|39|49|34|N|084|02|54|W|type:airport|display=title}}
{{Infobox Airport
| name         = Wright-Patterson Air Force Base
[[Image:Air Force Materiel Command.png|100px]]<br/>{{smaller|[[Air Force Materiel Command]]}}
| image        = National Museum of the United States Air Force.jpg
| image-width  = 250
| caption      = [[National Museum of the United States Air Force]]
| IATA         = FFO
| ICAO         = KFFO
| FAA          = FFO
| type         = Military: [[Air Force Base]]
| operator     = [[United States Air Force]]
| location     = [[Dayton, Ohio]]
| built        = <!--1948-->
| used         = 1948 - present
| commander    = <div>
* [[General (United States)|Gen.]] Bruce Carlson - [[Air Force Materiel Command]]
* [[General (United States)|Brig. Gen.]] Bruce E. Davis - [[445th Airlift Wing]]
* [[Colonel (United States)|Col.]] Colleen M. Ryan - [[88th Air Base Wing]] and Installation Commander
</div>
| occupants    =
| elevation-f  = 823
| elevation-m  = 251
| website      = [http://www.wpafb.af.mil/ www.wpafb.af.mil]
| r1-number    = 5L/23R
| r1-length-f  = 12,601
| r1-length-m  = 3,841
| r1-surface   = [[Porous European Mix|PEM]]
| r2-number    = 5R/23L
| r2-length-f  = 7,000
| r2-length-m  = 2,134
| r2-surface   = [[Asphalt]]
| footnotes    = Sources: FAA<ref>{{FAA-airport|ID=FFO|use=PR|own=MA|site=17827.*A}}</ref>, official website<ref>[http://www.wpafb.af.mil/ Wright-Patterson Air Force Base] (official site)</ref>.
}}

References for examples[編輯]

  1. Data from Poland's Office of Civil Aviation (Urząd Lotnictwa Cywilnego): [1] (波蘭文)
  2. Template:FAA-airport
  3. Dallas-Fort Worth International Airport, official web site
  4. Template:FAA-airport
  5. Wright-Patterson Air Force Base (official site)