Template:Infobox station/doc

From Colonia Wiki
Revision as of 17:07, 5 October 2021 by Sudofox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template may be used for rail, tram, bus, and intermodal transport stations.

Usage

{{{name}}}

{{{native_name}}}
{{{type}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{caption}}}
Other names{{{other_name}}}
Location{{{address}}}
{{{borough}}}
{{{country}}}
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
{{{grid_name}}}{{{grid_position}}}
Elevation{{{elevation}}}
Owned by{{{owned}}}
Operated by{{{operator}}}
Managed by{{{manager}}}
Transit authority{{{transit_authority}}}
Line(s){{{line}}}
Distance{{{distance}}}
Platforms{{{platforms}}}
Tracks{{{tracks}}}
Train operators{{{train_operators}}}
Bus routes{{{bus_routes}}}
Bus stands{{{bus_stands}}}
Bus operators{{{bus_operators}}}
Connections{{{connections}}}
Construction
Structure type{{{structure}}}
Depth{{{depth}}}
Platform levels{{{levels}}}
Parking{{{parking}}}
Bicycle facilities{{{bicycle}}}
Disabled access{{{disabled}}}
Architect{{{architect}}}
Architectural style{{{architectural_style}}}
Other information
Status{{{status}}}
Station code{{{code}}}
IATA code{{{iata}}}
Fare zone{{{zone}}}
Classification{{{classification}}}
Website{{{website}}}
History
Opened{{{opened}}}
Opening{{{opening}}}
Closed{{{closed}}}
Rebuilt{{{rebuilt}}}
Electrified{{{electrified}}}
Previous names{{{former}}}
Original company{{{original}}}
Pre-grouping{{{pregroup}}}
Post-grouping{{{postgroup}}}
Pre-nationalisation{{{prenational}}}
Key dates
{{{years}}}{{{events}}}
{{{years1}}}{{{events1}}}
{{{years11}}}{{{events11}}}
{{{years12}}}{{{events12}}}
Passengers
{{{pass_year}}}{{{passengers}}} Steady 0% ({{{pass_system}}})
Rank{{{pass_rank}}}
{{{mpassengers}}}
Services
  {{{services}}}  
{{{other_services_header}}}
  {{{other_services}}}  
{{{other_services2_header}}}
  {{{other_services2}}}  
{{{embedded}}}
{{{nrhp}}}
Route map
{{{route_map}}}
Location
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
Notes
{{{footnotes}}}

Railway stations

{{Infobox station
| name                = 
| name_lang           = 
| native_name         = 
| native_name_lang    = 
| symbol              = 
| symbol_location     = 
| type                = 
| image               = 
| alt                 = 
| caption             = 
| other_name          = 
| address             = 
| borough             = 
| country             = 
| coordinates         = <!-- {{coord|latitude|N/S|longitude|E/W|display=inline,title}} -->
| grid_name           = 
| grid_position       = 
| elevation           = 
| owned               = 
| operator            = 
| manager             = 
| transit_authority   = 
| line                = 
| distance            = 
| platforms           = 
| tracks              = 
| train_operators     = 
| connections         = 
| structure           = 
| depth               = 
| levels              = 
| parking             = 
| bicycle             = 
| disabled            = 
| architect           = 
| architectural_style = 
| status              = 
| code                = 
| iata                = 
| zone                = 
| classification      = 
| website             = 
| opened              = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| opening             = 
| closed              = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| rebuilt             = 
| electrified         = 
| former              = 
| original            = 
| pregroup            = 
| postgroup           = 
| prenational         = 
| years               = 
| events              = 
| passengers          = 
| pass_system         = 
| pass_year           = 
| pass_percent        = 
| pass_rank           = 
| services            = 
| other_services      = 
| other_services_collapsible = 
| other_services_header = 
| other_services2     = 
| other_services2_collapsible = 
| other_services2_header = 
| footnotes           = 
| mapframe              = yes
| mapframe-stroke-color = #C60C30
| mapframe-marker       = station
| mapframe-marker-color = #1F2F57
| mapframe-zoom         = 9
}}

Bus stations

