Template:Infobox airport: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mNo edit summary
m update links
 
Line 24: Line 24:
| 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">[[Air Traffic Regulatory Organization|ATRO]]: {{#if:{{{ATRO|}}}|<span class="nickname">{{{ATRO}}}</span>|''none''}}</span>
  |1=<span class="nowrap">[[Air Traffic Regulatory Organization|ATRO]]: {{#if:{{{ATRO|}}}|<span class="nickname">{{{ATRO}}}</span>|''none''}}</span>
  |2=<span class="nowrap">[[ICAO airport code|ICAO]]: {{#if:{{{ICAO|}}}|<span class="nickname">{{{ICAO}}}</span>|''none''}}</span>
  |2=<span class="nowrap">{{wp|ICAO 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">{{wp|Federal Aviation Administration|FAA}} {{wp|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">{{wp|Transport Canada|TC}} {{wp|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">{{wp|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">{{wp|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">{{wp|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 = {{wp|Airline hub|Hub}} for
| data11 = {{{hub|}}}
| data11 = {{{hub|}}}


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


Line 82: Line 82:
| data17 = {{{occupants|}}}
| data17 = {{{occupants|}}}


| label18 = [[Time zone]]
| label18 = {{wp|Time zone}}
| data18 = {{#if: {{{timezone|}}} {{{utc|}}}| {{{timezone}}} ({{{utc}}}) }}
| data18 = {{#if: {{{timezone|}}} {{{utc|}}}| {{{timezone}}} ({{{utc}}}) }}


| label19 = &nbsp;•&nbsp;Summer ([[Daylight saving time|DST]])
| label19 = &nbsp;•&nbsp;Summer ({{wp|Daylight saving time|DST}})
| data19 = {{#if: {{{summer|}}} {{{utcs|}}}| {{{summer}}} ({{{utcs}}}) }}
| data19 = {{#if: {{{summer|}}} {{{utcs|}}}| {{{summer}}} ({{{utcs}}}) }}


| label20 = Elevation&nbsp;[[Height above sea level|AMSL]]
| label20 = Elevation&nbsp;{{wp|Height above sea level|AMSL}}
| data20 = {{#if:{{{elevation-f|}}} {{{elevation-m|}}}
| data20 = {{#if:{{{elevation-f|}}} {{{elevation-m|}}}
   |{{#if:{{{metric-elev|}}}
   |{{#if:{{{metric-elev|}}}
Line 96: Line 96:
   }}
   }}


| label21 = [[Geographic coordinate system|Coordinates]]
| label21 = {{wp|Geographic coordinate system|Coordinates}}
| data21 = {{#if: {{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:airport}}}}
| data21 = {{#if: {{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:airport}}}}


Line 132: Line 132:
| data36    = {{#invoke:Infobox mapframe|autocaption}}
| data36    = {{#invoke:Infobox mapframe|autocaption}}


| header37 = {{#if: {{{r1-number|}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}|[[Runway|{{Font color|black|#DDDDFF|Runways}}]]}}
| header37 = {{#if: {{{r1-number|}}} {{{r1-length-f|}}} {{{r1-length-m|}}} {{{r1-surface|}}}|{{wp|Runway|{{Font color|black|#DDDDFF|Runways}}}}}}


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


| header39 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}|[[Helipad|{{Font color|black|#DDDDFF|Helipads}}]]}}
| header39 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}|{{wp|Helipad|{{Font color|black|#DDDDFF|Helipads}}}}}}


| data40 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}
| data40 = {{#if: {{{h1-number|}}} {{{h1-length-f|}}} {{{h1-length-m|}}} {{{h1-surface|}}}

Latest revision as of 17:23, 20 January 2024

Script error: The function "autocaption" does not exist.