Template:Infobox airport: Difference between revisions

Jump to navigation Jump to search
en>Jonesey95
(Change span class=xxx to div to fix Linter div-span-flip error.)
 
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 23: Line 23:
| rowstyle1 = font-weight:bold;
| rowstyle1 = font-weight:bold;
| data1 = <includeonly>{{hlist|style={{#if:{{{FAA|}}}{{{TC|}}}{{{LID|}}}{{{WMO|}}}|width:22.5em}}
| data1 = <includeonly>{{hlist|style={{#if:{{{FAA|}}}{{{TC|}}}{{{LID|}}}{{{WMO|}}}|width:22.5em}}
  |1=<span class="nowrap">[[International Air Transport Association airport code|IATA]]: {{#if:{{{IATA|}}}|<span class="nickname">{{{IATA}}}</span>|''none''}}</span>
  |1=<span class="nowrap">[[wikipedia:International Air Transport Association airport code|IATA]]: {{#if:{{{IATA|}}}|<span class="nickname">{{{IATA}}}</span>|''none''}}</span>
  |2=<span class="nowrap">[[International Civil Aviation Organization airport code|ICAO]]: {{#if:{{{ICAO|}}}|<span class="nickname">{{{ICAO}}}</span>|''none''}}</span>
  |2={{#if:{{{ACAO|}}}|<span class="nowrap">[[Astyrian Civil Aviation Organization airport code|ACAO]]: <span class="nickname">{{{ACAO}}}</span></span>|<span class="nowrap">[[wikipedia:International Civil Aviation Organization airport code|ICAO]]: {{#if:{{{ICAO|}}}|<span class="nickname">{{{ICAO}}}</span>|''none''}}</span>}}
  |3={{#if:{{{FAA|}}}|<span class="nowrap">[[Federal Aviation Administration|FAA]] [[Location identifier#FAA identifier|LID]]: <span class="nickname">{{{FAA}}}</span></span>}}
  |3={{#if:{{{FAA|}}}|<span class="nowrap">[[wikipedia:Federal Aviation Administration|FAA]] [[wikipedia:Location identifier#FAA identifier|LID]]: <span class="nickname">{{{FAA}}}</span></span>}}
  |4={{#if:{{{TC|}}} |<span class="nowrap">[[Transport Canada|TC]] [[Location identifier#Transport Canada identifier|LID]]: <span class="nickname">{{{TC}}}</span></span>}}
  |4={{#if:{{{TC|}}} |<span class="nowrap">[[Transport Canada|TC]] [[wikipedia:Location identifier#Transport Canada identifier|LID]]: <span class="nickname">{{{TC}}}</span></span>}}
  |5={{#if:{{{LID|}}}|<span class="nowrap">[[Location identifier|LID]]: <span class="nickname">{{{LID}}}</span></span>}}
  |5={{#if:{{{LID|}}}|<span class="nowrap">[[wikipedia:Location identifier|LID]]: <span class="nickname">{{{LID}}}</span></span>}}
  |6={{#if:{{{GPS|}}}|<span class="nowrap">[[Global Positioning System|GPS]]: <span class="nickname">{{{GPS}}}</span></span>}}
  |6={{#if:{{{GPS|}}}|<span class="nowrap">[[wikipedia:Global Positioning System|GPS]]: <span class="nickname">{{{GPS}}}</span></span>}}
  |7={{#if:{{{WMO|}}}|<span class="nowrap">[[Location identifier#WMO station identifiers|WMO]]: <span class="nickname">{{{WMO}}}</span></span>}}
  |7={{#if:{{{WMO|}}}|<span class="nowrap">[[wikipedia:Location identifier#WMO station identifiers|WMO]]: <span class="nickname">{{{WMO}}}</span></span>}}
}}</includeonly>
}} </includeonly>
| header2 = <includeonly>Summary</includeonly>
| header2 = <includeonly>Summary</includeonly>


Line 61: Line 61:
| data10 = {{{passenger_services_ceased|}}}
| data10 = {{{passenger_services_ceased|}}}


| label11 = [[Airline hub|Hub]] for
| label11 = [[wikipedia:Airline hub|Hub]] for
| data11 = {{{hub|}}}
| data11 = {{{hub|}}}


| label12 = [[Focus city]] for
| label12 = [[wikipedia:Focus city|Focus city]] for
| data12 = {{{focus_city|}}}
| data12 = {{{focus_city|}}}


Line 79: Line 79:
| data16 = {{{occupants|}}}
| data16 = {{{occupants|}}}


| label17 = [[Time zone]]
| label17 = [[wikipedia:Time zone|Time zone]]
| data17 = {{#if: {{{timezone|}}} {{{utc|}}}| {{{timezone}}} ({{{utc}}}) }}
| data17 = {{#if: {{{timezone|}}} {{{utc|}}}| {{{timezone}}} ({{{utc}}}) }}


| label18 = &nbsp;•&nbsp;Summer ([[Daylight saving time|DST]])
| label18 = &nbsp;•&nbsp;Summer ([[wikipedia:Daylight saving time|DST]])
| data18 = {{#if: {{{summer|}}} {{{utcs|}}}| {{{summer}}} ({{{utcs}}}) }}
| data18 = {{#if: {{{summer|}}} {{{utcs|}}}| {{{summer}}} ({{{utcs}}}) }}


| label19 = Elevation&nbsp;[[Above mean sea level|AMSL]]
| label19 = Elevation&nbsp;[[wikipedia:Above mean sea level|AMSL]]
| data19 = {{#if:{{{elevation-f|}}} {{{elevation-m|}}}
| data19 = {{#if:{{{elevation-f|}}} {{{elevation-m|}}}
   |{{#if:{{{metric-elev|}}}
   |{{#if:{{{metric-elev|}}}
Line 93: Line 93:
   }}
   }}


| label20 = [[Geographic coordinate system|Coordinates]]
| label20 = [[wikipedia:Geographic coordinate system|Coordinates]]
| data20 = {{#if: {{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:airport}}}}
| data20 = {{#if: {{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:airport}}}}


Line 121: Line 121:
}} }}
}} }}


| header25 = {{#if: {{{r1-number|}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}|[[Runway|{{colors|black|#DDDDFF|Runways}}]]}}
| header25 = {{#if: {{{r1-number|}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}|[[wikipedia:Runway|{{colors|black|#DDDDFF|Runways}}]]}}


| data26 = {{#if: {{{r1-number|}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}
| data26 = {{#if: {{{r1-number|}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}
  |{{Infobox airport/datatable
  |{{Infobox airport/datatable
  | nlabel = [[Runway#Naming|Direction]]
  | nlabel = [[wikipedia:Runway#Naming|Direction]]
  | metric = {{{metric-rwy|}}}
  | metric = {{{metric-rwy|}}}
  | n1  = {{{r1-number|}}}
  | n1  = {{{r1-number|}}}
Line 147: Line 147:
}}}}
}}}}


| header27 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}|[[Helipad|{{colors|black|#DDDDFF|Helipads}}]]}}
| header27 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}|[[wikipedia:Helipad|{{colors|black|#DDDDFF|Helipads}}]]}}


| data28 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}
| data28 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}
Line 199: Line 199:


| data32 = {{{embed|}}}
| data32 = {{{embed|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox airport with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox airport]] with unknown parameter "_VALUE_"|ignoreblank=y| area-served | box-width | built | caption | caption2 | city-served | closed | commander | coordinates | elevation-f | elevation-m | embed | ensign | ensign_alt | ensign_size | FAA | focus_city | footnotes | GPS | h1-length-f | h1-length-m | h1-number | h1-surface | h10-length-f | h10-length-m | h10-number | h10-surface | h11-length-f | h11-length-m | h11-number | h11-surface | h12-length-f | h12-length-m | h12-number | h12-surface | h2-length-f | h2-length-m | h2-number | h2-surface | h3-length-f | h3-length-m | h3-number | h3-surface | h4-length-f | h4-length-m | h4-number | h4-surface | h5-length-f | h5-length-m | h5-number | h5-surface | h6-length-f | h6-length-m | h6-number | h6-surface | h7-length-f | h7-length-m | h7-number | h7-surface | h8-length-f | h8-length-m | h8-number | h8-surface | h9-length-f | h9-length-m | h9-number | h9-surface | hub | IATA | ICAO | image | image_alt | image_map | image_map_alt | image_map_caption | image_mapsize | image-width | image2 | image2_alt | image2-width | LID | location | metric-elev | metric-rwy | name | nativename | nativename-a | nativename-r | occupants | opened | operator | owner | owner-oper | passenger_services_ceased | pushpin_image | pushpin_label | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_mark | pushpin_marksize | pushpin_outside | pushpin_relief | r1-length-f | r1-length-m | r1-number | r1-surface | r10-length-f | r10-length-m | r10-number | r10-surface | r11-length-f | r11-length-m | r11-number | r11-surface | r12-length-f | r12-length-m | r12-number | r12-surface | r2-length-f | r2-length-m | r2-number | r2-surface | r3-length-f | r3-length-m | r3-number | r3-surface | r4-length-f | r4-length-m | r4-number | r4-surface | r5-length-f | r5-length-m | r5-number | r5-surface | r6-length-f | r6-length-m | r6-number | r6-surface | r7-length-f | r7-length-m | r7-number | r7-surface | r8-length-f | r8-length-m | r8-number | r8-surface | r9-length-f | r9-length-m | r9-number | r9-surface | stat-year | stat1-data | stat1-header | stat2-data | stat2-header | stat3-data | stat3-header | stat4-data | stat4-header | stat5-data | stat5-header | stat6-data | stat6-header | stat7-data | stat7-header | stat8-data | stat8-header | summer | TC | timezone | type | used | utc | utcs | website | WMO
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox airport with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox airport]] with unknown parameter "_VALUE_"|ignoreblank=y| ACAO | area-served | box-width | built | caption | caption2 | city-served | closed | commander | coordinates | elevation-f | elevation-m | embed | ensign | ensign_alt | ensign_size | FAA | focus_city | footnotes | GPS | h1-length-f | h1-length-m | h1-number | h1-surface | h10-length-f | h10-length-m | h10-number | h10-surface | h11-length-f | h11-length-m | h11-number | h11-surface | h12-length-f | h12-length-m | h12-number | h12-surface | h2-length-f | h2-length-m | h2-number | h2-surface | h3-length-f | h3-length-m | h3-number | h3-surface | h4-length-f | h4-length-m | h4-number | h4-surface | h5-length-f | h5-length-m | h5-number | h5-surface | h6-length-f | h6-length-m | h6-number | h6-surface | h7-length-f | h7-length-m | h7-number | h7-surface | h8-length-f | h8-length-m | h8-number | h8-surface | h9-length-f | h9-length-m | h9-number | h9-surface | hub | IATA | ICAO | image | image_alt | image_map | image_map_alt | image_map_caption | image_mapsize | image-width | image2 | image2_alt | image2-width | LID | location | metric-elev | metric-rwy | name | nativename | nativename-a | nativename-r | occupants | opened | operator | owner | owner-oper | passenger_services_ceased | pushpin_image | pushpin_label | pushpin_label_position | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_mark | pushpin_marksize | pushpin_outside | pushpin_relief | r1-length-f | r1-length-m | r1-number | r1-surface | r10-length-f | r10-length-m | r10-number | r10-surface | r11-length-f | r11-length-m | r11-number | r11-surface | r12-length-f | r12-length-m | r12-number | r12-surface | r2-length-f | r2-length-m | r2-number | r2-surface | r3-length-f | r3-length-m | r3-number | r3-surface | r4-length-f | r4-length-m | r4-number | r4-surface | r5-length-f | r5-length-m | r5-number | r5-surface | r6-length-f | r6-length-m | r6-number | r6-surface | r7-length-f | r7-length-m | r7-number | r7-surface | r8-length-f | r8-length-m | r8-number | r8-surface | r9-length-f | r9-length-m | r9-number | r9-surface | stat-year | stat1-data | stat1-header | stat2-data | stat2-header | stat3-data | stat3-header | stat4-data | stat4-header | stat5-data | stat5-header | stat6-data | stat6-header | stat7-data | stat7-header | stat8-data | stat8-header | summer | TC | timezone | type | used | utc | utcs | website | WMO
}}<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>

Latest revision as of 16:52, 15 October 2024