{{Infobox station
| name                = 
| name_lang           = 
| native_name         = 
| native_name_lang    = 
| symbol              = 
| symbol_location     = 
| type                = 
| image               = 
| alt                 = 
| caption             = 
| other_name          = 
| address             = 
| borough             = 
| country             = 
| coordinates         = <!-- {{coord|latitude|N/S|longitude|E/W|display=inline,title}} -->
| grid_name           = 
| grid_position       = 
| elevation           = 
| owned               = 
| operator            = 
| manager             = 
| transit_authority   = 
| line                = 
| distance            = 
| bus_routes          = 
| bus_stands          = 
| bus_operators       = 
| connections         = 
| structure           = 
| depth               = 
| levels              = 
| parking             = 
| bicycle             = 
| disabled            = 
| architect           = 
| architectural_style = 
| status              = 
| code                = 
| iata                = 
| zone                = 
| classification      = 
| website             = 
| opened              = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| opening             = 
| closed              = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| rebuilt             = 
| former              = 
| original            = 
| pregroup            = 
| postgroup           = 
| prenational         = 
| years               = 
| events              = 
| passengers          = 
| pass_system         = 
| pass_year           = 
| pass_percent        = 
| pass_rank           = 
| services            = 
| other_services      = 
| other_services_collapsible = 
| other_services_header = 
| other_services2     = 
| other_services2_collapsible = 
| other_services2_header = 
| footnotes           = 
| mapframe              = yes
| mapframe-stroke-color = #C60C30
| mapframe-marker       = station
| mapframe-marker-color = #1F2F57
| mapframe-zoom         = 9
}}

Parameters

Descriptions

Name

name
name
name_lang
ISO 639-1 code or IETF language tag (for name); e.g. fr for French.
native_name
name in local language. If more than one, separate using {{Plain list}}
native_name_lang
ISO 639-1 code or IETF language tag (for native_name); e.g. fr for French. If more than one, use {{lang}} instead
other_name
current alternative name(s)
custom_header
custom header
mlanguage
insert a language module, e.g. {{Infobox Korean name}}. For best display results, set |child=yes.

Station symbols

symbol
Symbol reference of the primary operator or network; second parameter of {{Rail-interchange}}
symbol_location
The code of location of the station; first parameter of {{Rail-interchange}}
symboln
Symbol reference of a secondary operator or network; second parameter of {{Rail-interchange}} (symboln from 2 to 6)
symbol_locationn
The code of location of the station; first parameter of {{Rail-interchange}}. Not needed if identical to symbol_location (symbol_locationn from 2 to 6)

Overview

type
Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail); e.g. SEPTA rapid transit and tram station; Metrolink commuter rail station; San Diego Transit light rail station; RTA rapid transit station
style
Refers to an external 'style' template (see external style template for details). Leave blank if you do not have this.
image
Image of the station
image_upright
Adjust the size of the image as a ratio
alt
Image alt text; see WP:ALT
caption
Caption to be placed under the image of the station
address
Street address of the station
borough
Country administrative subdivisions
country
Country; this is displayed inline and used with {{coord}} when present. Must be in a format recognized by {{ISO 3166 code}}.
coordinates
Geographic coordinates. Use {{coord}} with display=inline,title; for example: {{coord|dd|mm|ss|N/S|dd|mm|ss|E/W|display=inline,title}}. (See the {{Coord}} documentation for more information.) type:railwaystation is automatically added, unless a different type is specified in the optional unnamed parameter after the coordinate values.
grid_name
Name of regional grid
grid_position
Position on regional grid (typically using a regional grid template)
elevation
MSL elevation
owned
Station owner name
operator
Station operator name, if different from manager
manager
Station manager name, if different from operator
transit_authority
Local transit authority
line
List of lines (physical infrastructure) that the station is on. Use {{Plainlist}}. Named services should go below. Alias is lines.
distance
The distance from a set point on the line, to this station
platforms
Information on the type of platform(s) at the station, alias is platform.
tracks
Number of tracks at the station
train_operators
List of train operating companies (TOCs) that serve the station. Use {{Plainlist}}
bus_routes
number of bus routes serving the station
bus_stands
number of bus stands at the station
bus_operators
bus operators serving the station
connections
Connecting services that serve the station such as bus

Construction

structure
Type of station structure (underground, at-grade, or elevated)
depth
The depth of the primary platform below ground level
levels
Number of levels of platforms at the station (use only if more than one exists; mezzanine/entrance levels are not included)
parking
Information on station's parking facilities
bicycle
Information on station's bicycle facilities
disabled
What special facilities does the station have for people with disabilities
architect
Architect of the station
architectural_style
Architectural style, e.g. Baroque

Other information

status
Generic station status field, e.g. Unstaffed
code
Agency station code (used on tickets/reservations, etc.)
iata
IATA airport code
zone
Fare zone station is located in
classification
Station national classification
website
Web address of the station; use {{URL}}
footnotes
General footnotes

History

