Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox station: Difference between revisions

Template page
m 1 revision imported
No edit summary
Line 33: Line 33:
| class4  = label
| class4  = label
| label5  = Coordinates
| label5  = Coordinates
|  data5  = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:railwaystation|{{#if:{{{country|{{#property:P17}}}}}|region:{{ISO 3166 code|{{{country|{{#property:P17}}}}}|{{{borough|}}}}}}}}}}}
|  data5  = {{{coordinates|}}}
| label6  = {{if empty|{{{grid_name|}}}|Grid position}}
| label6  = {{if empty|{{{grid_name|}}}|Grid position}}
|  data6  = {{{grid_position|}}}
|  data6  = {{{grid_position|}}}
Line 96: Line 96:
|  data35  = {{{number|}}}
|  data35  = {{{number|}}}
| class35  = nickname
| class35  = nickname
| label36  = [[IATA airport code|IATA code]]
<!--| label36  = [[:wikipedia:IATA airport code|IATA code]]
|  data36  = {{{iata|}}}
|  data36  = {{{iata|}}}-->
| label37  = Fare zone
| label37  = Fare zone
|  data37  = {{{zone|}}}
|  data37  = {{{zone|}}}
Line 182: Line 182:


| header77 = Location
| header77 = Location
|  data78  =  
|  data78  = {{#if:{{{map_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|}}}|size={{{map_size|}}}|upright={{if empty|{{{map_image_upright|}}}|{{{image_upright|}}}|1.35}}|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div style="padding:0.2em 0;">{{{map_caption}}}</div>|}}|}}
{{#if:{{{map_type|}}}
  |{{#if:{{{coordinates|}}}{{#switch:{{#property:P625}}|unknown value|=|#default=1}}
    |{{Location map|{{{map_type}}}
      | AlternativeMap = {{{AlternativeMap|}}}
      | alt = {{{map_alt|}}}
      | overlay_image  = {{{map_overlay|}}}
      | coordinates = {{{coordinates|}}}
      | float = center | border = infobox
      | label  = {{If empty|{{{map_dot_label|}}}|{{{name|}}}|{{PAGENAMEBASE}}}}
      | outside = {{{pushpin_outside|}}}
      | position = {{{map_label_position|}}}
      | caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location within {{#invoke:Location map|data|{{{map_type}}}|name}}}}
      | width  = {{{map_size|}}}
      }}
    |{{superimpose|align=center|base={{#invoke:Location map|data|{{{map_type}}}|image}}|base_width=250px|float=Question mark.svg|x=100|y=50|float_width=50px}}{{main other|[[Category:Articles using Infobox station with a broken location map]]}}
    }}
| {{#if:{{{map_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|}}}|size={{{map_size|}}}|upright={{if empty|{{{map_image_upright|}}}|{{{image_upright|}}}|1.35}}|alt={{{map_alt|}}}}}{{#if:{{{map_caption|}}}|<div style="padding:0.2em 0;">{{{map_caption}}}</div>|}}|}}
}}
|  data79  = {{#invoke:Infobox mapframe|auto|mapframe-marker={{#switch:{{#invoke:wd|property|P31}}
  |{{label|Q494829}}=bus
  |{{label|Q55488}}=rail
  |{{label|Q55491}}|{{label|Q14562709}}=rail-metro
  |{{label|Q2175765}}=rail-light
}}}}
|  data80  = {{#invoke:Infobox mapframe|autocaption}}


| header81 = Notes
| header81 = Notes

Revision as of 06:02, 8 February 2024

Infobox station