Template:Infobox station/doc

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

Railway stations


Bus stations


Name

 * name            : name
 * name_lang       : ISO 639-1 code or IETF language tag (for name); e.g.   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.  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 yes.

Station symbols

 * symbol_location              : The code of location of the station; first parameter of Rail-interchange
 * symbol                       : Symbol reference of the primary operator or network; second parameter of Rail-interchange
 * 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)
 * symboln      : Symbol reference of a secondary operator or network; second parameter of Rail-interchange (symboln 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: °N, °W. (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.
 * elevation      : MSL elevation
 * distance       : The distance from a set point on the line, to this station
 * owned          : Station owner name
 * operator       : Station operator name
 * line           : List of lines (physical infrastructure) that the station is on. Use Plainlist. Named services should go below.
 * platforms      : Information on the type of platform(s) at the station
 * tracks         : Number of tracks at the station
 * train_operators : List of train operating companies (TOCs) that serve the station. Use Plainlist
 * bus_stands     : number of bus stands at the station
 * bus_operators  : bus operators serving the station
 * bus_routes     : number of bus routes 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

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
 * former     : Previous station name(s)
 * electrified : Date station was electrified, if not previously at date of opening
 * years      : Date or year of an event (continue with yearsn from 1 to 11)
 * events     : Event that occurred on that date (continue with eventsn from 1 to 11)

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_year    : Year passenger information was gathered
 * pass_percent : Percentage increase or decrease in usage
 * pass_system  : System the passengers are using
 * 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,   or  , makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header
 * services_state      : If set to , makes services shown by default if services_collapsible is enabled

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.)
 * other_services_header     : Set the header of this section (defaults to Other services)
 * other_services_collapsible : If set to,   or  , makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header
 * other_services_state      : If set to , makes services shown by default if services_collapsible is enabled

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  and   parameters. This can be overridden by specifying   or   in the unnamed parameter after the coordinate values.



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, STM will use the template.

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, Amtrak old used with Amtrak will return the pre-Acela Amtrak heritage colors from Module:Adjacent stations/Amtrak.

Embedding other infoboxes
The  parameter can be used to embed another infobox with such capability like designation list and infobox NRHP.

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

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_locator – Allows inclusion of an image of the station location on a map, using Location map or another method directly

Korean name

 * hangul – Korean name in Hangul
 * hanja – Korean name in Hanja
 * rr – The Revised Romanization of the name
 * mr – The McCune–Reischauer of the name

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



This second example from the Paso Robles station article uses in the services parameter, and the external style template:



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" },		"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 (Southern 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" },		"hanja": { "type": "string", "required": false, "label": "Hanja", "description": "Korean name in Hanja" },		"mr": { "type": "string", "required": false, "label": "McCune–Reischauer", "description": "McCune–Reischauer romanization of the name" },		"rr": { "type": "string", "required": false, "label": "Revised Romanization", "description": "The Revised Romanization of the name" },		"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 °N, °W" },		"elevation": { "type": "string", "required": false, "label": "Elevation", "description": "Elevation above mean sea level" },		"owned": { "type": "string", "required": false, "description": "Station owner name" },		"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 },		"services_state": { "type": "string", "required": false },		"other_services": { "type": "string", "required": false },		"other_services_header": { "type": "string", "required": false },		"other_services_collapsible": { "type": "string", "required": false },		"other_services_state": { "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 },		"map_locator": { "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 },		"local_authority": { "type": "string", "required": false }	},	"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", "operator", "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", "mpassengers", "passengers", "pass_system", "pass_year", "pass_percent", "pass_rank", "services", "services_collapsible", "services_state", "other_services", "other_services_header", "other_services_collapsible", "other_services_state", "embedded", "nrhp", "route_map", "map_state", "map_name", "map_type", "map_locator", "AlternativeMap", "map_alt", "map_overlay", "map_dot_label", "map_label_position", "map_caption", "map_size", "local_authority" ],	"description": "Displays an infobox for a rail, bus, tram or intermodal station.", "format": "block" }