opened
Date station originally opened
opening
Date station will be opening, if not open yet
closed
Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only)
rebuilt
Date station last received a rebuild
electrified
Date station was electrified, if not previously at date of opening
former
Previous station name(s)
original
Original company name
pregroup
Pre-grouping
postgroup
Post-grouping
prenational
Pre-nationalisation
years
Date or year of an event (continue with yearsn from 1 to 12)
events
Event that occurred on that date (continue with eventsn from 1 to 12)

Traffic

passengers
Number of passengers using the station. In the reference, please make it clear if this figure is per day, per year, etc.
pass_system
System the passengers are using
pass_year
Year passenger information was gathered
pass_percent
Percentage increase or decrease in usage
pass_rank
Rank by passenger traffic of the station compared to total number of stations within the system, e.g. 115 out of 421
mpassengers
Allows display of multiple passenger totals using {{Rail pass box}}

Services

services
Allows inclusion of the s-rail/s-line boxes for named services. (Do not use {{s-start}} and {{s-end}} templates.)
services_collapsible
If set to 1, yes or collapsible, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header

Other services

other_services
Allows inclusion of the s-rail/s-line boxes for additional services. (Do not use {{s-start}} and {{s-end}} templates.) Goes up to other_services2.
other_services_collapsible
If set to 1, yes or collapsible, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header. Goes up to other_services2_collapsible.
other_services_header
Set the header of this section (defaults to Other services). Goes up to other_services2_header.

Location

map_type, map_overlay, AlternativeMap, map_alt, map_caption, map_size, map_dot_label, map_label_position
Allows inclusion of an image of the station location on a map (see map and coordinates for details)
route_map
Allows inclusion of route diagram
map_state
Determines route map state ("expanded" or "collapsed").

Map and coordinates

  • The location map uses the value of the |coordinates= parameter. It was previously necessary to use individual parameters for latitude and longitude, but the format was obsoleted by an RfC in August 2016 (see Help:Coordinates in infoboxes).
  • The ISO 3166-1 alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the country= and borough= parameters. This can be overridden by specifying region:XX or region:XX-ABC in the unnamed parameter after the coordinate values.
{{Infobox station
...
| coordinates         = <!-- {{Coord}} template -->
| map_type            = <!-- Location from Location map. -->
| map_overlay         = <!-- Overlay image file name, to be placed on top of the main map. Should have the same border coordinates. -->
| AlternativeMap      = <!-- Alternative map file name (changes background map, border coordinates are determined based on the map name); this is only recommended for use in templates. -->
| map_alt             = <!-- Alternative text for map image, see [[WP:ALT]] -->
| map_caption         = <!-- Map caption; for no caption leave it blank; if the parameter is omitted then the caption will be "Marker text (location map name)" -->
| map_size            = <!-- Width of map -->
| map_dot_label       = <!-- Text to be displayed next to dot on map image -->
| map_label_position  = <!-- Override automatic label positioning; valid values are left, right, top, bottom, or none -->
...
}}

Mapframes

This template supports mapframes. Parameter instructions:

  • Basic parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
    • mapframe-caption – Caption for the map. Default: blank (or if |mapframe-geomask= is set, "Location in geomask's label")
    • mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a {{maplink}} template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified
    • mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata
    • mapframe-wikidata – Set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">yes</syntaxhighlight> to show shape/line features from the wikidata item, if any, when |coord= is set. Default: not specified
  • Customise which features are displayed:
    • mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
    • mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">on</syntaxhighlight>. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" id="" style="" inline="1">none</syntaxhighlight>. Default: not specified
    • mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P17), P131 for Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131)). Default: automatically determined by the Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P31) value on Wikidata, if available
    • mapframe-switcher – set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • <syntaxhighlight lang="text" class="" id="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P276) and Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.
      • <syntaxhighlight lang="text" class="" id="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
      • <syntaxhighlight lang="text" class="" id="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" id="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" id="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
  • Other optional parameters:
    • mapframe-frame-width or mapframe-width – Frame width. Default: 270
    • mapframe-frame-height or mapframe-height – Frame height. Default: 200
    • mapframe-shape-fill – Color used to fill shape features. Default: #606060
    • mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
    • mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
    • mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
    • mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: automatically determined by the Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P31) value on Wikidata, if available
      • Can also be set to <syntaxhighlight lang="text" class="" id="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
    • mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
    • mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
    • mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
    • mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
    • mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
    • mapframe-zoom – Set the zoom level, from "1" to "18", to used if the zoom level cannot be determined automatically from object length or area. Default: 10
    • mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
    • mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates

External style template

