Template:Infobox airport: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
|- | |- | ||
{{#if: {{{image<includeonly>|</includeonly>}}}| | {{#if: {{{image<includeonly>|</includeonly>}}}| | ||
{{!}} colspan=4 {{!}} {{# | {{!}} colspan=4 {{!}} [[Image:{{{image}}}|{{#if:{{{image-width|}}}|{{{image-width}}}|220}}px|alt={{{image2_alt|}}}]] | ||
{{!}}- | {{!}}- | ||
{{#if: {{{caption<includeonly>|</includeonly>}}}| | {{#if: {{{caption<includeonly>|</includeonly>}}}| | ||
| Line 12: | Line 12: | ||
}} | }} | ||
{{#if: {{{image2|}}}| | {{#if: {{{image2|}}}| | ||
{{!}} colspan=4 {{!}} {{# | {{!}} colspan=4 {{!}} [[Image:{{{image2}}}|{{#if:{{{image2-width|}}}|{{{image2-width}}}|220}}px|alt={{{image2_alt|}}}]] | ||
{{!}}- | {{!}}- | ||
{{#if: {{{caption2|}}}| | {{#if: {{{caption2|}}}| | ||
| Line 19: | Line 19: | ||
}} | }} | ||
}}f | }}f | ||
! colspan=4 style="white-space: nowrap" | | ! colspan=4 style="white-space: nowrap" | Code: {{#if:{{{code<includeonly>|</includeonly>}}}|<span class="nickname">{{{code}}}</span>|''none''}} | ||
|- | |- | ||
! colspan=4 style="background-color: #69c; color: white" | Summary | ! colspan=4 style="background-color: #69c; color: white" | Summary | ||
| Line 70: | Line 70: | ||
|- style="text-align: left" | |- style="text-align: left" | ||
{{#if: {{{hub<includeonly>|</includeonly>|}}}| | {{#if: {{{hub<includeonly>|</includeonly>|}}}| | ||
! colspan=2 {{!}} [[Airline hub|Hub]] for | ! colspan=2 {{!}} [[wikipedia:Airline hub|Hub]] for | ||
{{!}} colspan=2 {{!}} {{{hub}}} | {{!}} colspan=2 {{!}} {{{hub}}} | ||
}} | }} | ||
|- style="text-align: left" | |- style="text-align: left" | ||
{{#if: {{{focus_city<includeonly>|</includeonly>|}}}| | {{#if: {{{focus_city<includeonly>|</includeonly>|}}}| | ||
! colspan=2 {{!}} [[Focus city|Focus city]] for | ! colspan=2 {{!}} [[wikipedia:Focus city|Focus city]] for | ||
{{!}} colspan=2 {{!}} {{{focus_city}}} | {{!}} colspan=2 {{!}} {{{focus_city}}} | ||
}} | }} | ||
| Line 110: | Line 110: | ||
|- style="text-align: left" | |- style="text-align: left" | ||
{{#if: {{{elevation-f<includeonly>|</includeonly>}}} {{{elevation-m|}}}| | {{#if: {{{elevation-f<includeonly>|</includeonly>}}} {{{elevation-m|}}}| | ||
! colspan=2 {{!}} Elevation [[Above mean sea level|AMSL]] | ! colspan=2 {{!}} Elevation [[wikipedia:Above mean sea level|AMSL]] | ||
{{!}} colspan=2 {{!}} {{#if:{{{metric-elev|}}} | {{!}} colspan=2 {{!}} {{#if:{{{metric-elev|}}} | ||
| {{formatnum: {{{elevation-m|}}} }} m / {{#if: {{{elevation-f<includeonly>|</includeonly>}}} | {{formatnum: {{{elevation-f|}}} }} ft |{{convert|{{{elevation-m|}}}|m|ft|0|disp=output only}} }} | | {{formatnum: {{{elevation-m|}}} }} m / {{#if: {{{elevation-f<includeonly>|</includeonly>}}} | {{formatnum: {{{elevation-f|}}} }} ft |{{convert|{{{elevation-m|}}}|m|ft|0|disp=output only}} }} | ||
| Line 117: | Line 117: | ||
|- style="text-align: left" | |- style="text-align: left" | ||
{{#if: {{{coordinates<includeonly>|</includeonly>}}}| | {{#if: {{{coordinates<includeonly>|</includeonly>}}}| | ||
! colspan=2 {{!}} [[Geographic coordinate system|Coordinates]] | ! colspan=2 {{!}} [[wikipedia:Geographic coordinate system|Coordinates]] | ||
{{!}} colspan=2 {{!}} {{{coordinates}}} | {{!}} colspan=2 {{!}} {{{coordinates}}} | ||
| {{#if: {{both|{{{latd|}}}|{{{longd|}}}}} | | | {{#if: {{both|{{{latd|}}}|{{{longd|}}}}} | | ||
! colspan=2 {{!}} [[Geographic coordinate system|Coordinates]] | ! colspan=2 {{!}} [[wikipedia:Geographic coordinate system|Coordinates]] | ||
{{!}} colspan=2 {{!}} {{Geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|type:{{#if:{{{coordinates_type|}}}|{{{coordinates_type}}}|airport}}{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}}}|title={{#if:{{{coordinates_notitle|}}}||yes}}|wrap=yes}} | {{!}} colspan=2 {{!}} {{Geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|type:{{#if:{{{coordinates_type|}}}|{{{coordinates_type}}}|airport}}{{#if:{{{coordinates_region|}}}|_region:{{{coordinates_region}}}}}|title={{#if:{{{coordinates_notitle|}}}||yes}}|wrap=yes}} | ||
}}}} | }}}} | ||
| Line 165: | Line 165: | ||
|- | |- | ||
{{#if: {{{r1-number<includeonly>|</includeonly>}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}| | {{#if: {{{r1-number<includeonly>|</includeonly>}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}| | ||
! colspan=4 style="background-color: #69c; color: white" {{!}} [[Runway]] | ! colspan=4 style="background-color: #69c; color: white" {{!}} [[wikipedia:Runway|<span style="color:white;">Runways</span>]] | ||
{{!}}- style="background-color: #ddd" | {{!}}- style="background-color: #ddd" | ||
! rowspan=2 style="width: 20%" {{!}} [[Runway#Orientation and dimensions|Direction]] | ! rowspan=2 style="width: 20%" {{!}} [[wikipedia:Runway#Orientation and dimensions|Direction]] | ||
! colspan=2 style="width: 40%" {{!}} Length | ! colspan=2 style="width: 40%" {{!}} Length | ||
! rowspan=2 style="width: 40%" {{!}} Surface | ! rowspan=2 style="width: 40%" {{!}} Surface | ||
| Line 230: | Line 230: | ||
|- style="background-color: #69c; color: white" | |- style="background-color: #69c; color: white" | ||
{{#if: {{{h1-number<includeonly>|</includeonly>}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}| | {{#if: {{{h1-number<includeonly>|</includeonly>}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}| | ||
! colspan=4 {{!}} [[Helipad]] | ! colspan=4 {{!}} [[wikipedia:Helipad|<span style="color:white;">Helipads</span>]] | ||
{{!}}- style="background-color: #ddd" | {{!}}- style="background-color: #ddd" | ||
! rowspan=2 style="width: 15%" {{!}} Number | ! rowspan=2 style="width: 15%" {{!}} Number | ||
| Line 350: | Line 350: | ||
}} | }} | ||
|}<noinclude>{{Documentation}}<!-- Please add categories and interwikis to the /doc subpage, not here. --></noinclude> | |}<noinclude>{{Documentation}}<!-- Please add categories and interwikis to the /doc subpage, not here. --></noinclude> | ||
[[Category:Airports]] | |||
Revision as of 09:15, 27 December 2017
f
| {{{name}}} {{{nativename}}} {{{nativename-a}}} {{{nativename-r}}} | |||
|---|---|---|---|
| [[Image:{{{image}}}|220px|alt=]] | |||
| {{{caption}}} | |||
| Code: {{{code}}} | |||
| Summary | |||
| Elevation AMSL | ft / m | ||
| Coordinates | {{{coordinates}}} | ||
| Runways | |||
| Direction | Length | Surface | |
| ft | m | ||
| {{{r1-number}}} | {{{r1-length-f}}} | {{{r1-length-m }}} | {{{r1-surface}}} |
| {{{r2-number}}} | {{{r2-length-f}}} | {{{r2-length-m }}} | {{{r2-surface}}} |
| Helipads | |||
| Number | Length | Surface | |
| ft | m | ||
| {{{h1-number}}} | {{{h1-length-f}}} | {{{h1-length-m }}} | {{{h1-surface}}} |
| {{{h2-number}}} | {{{h2-length-f}}} | {{{h2-length-m }}} | {{{h2-surface}}} |
| Statistics ({{{stat-year}}}) | |||
| {{{stat1-header}}} | {{{stat1-data}}} | ||
| {{{stat2-header}}} | {{{stat2-data}}} | ||
| {{{footnotes}}} | |||
[edit] []
Template documentation
{{Infobox airport
| name =
| nativename =
| nativename-a =
| nativename-r =
| image =
| image-width =
| caption =
| image2 =
| image2-width =
| caption2 =
| code =
| type =
| owner-oper =
| owner =
| operator =
| city-served =
| location =
| hub =
| focus_city =
| built =
| used =
| commander =
| occupants =
| elevation-f =
| elevation-m =
| metric-elev =
| coordinates =
| latd =
| latm =
| lats =
| latNS =
| longd =
| longm =
| longs =
| longEW =
| coordinates_type =
| coordinates_region =
| coordinates_notitle =
| website =
| pushpin_map =
| pushpin_label =
| pushpin_label_position =
| pushpin_map_alt =
| pushpin_map_caption =
| pushpin_mark =
| pushpin_marksize =
| pushpin_mapsize =
| pushpin_relief =
| pushpin_image =
| image_map =
| image_mapsize =
| image_map_alt =
| image_map_caption =
| metric-rwy =
| r1-number =
| r1-length-f =
| r1-length-m =
| r1-surface =
| r2-number =
| r2-length-f =
| r2-length-m =
| r2-surface =
| r3-number =
| r3-length-f =
| r3-length-m =
| r3-surface =
| r4-number =
| r4-length-f =
| r4-length-m =
| r4-surface =
| r5-number =
| r5-length-f =
| r5-length-m =
| r5-surface =
| r6-number =
| r6-length-f =
| r6-length-m =
| r6-surface =
| r7-number =
| r7-length-f =
| r7-length-m =
| r7-surface =
| r8-number =
| r8-length-f =
| r8-length-m =
| r8-surface =
| h1-number =
| h1-length-f =
| h1-length-m =
| h1-surface =
| h2-number =
| h2-length-f =
| h2-length-m =
| h2-surface =
| h3-number =
| h3-length-f =
| h3-length-m =
| h3-surface =
| h4-number =
| h4-length-f =
| h4-length-m =
| h4-surface =
| h5-number =
| h5-length-f =
| h5-length-m =
| h5-surface =
| h6-number =
| h6-length-f =
| h6-length-m =
| h6-surface =
| h7-number =
| h7-length-f =
| h7-length-m =
| h7-surface =
| h8-number =
| h8-length-f =
| h8-length-m =
| h8-surface =
| h9-number =
| h9-length-f =
| h9-length-m =
| h9-surface =
| h10-number =
| h10-length-f =
| h10-length-m =
| h10-surface =
| h11-number =
| h11-length-f =
| h11-length-m =
| h11-surface =
| h12-number =
| h12-length-f =
| h12-length-m =
| h12-surface =
| stat-year =
| stat1-header =
| stat1-data =
| stat2-header =
| stat2-data =
| stat3-header =
| stat3-data =
| stat4-header =
| stat4-data =
| footnotes =
| box-width =
}}
{{Infobox airport
| name = Example Airport
| code = EXA
| type = Public
| city-served = Example City
| location = Example Country
| elevation-f = 100
| r1-number = 09/27
| r1-length-f = 10000
| r1-surface = Asphalt
}}
| The above documentation is transcluded from Template:Infobox airport/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |