Infobox station/sandbox |
---|
This is the template sandbox page for Template:Infobox station (diff). See also the companion subpage for test cases. |
This template is used on approximately 56,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 uses TemplateStyles: |
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 | |||||||
{{{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}}} | |||||||
Tram routes | {{{tram_routes}}} | |||||||
Tram operators | {{{tram_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 | {{{accessible}}} | |||||||
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}}} 0% ({{{pass_system}}}) | |||||||
Rank | {{{pass_rank}}} | |||||||
{{{mpassengers}}} | ||||||||
| ||||||||
| ||||||||
| ||||||||
{{{embedded}}} | ||||||||
{{{nrhp}}} | ||||||||
| ||||||||
| ||||||||
|
{{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 =
| accessible =
| 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-custom = {{Maplink|frame=yes|plain=yes|frame-align=center|frame-width=300|frame-height=180|zoom=12|type=point|marker=rail}}
}}
{{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 =
| accessible =
| 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-custom = {{Maplink|frame=yes|plain=yes|frame-align=center|frame-width=300|frame-height=180|zoom=12|type=point|marker=bus}}
}}
fr
for French.fr
for French. If more than one, use {{lang}} instead|child=yes
.1
, yes
or collapsible
, makes the boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header1
, yes
or collapsible
, makes the boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header. Goes up to other_services2_collapsible.|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 -->
...
}}
This template supports mapframes. Parameter instructions:
|mapframe-geomask=
is set, "Location in geomask's label"){{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|coord={{Coord|12.34|N|56.78|E}}
. Default: coordinates from Wikidatayes
to show shape/line features from the wikidata item, if any, when |coord=
is set. Default: not specifiednone
. Use an inverse shape (geomask) instead of a regular shape by setting to inverse
. Default: not specifiednone
. Force point marker to be displayed by setting to on
. Default: not specifiednone
. Default: not specifiedP17
for country (P17), P131
for located in the administrative territorial entity (P131)). Default: not specifiedauto
or geomasks
or zooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
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.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– 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 averageblank
to override any default marker symbolAn external style module, typically a subpage of Module:Adjacent stations, may be used to allow the modification of display parameters. (The obsolete {{S-line}} and related templates are still used for a few articles.) The |style=
parameter is used to specify the name of the module subpage where the styling is defined; use the name of the subpage after the "/" as the value for the |style=
parameter. For example, |style=BART
will use the Module:Adjacent stations/BART module subpage. Module:Adjacent stations provides links and styling for many transportation-related templates.
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 that have a Module:Adjacent stations subpage 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 stored in Module:Adjacent stations/Amtrak.
The |embedded=
or |nrhp=
parameters can be used to embed another infobox with such capability like {{infobox 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 | |
---|---|
Korean name | |
Hangul | 신안주청년역 |
Hanja | |
Revised Romanization | Sinanju-cheongnyeonyeok |
McCune–Reischauer | Sinanju-ch'ŏngnyŏnyŏk |
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
| mlanguage = {{Infobox Korean name|child=yes
| 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 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
General information | |||||||||||||
Location | 800 Pine Street Paso Robles, California 93446 | ||||||||||||
Coordinates | 35°37′22″N 120°41′16″W / 35.6227°N 120.6878°W | ||||||||||||
Owned by | City of Paso Robles | ||||||||||||
Line(s) | Coast Line | ||||||||||||
Platforms | 1 side platform | ||||||||||||
Tracks | 1 | ||||||||||||
Connections | Amtrak Thruway, RTA Route 9, Paso Express, MST Route 83, Orange Belt Stages | ||||||||||||
Other information | |||||||||||||
Station code | PRB | ||||||||||||
History | |||||||||||||
Original company | Southern Pacific | ||||||||||||
Passengers | |||||||||||||
2015 | 12,149 0.69% (Amtrak) | ||||||||||||
Services | |||||||||||||
| |||||||||||||
| |||||||||||||
|
{{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]], [[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}}
}}
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 documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox station in articles based on its TemplateData.
TemplateData for Infobox station Displays an infobox for a rail, bus, tram or intermodal station.
|