An external style template may be used to allow the modification of display parameters. This can be the same template that is used in conjunction with Template:S-line, but may be a different template. The |style= parameter is used to specify the name of the template where the styling is defined; the template's name must end with the word "style", but this word must be omitted from the |style= parameter. For example, |style=STM will use the {{STM style}} template.

Parameter Description
name_format Formatting the station name in Infobox station
thcolor Font color for table headings in Infobox station
thbgcolor Background color for table headings in Infobox station

For systems which have an Adjacent stations module defined the |style2= parameter may be used to specify a sub-style within that system. For example, |style2=Amtrak old used with |style=Amtrak will return the pre-Acela Amtrak heritage colors from Module:Adjacent stations/Amtrak.

Embedding other infoboxes

The |embedded= or |nrhp= parameters can be used to embed another infobox with such capability like {{infobox designation list}} and {{infobox NRHP}}.

Old parameters

Obsolete / Unsupported

The following parameters have been obsoleted and will no longer function:

  • baggage_check – Whether bags can be checked
  • facilities – generic facilities parameter; use more specific parameters where possible
  • gates – Type (or presence) of ticket barriers/ gates
  • image_size – Size in pixels of the image of the station
  • local_authority – Local authority or council covering the station
  • map
  • map dot label
  • Melway
  • pte
  • reopened
  • reopening
  • smartcardname – name of any smartcard(s) that are or will be available at the station
  • smartcardstatus – "Yes" if smart card is available, or a date (or other information) if available in the future (see Union (TTC) for an example)
  • station_type
  • travelcentre – Whether there is a travel advice centre
  • iso_region

Deprecated

The following parameters are deprecated and may be removed in the future:

  • ADA – If any text is placed here a universal symbol for accessibility will appear
  • map_image – Allows inclusion of an image of the station location on a map (only use when a mapframe or a location map is not appropriate).
Korean name

Examples

This first example shows the infobox of Sinanju Station with the Korean names:

Sinanju Ch'ŏngnyŏn Station
Korean name
Hangul
신안주청년역
Hanja
Revised RomanizationSinanju-cheongnyeonyeok
McCune–ReischauerSinanju-ch'ŏngnyŏnyŏk
General information
LocationAnju, South Pyongan Province
North Korea
Line(s)P'yŏngŭi Line
Kaech'ŏn Line
{{Infobox station 
| name          = Sinanju Ch'ŏngnyŏn Station
| hangul        = 신안주청년역
| hanja         = {{linktext|新|安|州|青|年|驛}}
| mr            = Sinanju-ch'ŏngnyŏnyŏk
| rr            = Sinanju-cheongnyeonyeok
| image         = Sinanju Chongnyon Station.jpg
| caption       = 
| borough       = [[Anju, South Pyongan|Anju]], [[South Pyongan Province]]
| country       = North Korea
| coordinates   = 
| line          = [[Pyongui Line|P'yŏngŭi Line]]<br />[[Kaechon Line|Kaech'ŏn Line]]
}}

This second example from the Paso Robles station article uses {{Adjacent stations}} in the |services= parameter, and the external style template:

