Infobox station |
---|
This template is used on 31,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
This template may be used for rail, tram, bus, and intermodal transport stations.
{{{name}}} {{{native_name}}} | ||||||||
---|---|---|---|---|---|---|---|---|
{{{type}}} | ||||||||
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]] | ||||||||
General information | ||||||||
Other names | {{{other_name}}} | |||||||
Location | {{{address}}} {{{borough}}} {{{country}}} | |||||||
Coordinates | 0°N 0°E / 0°N 0°E | |||||||
Elevation | {{{elevation}}} | |||||||
Owned by | {{{owned}}} | |||||||
Operated by | {{{operator}}} | |||||||
Line(s) | {{{lines}}} | |||||||
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}}} | |||||||
Accessible | {{{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}}} | |||||||
Passengers | ||||||||
Passengers ({{{pass_year}}}) | {{{passengers}}} 0% ({{{pass_system}}}) | |||||||
Rank | {{{pass_rank}}} | |||||||
{{{mpassengers}}} | ||||||||
| ||||||||
| ||||||||
{{{embedded}}} | ||||||||
{{{nrhp}}} | ||||||||
| ||||||||
|
{{Infobox station | name = | native_name = | native_name_lang = | symbol_location = | symbol = | type = | image = | alt = | caption = | address = | borough = | country = | coordinates = <!-- {{coord|latitude|N/S|longitude|E/W|display=inline,title}} --> | owned = | operator = | line = | distance = | platforms = | tracks = | train_operators = | connections = | structure = | parking = | bicycle = | disabled = | code = | zone = | website = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | closed = <!-- {{End date|YYYY|MM|DD|df=y}} --> | passengers = | pass_year = | pass_rank = | services = | other_services = }}
{{Infobox station | name = | name_lang = | native_name = | native_name_lang = | symbol_location = | symbol = | type = | image = | alt = | caption = | address = | borough = | country = | coordinates = <!-- {{coord|latitude|N/S|longitude|E/W|display=inline,title}} --> | owned = | operator = | bus_stands = | bus_operators = | bus_routes = | connections = | structure = | parking = | bicycle = | disabled = | code = | zone = | website = | opened = <!-- {{Start date|YYYY|MM|DD|df=y}} --> | closed = <!-- {{End date|YYYY|MM|DD|df=y}} --> | passengers = | pass_year = | pass_rank = }}
fr
for French.fr
for French. If more than one, use {{lang}} instead1
, yes
or collapsible
, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services headerexpanded
, makes services shown by default if services_collapsible is enabled1
, yes
or collapsible
, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services headerexpanded
, makes services shown by default if services_collapsible is enabled|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).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 --> ... }}
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=Amtrak
will use the {{Amtrak 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 |
The embedded=
parameter can be used to embed another infobox with such capability like {{designation list}} and {{infobox NRHP}}.
The following parameters have been obsoleted and will no longer function:
The following parameters are deprecated and may be removed in the future:
This first example shows the infobox of Sinanju Station with the Korean names:
Sinanju Ch'ŏngnyŏn Station | |
---|---|
General information | |
Location | Anju, 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 | image_size = | image_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 (Amtrak station) article uses {{S-line}}
in the |services=
parameter, and the external style template:
Paso Robles | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
General information | |||||||||||
Location | 800 Pine Street Paso Robles, California 93446 | ||||||||||
Owned by | City of Paso Robles | ||||||||||
Line(s) | Coast Line | ||||||||||
Platforms | 1 side platform | ||||||||||
Tracks | 1 | ||||||||||
Services | |||||||||||
|
{{Infobox station | style = Amtrak | name = Paso Robles | image = Paso Robles Train Station.jpg | address = 800 Pine Street<br />[[Paso Robles, California]] 93446 | line = [[Coast Line (UP)|Coast Line]] | platform = 1 side platform | tracks = 1 | owned = City of Paso Robles | services = {{s-rail|title=Amtrak}} {{s-line|system=Amtrak|line=Coast Starlight|previous=Salinas|next=San Luis Obispo|type=R|type2=R}} }}
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.
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.
hCard uses HTML classes including:
Geo is produced by calling {{coord}}, and uses HTML classes:
Please do not rename or remove these classes nor collapse nested elements which use them.
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData for Infobox station
Displays an infobox for a rail, bus, tram or intermodal station.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the station | String | suggested |
Name language | name_lang | ISO 639-1 code (for name) | String | optional |
Native name | native_name | Name in local language | String | optional |
Native name language | native_name_lang | ISO 639-1 code (for native_name) | String | optional |
Alternative name(s) | other_name | Current alternative name(s) | String | optional |
Style template | style | Refers to an external 'style' template | String | optional |
Custom header | custom_header | no description | String | optional |
Symbol | symbol | Symbol reference of the primary operator or network | String | optional |
Symbol Location | symbol_location | The code of location of the station | String | optional |
Type | type | Transit system name and type of rail station (rapid transit, light rail, tram, commuter rail and/or regional rail)
| String | optional |
Image | image | Image of the station | File | optional |
image_upright | image_upright | Can be used to adjust the size of the image as a ratio | String | optional |
alt | alt | Image alt text; see WP:ALT | String | optional |
Caption | caption image_caption | Caption to be placed under the image of the station | String | optional |
mlanguage | mlanguage | Can be used to insert a language module
| Template | optional |
Hangul | hangul | Korean name in Hangul | String | optional |
Hanja | hanja | Korean name in Hanja | String | optional |
McCune–Reischauer | mr | McCune–Reischauer romanization of the name | String | optional |
Revised Romanization | rr | The Revised Romanization of the name | String | optional |
Address | address | Street address of the station | String | suggested |
Administrative subdivision | borough | Country administrative subdivision or borough | String | optional |
Country | country | Country where station is located | String | optional |
Coordinates | coordinates | Geographic coordinates, using {{coord}} | Template | optional |
Elevation | elevation | Elevation above mean sea level | String | optional |
owned | owned | Station owner name | String | optional |
operator | operator | Station operator name | String | optional |
lines | lines line | List of lines that the station is on. Use {{Plainlist}} | String | optional |
distance | distance | The distance from a set point on the line, to this station | String | optional |
platforms | platforms platform | Information on the type of platform(s) at the station | String | optional |
tracks | tracks | Number of tracks at the station | String | optional |
Train operators | train_operators | List of train operating companies (TOCs) that serve the station. Use {{Plainlist}} | Template | optional |
bus_routes | bus_routes routes | no description | String | optional |
bus_stands | bus_stands | number of bus stands at the station | Number | optional |
bus_operators | bus_operators | bus operators serving the station | String | optional |
connections | connections other | no description | String | optional |
structure | structure | no description | String | optional |
depth | depth | no description | String | optional |
levels | levels | no description | String | optional |
parking | parking | no description | String | optional |
bicycle | bicycle | no description | String | optional |
disabled | disabled ADA | What special facilities does the station have for people with disabilities | String | optional |
architect | architect | no description | String | optional |
architectural_style | architectural_style | no description | String | optional |
status | status | no description | String | optional |
code | code | Agency station code (used on tickets/reservations, etc.) | String | optional |
iata | iata | no description | String | optional |
zone | zone | no description | String | optional |
classification | classification | no description | String | optional |
website | website web | no description | String | optional |
opened | opened start | no description | String | optional |
opening | opening starting | no description | String | optional |
closed | closed end ending | no description | String | optional |
rebuilt | rebuilt | no description | String | optional |
electrified | electrified | no description | String | optional |
Previous names | former | no description | String | optional |
Original company | original | no description | String | optional |
Pre-grouping company | pregroup | no description | String | optional |
Post-grouping company | postgroup | no description | String | optional |
Pre-nationalization company | prenational | no description | String | optional |
years | years | no description | String | optional |
events | events | no description | String | optional |
years1 | years1 | no description | String | optional |
events1 | events1 | no description | String | optional |
years2 | years2 | no description | String | optional |
events2 | events2 | no description | String | optional |
years3 | years3 | no description | String | optional |
events3 | events3 | no description | String | optional |
years4 | years4 | no description | String | optional |
events4 | events4 | no description | String | optional |
years5 | years5 | no description | String | optional |
events5 | events5 | no description | String | optional |
years6 | years6 | no description | String | optional |
events6 | events6 | no description | String | optional |
years7 | years7 | no description | String | optional |
events7 | events7 | no description | String | optional |
years8 | years8 | no description | String | optional |
events8 | events8 | no description | String | optional |
years9 | years9 | no description | String | optional |
events9 | events9 | no description | String | optional |
years10 | years10 | no description | String | optional |
events10 | events10 | no description | String | optional |
years11 | years11 | no description | String | optional |
events11 | events11 | no description | String | optional |
Passengers module | mpassengers | Child infobox containing passenger statistics using {{Rail pass box}} | Template | optional |
passengers | passengers | no description | String | optional |
pass_system | pass_system | no description | String | optional |
pass_year | pass_year | no description | String | optional |
pass_percent | pass_percent | no description | String | optional |
pass_rank | pass_rank | no description | String | optional |
services | services | no description | String | optional |
services_collapsible | services_collapsible | no description | String | optional |
services_state | services_state | no description | String | optional |
other_services | other_services | no description | String | optional |
other_services_header | other_services_header | no description | String | optional |
other_services_collapsible | other_services_collapsible | no description | String | optional |
other_services_state | other_services_state | no description | String | optional |
embedded | embedded | no description | String | optional |
nrhp | nrhp | no description | String | optional |
route_map | route_map | no description | String | optional |
map_state | map_state | no description | String | optional |
map_name | map_name | no description | String | optional |
map_type | map_type | no description | String | optional |
map_locator | map_locator | no description | String | optional |
AlternativeMap | AlternativeMap | no description | String | optional |
map_alt | map_alt | no description | String | optional |
map_overlay | map_overlay | no description | String | optional |
map_dot_label | map_dot_label | no description | String | optional |
map_label_position | map_label_position | no description | String | optional |
map_caption | map_caption | no description | String | optional |
map_size | map_size | no description | String | optional |
local_authority | local_authority | no description | String | optional |