Paso Robles, CA
Paso Robles train station in 2012
Location800 Pine Street
Paso Robles, California 93446
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Owned byCity of Paso Robles
Line(s)Coast Line
Platforms1 side platform
Tracks1
ConnectionsAmtrak Thruway Motorcoach, RTA Route 9, Paso Express, MST Route 83, Orange Belt Stages
Other information
Station codePRB
History
Original companySouthern Pacific
Passengers
201512,149 Increase 0.69% (Amtrak)
Services
Preceding station Amtrak Following station
Salinas
toward Seattle
Coast Starlight San Luis Obispo
Former services
Preceding station Southern Pacific Railroad Following station
Wellsona Coast Line Atscadero
Location
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
{{Infobox station
 | style          = Amtrak
 | name           = Paso Robles, CA
 | image          = Paso Robles Train Station.jpg
 | caption        = Paso Robles train station in 2012
 | address        = 800 Pine Street<br />[[Paso Robles, California]] 93446
 | coordinates    = {{coord|35.6227|-120.6878|region:US-CA|display=inline}}
 | mapframe       = yes
 | mapframe-zoom  = 14
 | line           = [[Coast Line (UP)|Coast Line]]<!-- the physical "line" is not the same as "services" which are detailed below -->
 | connections    = [[Amtrak Thruway Motorcoach]], [[San Luis Obispo Regional Transit Authority|RTA]] Route 9, [[List of small Southern California transit agencies#Paso Express|Paso Express]], [[Monterey Salinas Transit|MST]] Route 83, [[Orange Belt Stages]]
 | platform       = 1 [[side platform]]
 | tracks         = 1
 | passengers     = 12,149
 | pass_year      = 2015
 | pass_percent   = 0.69
 | pass_system    = Amtrak
 | original       = [[Southern Pacific]]
 | code           = PRB
 | owned          = City of Paso Robles 
 | services       = {{Adjacent stations|system=Amtrak|line=Coast Starlight|left=Salinas|right=San Luis Obispo|to-left=Seattle|to-right=Los Angeles}}
 | other_services_header = Former services
 | other_services_collapsible = yes
 | other_services = {{Adjacent stations|system1=Southern Pacific Railroad|line1=Coast Line|left1=Wellsona|right1=Atscadero}}
}}

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking categories

TemplateData

TemplateData documentation used by VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox station

<templatedata> { "params": { "style": { "type": "string", "required": false, "label": "Style template", "description": "Refers to an external 'style' template" }, "style2": { "type": "string", "required": false, "label": "Style template", "description": "Refers to an external 'style' template" }, "custom_header": { "type": "string", "required": false, "label": "Custom header", "aliases": [ "cta_header" ] }, "name_lang": { "type": "string", "required": false, "label": "Name language", "description": "ISO 639-1 code (for name)" }, "name": { "type": "string", "required": false, "suggested": true, "label": "Name", "description": "Name of the station" }, "native_name": { "type": "string", "required": false, "label": "Native name", "description": "Name in local language" }, "native_name_lang": { "type": "string", "required": false, "label": "Native name language", "description": "ISO 639-1 code (for native_name)" }, "symbol": { "type": "string", "required": false, "label": "Symbol", "description": "Symbol reference of the primary operator or network" }, "symbol_location": { "type": "string", "required": false, "label": "Symbol Location", "description": "The code of location of the station" }, "type": { "type": "string", "required": false, "label": "Type", "description": "Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)", "example": "Southeastern Pennsylvania Transportation Authority|SEPTA rapid transit and tram station; Metrolink (California)|Metrolink commuter rail station; San Diego Transit light rail station; Greater Cleveland Regional Transit Authority|RTA rapid transit station" }, "image": { "type": "wiki-file-name", "required": false, "label": "Image", "description": "Image of the station" }, "image_upright": { "type": "string", "required": false, "description": "Can be used to adjust the size of the image as a ratio" }, "alt": { "type": "string", "required": false, "description": "Image alt text; see WP:ALT" }, "caption": { "type": "string", "required": false, "label": "Caption", "description": "Caption to be placed under the image of the station", "aliases": [ "image_caption" ] }, "mlanguage": { "type": "wiki-template-name", "required": false, "description": "Can be used to insert a language module", "example": "" }, "hangul": { "type": "string", "required": false, "label": "Hangul", "description": "Korean name in Hangul", "deprecated": true }, "hanja": { "type": "string", "required": false, "label": "Hanja", "description": "Korean name in Hanja", "deprecated": true }, "mr": { "type": "string", "required": false, "label": "McCune–Reischauer", "description": "McCune–Reischauer romanization of the name", "deprecated": true }, "rr": { "type": "string", "required": false, "label": "Revised Romanization", "description": "The Revised Romanization of the name", "deprecated": true }, "other_name": { "type": "string", "required": false, "label": "Alternative name(s)", "description": "Current alternative name(s)" }, "address": { "type": "string", "required": false, "label": "Address", "description": "Street address of the station", "suggested": true }, "borough": { "type": "string", "required": false, "label": "Administrative subdivision", "description": "Country administrative subdivision or borough" }, "country": { "type": "string", "required": false, "label": "Country", "description": "Country where station is located" }, "coordinates": { "type": "wiki-template-name", "required": false, "label": "Coordinates", "description": "Geographic coordinates, using Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value)." }, "elevation": { "type": "string", "required": false, "label": "Elevation", "description": "Elevation above mean sea level" }, "owned": { "type": "string", "required": false, "description": "Station owner name", "label": "Owned" }, "operator": { "type": "string", "required": false, "description": "Station operator name" }, "lines": { "type": "string", "required": false, "aliases": [ "line" ],

"description": "List of lines that the station is on. Use
"

}, "distance": { "type": "string", "required": false, "description": "The distance from a set point on the line, to this station" }, "platforms": { "type": "string", "required": false, "aliases": [ "platform" ], "description": "Information on the type of platform(s) at the station" }, "tracks": { "type": "string", "required": false, "description": "Number of tracks at the station" }, "train_operators": { "type": "wiki-template-name", "required": false, "label": "Train operators",

"description": "List of train operating companies (TOCs) that serve the station. Use
"

}, "bus_routes": { "type": "string", "required": false, "aliases": [ "routes" ] }, "bus_stands": { "type": "number", "required": false, "description": "number of bus stands at the station" }, "bus_operators": { "type": "string", "required": false, "description": "bus operators serving the station" }, "connections": { "type": "string", "required": false, "aliases": [ "other" ] }, "architect": { "type": "string", "required": false }, "architectural_style": { "type": "string", "required": false }, "bicycle": { "type": "string", "required": false }, "depth": { "type": "string", "required": false }, "disabled": { "type": "string", "required": false, "aliases": [ "ADA" ], "description": "What special facilities does the station have for people with disabilities" }, "levels": { "type": "string", "required": false }, "parking": { "type": "string", "required": false }, "structure": { "type": "string", "required": false }, "classification": { "type": "string", "required": false }, "code": { "type": "string", "required": false, "description": "Agency station code (used on tickets/reservations, etc.)" }, "iata": { "type": "string", "required": false }, "status": { "type": "string", "required": false }, "website": { "type": "string", "required": false, "aliases": [ "web" ] }, "zone": { "type": "string", "required": false }, "closed": { "type": "string", "required": false, "aliases": [ "end", "ending" ] }, "former": { "type": "string", "required": false, "label": "Previous names" }, "opened": { "type": "string", "required": false, "aliases": [ "start" ] }, "opening": { "type": "string", "required": false, "aliases": [ "starting" ] }, "original": { "type": "string", "required": false, "label": "Original company" }, "postgroup": { "type": "string", "required": false, "label": "Post-grouping company" }, "pregroup": { "type": "string", "required": false, "label": "Pre-grouping company" }, "prenational": { "type": "string", "required": false, "label": "Pre-nationalization company" }, "rebuilt": { "type": "string", "required": false }, "electrified": { "type": "string", "required": false }, "years": { "type": "string", "required": false }, "events": { "type": "string", "required": false }, "years1": { "type": "string", "required": false }, "events1": { "type": "string", "required": false }, "years2": { "type": "string", "required": false }, "events2": { "type": "string", "required": false }, "years3": { "type": "string", "required": false }, "events3": { "type": "string", "required": false }, "years4": { "type": "string", "required": false }, "events4": { "type": "string", "required": false }, "years5": { "type": "string", "required": false }, "events5": { "type": "string", "required": false }, "years6": { "type": "string", "required": false }, "events6": { "type": "string", "required": false }, "years7": { "type": "string", "required": false }, "events7": { "type": "string", "required": false }, "years8": { "type": "string", "required": false }, "events8": { "type": "string", "required": false }, "years9": { "type": "string", "required": false }, "events9": { "type": "string", "required": false }, "years10": { "type": "string", "required": false }, "events10": { "type": "string", "required": false }, "years11": { "type": "string", "required": false }, "events11": { "type": "string", "required": false }, "passengers": { "type": "string", "required": false }, "mpassengers": { "type": "wiki-template-name", "required": false, "label": "Passengers module", "description": "Child infobox containing passenger statistics using " }, "pass_system": { "type": "string", "required": false }, "pass_year": { "type": "string", "required": false }, "pass_percent": { "type": "string", "required": false }, "pass_rank": { "type": "string", "required": false }, "services": { "type": "string", "required": false }, "services_collapsible": { "type": "string", "required": false }, "other_services": { "type": "string", "required": false }, "other_services_header": { "type": "string", "required": false, "default": "Other services" }, "other_services_collapsible": { "type": "string", "required": false }, "other_services2": { "type": "string", "required": false }, "other_services2_header": { "type": "string", "required": false, "default": "Other services" }, "other_services2_collapsible": { "type": "string", "required": false }, "embedded": { "type": "string", "required": false }, "nrhp": { "type": "string", "required": false }, "route_map": { "type": "string", "required": false }, "map_state": { "type": "string", "required": false }, "map_name": { "type": "string", "required": false }, "map_type": { "type": "string", "required": false }, "AlternativeMap": { "type": "string", "required": false }, "map_alt": { "type": "string", "required": false }, "map_overlay": { "type": "string", "required": false }, "map_dot_label": { "type": "string", "required": false }, "map_label_position": { "type": "string", "required": false }, "map_caption": { "type": "string", "required": false }, "map_size": { "type": "string", "required": false }, "map_image": { "type": "wiki-file-name", "required": false, "label": "Map image", "description": "Image of a map showing the location of the station" }, "map_image_upright": { "type": "string", "required": false, "description": "Can be used to adjust the size of the map image as a ratio" }, "years12": {}, "events12": {}, "transit_authority": { "label": "Transit authority" }, "manager": { "label": "Manager", "description": "Manager of station. Cannot be used in conjunction with owned." }, "mapframe": { "label": "Show mapframe map", "description": "Specify yes or no to show or hide the map, overriding the default", "example": "yes", "type": "string", "default": "no", "suggested": true }, "mapframe-caption": { "label": "Mapframe caption", "description": "Caption for the map. If mapframe-geomask is set, then the default is \"Location in <<geomask's label>>\"", "type": "string" }, "mapframe-custom": { "label": "Custom mapframe", "description": "Use a custom map instead of the automatic mapframe. Specify either a Template:Maplink template, or another template that generates a mapframe map, or an image name. If used, other mapframe parameters will be ignored.", "type": "wiki-template-name" }, "mapframe-id": { "aliases": [ "id", "qid" ], "label": "Mapframe Wikidata item", "description": "Id (Q-number) of Wikidata item to use.", "type": "string", "default": "(item for current page)" }, "mapframe-wikidata": { "label": "Mapframe shapes from Wikidata", "description": "et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter", "example": "yes", "type": "string" }, "mapframe-point": { "label": "Mapframe point feature", "description": "Override display of mapframe point feature. Turn off display of point feature by setting to \"none\". Force point marker to be displayed by setting to \"on\"", "type": "string" }, "mapframe-shape": { "label": "Mapframe shape feature", "description": "Override display of mapframe shape feature. Turn off by setting to \"none\". Use an inverse shape (geomask) instead of a regular shape by setting to \"inverse\"", "type": "string" }, "mapframe-frame-width": { "aliases": [ "mapframe-width" ], "label": "Mapframe width", "description": "Frame width in pixels", "type": "number", "default": "270" }, "mapframe-frame-height": { "aliases": [ "mapframe-height" ], "label": "Mapframe height", "description": "Frame height in pixels", "type": "number", "default": "200" }, "mapframe-shape-fill": { "label": "Mapframe shape fill", "description": "Color used to fill shape features", "type": "string", "default": "#606060" }, "mapframe-shape-fill-opacity": { "label": "Mapframe shape fill opacity", "description": "Opacity level of shape fill, a number between 0 and 1", "type": "number", "default": "0.5" }, "mapframe-stroke-color": { "aliases": [ "mapframe-stroke-colour" ], "label": "Mapframe stroke color", "description": "Color of line features, and outlines of shape features", "type": "string", "default": "#ff0000" }, "mapframe-stroke-width": { "label": "Mapframe stroke width", "description": "Width of line features, and outlines of shape features", "type": "number", "default": "5" }, "mapframe-marker": { "label": "Mapframe marker", "description": "Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options", "example": "museum", "type": "string" }, "mapframe-marker-color": { "aliases": [ "mapframe-marker-colour" ], "label": "Mapframe marker color", "description": "Background color for the marker", "type": "string", "default": "#5E74F3" }, "mapframe-geomask": { "label": "Mapframe geomask", "description": "Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g. P17 for country, or P131 for located in the administrative territorial entity)", "example": "Q100", "type": "wiki-page-name" }, "mapframe-geomask-stroke-color": { "aliases": [ "mapframe-geomask-stroke-colour" ], "label": "Mapframe geomask stroke color", "description": "Color of outline of geomask shape", "type": "string", "default": "#555555" }, "mapframe-geomask-stroke-width": { "label": "Mapframe geomask stroke width", "description": "Width of outline of geomask shape", "type": "number", "default": "2" }, "mapframe-geomask-fill": { "label": "Mapframe geomask fill", "description": "Color used to fill outside geomask features", "type": "string", "default": "#606060" }, "mapframe-geomask-fill-opacity": { "label": "Mapframe geomask fill opacity", "description": "Opacity level of fill outside geomask features, a number between 0 and 1", "type": "number", "default": "0.5" }, "mapframe-zoom": { "label": "Mapframe zoom", "description": "Set the zoom level, from \"1\" to \"18\", to used if the zoom level cannot be determined automatically from object length or area", "example": "12", "type": "number", "default": "10" }, "mapframe-length_km": { "label": "Mapframe length (km)", "description": "Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-length_mi": { "label": "Mapframe length (mi)", "description": "Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-area_km2": { "label": "Mapframe area (km^2)", "description": "Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-area_mi2": { "label": "Mapframe area (mi^2)", "description": "Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area", "type": "number" }, "mapframe-frame-coordinates": { "aliases": [ "mapframe-frame-coord" ], "label": "Mapframe frame coordinates", "description": "Alternate latitude and longitude coordinates for initial placement of map, using Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value).", "example": "Lua error: callParserFunction: function "#coordinates" was not found.", "type": "wiki-template-name" }, "mapframe-switcher": { "label": "Mapframe switcher", "description": "Set to \"auto\" or \"geomasks\" or \"zooms\" to enable Template:Switcher-style switching between multiple mapframes. IF SET TO auto – switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country. IF SET TO geomasks – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter. IF SET TO zooms – switch between \"zoomed in\"/\"zoomed midway\"/\"zoomed out\", where \"zoomed in\" is the default zoom (with a minimum of 3), \"zoomed out\" is 1, and \"zoomed midway\" is the average.", "type": "string" }, "mapframe-coordinates": { "aliases": [ "mapframe-coord", "coordinates. coord" ], "label": "Mapframe coordinates ", "description": "Coordinates to use, instead of any on Wikidata. Use the Lua error in Module:Coordinates at line 614: attempt to index field 'wikibase' (a nil value). template.", "example": "Lua error: callParserFunction: function "#coordinates" was not found.", "type": "wiki-template-name", "default": "(coordinates from Wikidata)" }, "grid_name": { "description": "Name of regional grid (used as label)" }, "grid_position": { "description": "Coordinates in regional grid" }, "symbol2": {}, "symbol_location2": {}, "Connections (via param 'other')": { "description": "Same as para \"connections\", using its alias \"other\"", "deprecated": true }, "symbol3": {}, "symbol4": {}, "symbol5": {}, "symbol6": {}, "symbol_location3": {}, "symbol_location4": {}, "symbol_location5": {}, "symbol_location6": {}, "footnotes": { "label": "Footnotes", "type": "string" } }, "paramOrder": [ "name", "name_lang", "native_name", "native_name_lang", "other_name", "style", "style2", "custom_header", "symbol", "symbol_location", "type", "image", "image_upright", "alt", "caption", "mlanguage", "hangul", "hanja", "mr", "rr", "address", "borough", "country", "coordinates", "elevation", "owned", "manager", "operator", "transit_authority", "lines", "distance", "platforms", "tracks", "train_operators", "bus_routes", "bus_stands", "bus_operators", "connections", "structure", "depth", "levels", "parking", "bicycle", "disabled", "architect", "architectural_style", "status", "code", "iata", "zone", "classification", "website", "opened", "opening", "closed", "rebuilt", "electrified", "former", "original", "pregroup", "postgroup", "prenational", "years", "events", "years1", "events1", "years2", "events2", "years3", "events3", "years4", "events4", "years5", "events5", "years6", "events6", "years7", "events7", "years8", "events8", "years9", "events9", "years10", "events10", "years11", "events11", "years12", "events12", "mpassengers", "passengers", "pass_system", "pass_year", "pass_percent", "pass_rank", "services", "services_collapsible", "other_services", "other_services_header", "other_services_collapsible", "other_services2", "other_services2_header", "other_services2_collapsible", "embedded", "nrhp", "route_map", "mapframe", "mapframe-caption", "mapframe-custom", "mapframe-id", "mapframe-coordinates", "mapframe-wikidata", "mapframe-point", "mapframe-shape", "mapframe-frame-width", "mapframe-frame-height", "mapframe-shape-fill", "mapframe-shape-fill-opacity", "mapframe-stroke-color", "mapframe-stroke-width", "mapframe-marker", "mapframe-marker-color", "mapframe-geomask", "mapframe-geomask-stroke-color", "mapframe-geomask-stroke-width", "mapframe-geomask-fill", "mapframe-geomask-fill-opacity", "mapframe-zoom", "mapframe-length_km", "mapframe-length_mi", "mapframe-area_km2", "mapframe-area_mi2", "mapframe-frame-coordinates", "mapframe-switcher", "map_image", "map_image_upright", "map_state", "map_name", "map_type", "AlternativeMap", "map_alt", "map_overlay", "map_dot_label", "map_label_position", "map_caption", "map_size", "grid_name", "grid_position", "symbol2", "symbol_location2", "Connections (via param 'other')", "symbol3", "symbol_location3", "symbol4", "symbol_location4", "symbol5", "symbol_location5", "symbol6", "symbol_location6", "footnotes" ], "description": "Displays an infobox for a rail, bus, tram or intermodal station.", "format": "block" } </templatedata>

Subtemplates

See also