Jump to content

Template:Infobox station/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
External style template: link to updated modules
 
(37 intermediate revisions by 22 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{high-use}}
{{High-use}}
{{Lua|Module:Rail-interchange multi|Module:Coordinates|Module:InfoboxImage|Module:String|Module:Parameter validation}}
{{Lua|Module:Rail-interchange multi|Module:Coordinates|Module:InfoboxImage|Module:String|Module:Parameter validation|Module:Check for unknown parameters}}
{{Uses TemplateStyles|Template:Infobox station/styles.css}}
{{Uses TemplateStyles|Template:Infobox station/styles.css}}


Line 8: Line 8:


==Usage==
==Usage==
{{Parameter names example | _template={{PAGENAMETDOC}} | AlternativeMap= | address | alt | architect | architectural_style | bicycle | borough | bus_operators | bus_routes | bus_stands | caption | classification | closed | code | connections | coordinates={{coord|0|0|display=inline}} | country | depth | disabled | distance | electrified | elevation | embedded | events | events1 | events10= | events11 | events12 | events2= | events3= | events4= | events5= | events6= | events7= | events8= | events9= | footnotes | former | grid_name | grid_position | hangul= | hanja= | iata | image | image_upright | levels | line | manager | mapframe=yes | mapframe-zoom=0 | mlanguage= | mpassengers | mr= | name | name_lang | native_name | native_name_lang | nrhp | opened | opening | operator | original | other_name | other_services={{S-note | text={{{other_services}}}}} | other_services_collapsible=1 | other_services_header | other_services2={{S-note | text={{{other_services2}}}}} | other_services2_collapsible=1 | other_services2_header | owned | parking | pass_percent=0 | pass_rank | pass_system | pass_year | passengers | platforms | postgroup | pregroup | prenational | rebuilt | route_map | rr= | services={{S-note | text={{{services}}}}} | services_collapsible=1 | status | structure | style= | style2= | symbol= | symbol2= | symbol_location= | symbol_location2= | tracks | train_operators | transit_authority | type | website | years | years1 | years10 | years11 | years12 | years2=… | years3 | years4 | years5 | years6 | years7 | years8 | years9 | zone }}
{{Parameter names example | _template={{PAGENAMETDOC}} | AlternativeMap= | address | alt | architect | architectural_style | bicycle | borough | bus_operators | bus_routes | bus_stands | caption | classification | closed | code | connections | coordinates={{coord|0|0|display=inline}} | country | depth | accessible | distance | electrified | elevation | embedded | events | events1 | events10= | events11 | events12 | events2= | events3= | events4= | events5= | events6= | events7= | events8= | events9= | footnotes | former | grid_name | grid_position | iata | image | image_upright | levels | line | manager | mapframe=yes | mapframe-zoom=0 | mlanguage= | mpassengers | name | name_lang | native_name | native_name_lang | nrhp | opened | opening | operator | original | other_name | other_services={{S-note | text={{{other_services}}}}} | other_services_collapsible=1 | other_services_header | other_services2={{S-note | text={{{other_services2}}}}} | other_services2_collapsible=1 | other_services2_header | owned | parking | pass_percent=0 | pass_rank | pass_system | pass_year | passengers | platforms | postgroup | pregroup | prenational | rebuilt | route_map | services={{S-note | text={{{services}}}}} | services_collapsible=1 | status | structure | style= | style2= | symbol= | symbol2= | symbol_location= | symbol_location2= | tracks | train_operators | tram_routes | tram_operators | transit_authority | type | website | years | years1 | years10 | years11 | years12 | years2=… | years3 | years4 | years5 | years6 | years7 | years8 | years9 | zone }}


=== Railway stations ===
=== Railway stations ===
<pre style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox station
{{Infobox station
| name =
| name =
Line 32: Line 32:
| elevation =
| elevation =
| owned =
| owned =
| operator &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
| operator =
| manager =
| manager =
| transit_authority =
| transit_authority =
Line 46: Line 46:
| parking =
| parking =
| bicycle =
| bicycle =
| disabled =
| accessible =
| architect =
| architect =
| architectural_style =
| architectural_style =
Line 80: Line 80:
| other_services2_header =
| other_services2_header =
| footnotes =
| footnotes =
| mapframe = yes
| mapframe = yes
| mapframe-custom = {{Maplink|frame=yes|plain=yes|frame-align=center|frame-width=300|frame-height=180|zoom=12|type=point|marker=rail}}
| mapframe-stroke-color = #C60C30
}}</syntaxhighlight>
| mapframe-marker = station
| mapframe-marker-color = #1F2F57
| mapframe-zoom = 9
}}</pre>


=== Bus stations ===
=== Bus stations ===
<pre style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox station
{{Infobox station
| name =
| name =
Line 123: Line 120:
| parking =
| parking =
| bicycle =
| bicycle =
| disabled =
| accessible =
| architect =
| architect =
| architectural_style =
| architectural_style =
Line 156: Line 153:
| other_services2_header =
| other_services2_header =
| footnotes =
| footnotes =
| mapframe = yes
| mapframe = yes
| mapframe-custom = {{Maplink|frame=yes|plain=yes|frame-align=center|frame-width=300|frame-height=180|zoom=12|type=point|marker=bus}}
| mapframe-stroke-color = #C60C30
}}</syntaxhighlight>
| mapframe-marker = station
| mapframe-marker-color = #1F2F57
| mapframe-zoom = 9
}}</pre>


==Parameters==
==Parameters==
Line 203: Line 197:
; tracks : Number of tracks at the station
; tracks : Number of tracks at the station
; train_operators : List of train operating companies (TOCs) that serve the station. Use {{tl|Plainlist}}
; train_operators : List of train operating companies (TOCs) that serve the station. Use {{tl|Plainlist}}
; tram_routes : tram routes serving the station
; tram_operators : tram operators serving the station
; bus_routes : number of bus routes serving the station
; bus_routes : number of bus routes serving the station
; bus_stands : number of bus stands at the station
; bus_stands : number of bus stands at the station
Line 214: Line 210:
; parking : Information on station's parking facilities
; parking : Information on station's parking facilities
; bicycle : Information on station's bicycle facilities
; bicycle : Information on station's bicycle facilities
; disabled : What special facilities does the station have for people with disabilities
; accessible : Whether the station is accessible to all, e.g. an [[elevator]] to platforms
; architect : Architect of the station
; architect : Architect of the station
; architectural_style : Architectural style, e.g. Baroque
; architectural_style : Architectural style, e.g. Baroque
Line 221: Line 217:
; status : Generic station status field, e.g. Unstaffed
; status : Generic station status field, e.g. Unstaffed
; code : Agency station code (used on tickets/reservations, etc.)
; code : Agency station code (used on tickets/reservations, etc.)
; iata : [[IATA airport code]]
; iata : [[List of IATA-indexed railway stations|IATA railway station code]]
; zone : Fare zone station is located in
; zone : Fare zone station is located in
; classification : Station national classification
; classification : Station national classification
Line 235: Line 231:
; former : Previous station name(s)
; former : Previous station name(s)
; original : Original company name
; original : Original company name
; pregroup : For UK stations: pre-grouping company name (before 1922 for Great Western Railway group, before 1923 for other groups)
; pregroup : Pre-grouping
; postgroup : Post-grouping
; postgroup : For UK stations: post-grouping company name (period 1922/1923 to 1947)
; prenational : Pre-nationalisation
; prenational : Pre-nationalisation for non-UK stations
; years : Date or year of an event (continue with years''n'' from 1 to 12)
; years : Date or year of an event (continue with years''n'' from 1 to 12)
; events : Event that occurred on that date (continue with events''n'' from 1 to 12)
; events : Event that occurred on that date (continue with events''n'' from 1 to 12)
Line 250: Line 246:


==== Services ====
==== Services ====
; services : Allows inclusion of the [[Template:S-rail|s-rail]]/[[Template:S-line|s-line]] boxes for named services. (Do not use {{tl|s-start}} and {{tl|s-end}} templates.)
; services : Allows inclusion of the [[Template:Adjacent stations]] boxes for named services.
; services_collapsible : If set to <code>1</code>, <code>yes</code> or <code>collapsible</code>, makes the S-line boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header
; services_collapsible : If set to <code>1</code>, <code>yes</code> or <code>collapsible</code>, makes the boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header


==== Other services ====
==== Other services ====
; other_services : Allows inclusion of the [[Template:S-rail|s-rail]]/[[Template:S-line|s-line]] boxes for additional services. (Do not use {{tl|s-start}} and {{tl|s-end}} templates.) Goes up to other_services2.
; other_services : Allows inclusion of the [[Template:Adjacent stations]] boxes for additional services. Goes up to other_services2.
; other_services_collapsible : If set to <code>1</code>, <code>yes</code> or <code>collapsible</code>, 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_collapsible : If set to <code>1</code>, <code>yes</code> or <code>collapsible</code>, 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.
; other_services_header : Set the header of this section (defaults to '''Other services'''). Goes up to other_services2_header.
; other_services_header : Set the header of this section (defaults to '''Other services'''). Goes up to other_services2_header.


Line 267: Line 263:
* The [[ISO 3166-1 alpha-2]] or [[ISO 3166-2]] region code can often be determined automatically, based on the <code>country=</code> and <code>borough=</code> parameters. This can be overridden by specifying <code>region:XX</code> or <code>region:XX-ABC</code> in the unnamed parameter after the coordinate values.
* The [[ISO 3166-1 alpha-2]] or [[ISO 3166-2]] region code can often be determined automatically, based on the <code>country=</code> and <code>borough=</code> parameters. This can be overridden by specifying <code>region:XX</code> or <code>region:XX-ABC</code> in the unnamed parameter after the coordinate values.


<pre style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox station
{{Infobox station
...
...
Line 281: Line 277:
...
...
}}
}}
</syntaxhighlight>
</pre>


====Mapframes====
====Mapframes====
Line 288: Line 284:
{{Infobox mapframe/doc/parameters|mapframe-marker=automatically determined by the {{Q|P31}} value on Wikidata, if available}}
{{Infobox mapframe/doc/parameters|mapframe-marker=automatically determined by the {{Q|P31}} value on Wikidata, if available}}


===External style template===
===External style module===
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 {{para|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 {{para|style}} parameter. For example, {{para|style|STM}} will use the {{tlx|STM style}} template.
An external style module, typically a subpage of [[:Module:Adjacent stations]], may be used to allow the modification of display parameters. (The obsolete {{tl|S-line}} and related templates are still used for a few articles.) The {{para|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 {{para|style}} parameter. For example, {{para|style|BART}} will use the [[:Module:Adjacent stations/BART]] module subpage. [[:Module:Adjacent stations]] provides links and styling for many transportation-related templates.


{| class="wikitable"
{| class="wikitable"
Line 301: Line 297:
|}
|}


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


===Embedding other infoboxes===
===Embedding other infoboxes===
Line 332: Line 328:
* ADA – If any text is placed here a universal symbol for accessibility will appear
* 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).
* 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=====
* hangul – Korean name in [[Hangul]]
* hanja – Korean name in [[Hanja]]
* rr – The [[Revised Romanization of Korean|Revised Romanization]] of the name
* mr – The [[McCune–Reischauer]] of the name


== Examples ==
== Examples ==
Line 343: Line 333:
{{{{PAGENAMETDOC}}
{{{{PAGENAMETDOC}}
| name = Sinanju Ch'ŏngnyŏn Station
| name = Sinanju Ch'ŏngnyŏn Station
| mlanguage = {{Infobox Korean name|child=yes
| hangul = 신안주청년역
| hanja = {{linktext|新|安|州|青|年|驛}}
| hangul = 신안주청년역
| mr = Sinanju-ch'ŏngnyŏnyŏk
| hanja = {{linktext|新|安|州|青|年|驛}}
| rr = Sinanju-cheongnyeonyeok
| mr = Sinanju-ch'ŏngnyŏnyŏk
| rr = Sinanju-cheongnyeonyeok
}}
| image = Sinanju Chongnyon Station.jpg
| image = Sinanju Chongnyon Station.jpg
| caption =
| caption =
Line 354: Line 346:
| line = [[Pyongui Line|P'yŏngŭi Line]]<br />[[Kaechon Line|Kaech'ŏn Line]]
| line = [[Pyongui Line|P'yŏngŭi Line]]<br />[[Kaechon Line|Kaech'ŏn Line]]
}}
}}
<pre style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox station
{{Infobox station
| name = Sinanju Ch'ŏngnyŏn Station
| name = Sinanju Ch'ŏngnyŏn Station
| mlanguage = {{Infobox Korean name|child=yes
| hangul = 신안주청년역
| hanja = {{linktext|新|安|州|青|年|驛}}
| hangul = 신안주청년역
| mr = Sinanju-ch'ŏngnyŏnyŏk
| hanja = {{linktext|新|安|州|青|年|驛}}
| rr = Sinanju-cheongnyeonyeok
| mr = Sinanju-ch'ŏngnyŏnyŏk
| rr = Sinanju-cheongnyeonyeok
}}
| image = Sinanju Chongnyon Station.jpg
| image = Sinanju Chongnyon Station.jpg
| caption =
| caption =
Line 368: Line 362:
| line = [[Pyongui Line|P'yŏngŭi Line]]<br />[[Kaechon Line|Kaech'ŏn Line]]
| line = [[Pyongui Line|P'yŏngŭi Line]]<br />[[Kaechon Line|Kaech'ŏn Line]]
}}
}}
</syntaxhighlight>
</pre>
{{clear}}
{{clear}}


Line 382: Line 376:
| mapframe-zoom = 14
| mapframe-zoom = 14
| line = [[Coast Line (UP)|Coast Line]]<!-- the physical "line" is not the same as "services" which are detailed below -->
| 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]]
| 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]]
| platform = 1 [[side platform]]
| tracks = 1
| tracks = 1
Line 397: Line 391:
| other_services = {{Adjacent stations|system1=Southern Pacific Railroad|line1=Coast Line|left1=Wellsona|right1=Atscadero}}
| other_services = {{Adjacent stations|system1=Southern Pacific Railroad|line1=Coast Line|left1=Wellsona|right1=Atscadero}}
}}
}}
<pre style="overflow:auto;">
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox station
{{Infobox station
| style = Amtrak
| style = Amtrak
Line 408: Line 402:
| mapframe-zoom = 14
| mapframe-zoom = 14
| line = [[Coast Line (UP)|Coast Line]]<!-- the physical "line" is not the same as "services" which are detailed below -->
| 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]]
| 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]]
| platform = 1 [[side platform]]
| tracks = 1
| tracks = 1
Line 423: Line 417:
| other_services = {{Adjacent stations|system1=Southern Pacific Railroad|line1=Coast Line|left1=Wellsona|right1=Atscadero}}
| other_services = {{Adjacent stations|system1=Southern Pacific Railroad|line1=Coast Line|left1=Wellsona|right1=Atscadero}}
}}
}}
</syntaxhighlight>
</pre>
{{clear}}
{{clear}}


Line 431: Line 425:
== Tracking categories ==
== Tracking categories ==
* {{clc|Articles using Infobox station with a broken location map}}
* {{clc|Articles using Infobox station with a broken location map}}
* {{clc|Articles using Infobox station with Korean name parameters}}
* {{clc|Articles using Infobox station with local authority}}
* {{clc|Articles using Infobox station with local authority}}
* {{clc|Articles using Infobox station with markup inside name}}
* {{clc|Articles using Infobox station with markup inside name}}
Line 439: Line 432:
* {{clc|Pages with no open date in Infobox station}}
* {{clc|Pages with no open date in Infobox station}}
* {{clc|Pages using infobox station with deprecated parameters}}
* {{clc|Pages using infobox station with deprecated parameters}}
* {{clc|Pages using infobox station with unknown parameters}}
* {{clc|Pages using infobox station with a non-child infobox}}
* {{clc|Pages using infobox station with duplicate parameters}}


==TemplateData==
==TemplateData==
Line 540: Line 536:
"description": "Can be used to insert a language module",
"description": "Can be used to insert a language module",
"example": "{{Infobox Korean name}}"
"example": "{{Infobox Korean name}}"
},
"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": {
"other_name": {
Line 644: Line 612:
},
},
"train_operators": {
"train_operators": {
"type": "wiki-template-name",
"type": "string",
"required": false,
"required": false,
"label": "Train operators",
"label": "Train operators",
"description": "List of train operating companies (TOCs) that serve the station. Use {{Plainlist}}"
"description": "List of train operating companies (TOCs) that serve the station. Use {{Plainlist}}"
},
"tram_routes": {
"type": "string",
"required": false,
"label": "Tram routes",
"description": "tram routes serving the station"
},
"tram_operators": {
"type": "string",
"required": false,
"label": "Tram operators",
"description": "tram operators serving the station"
},
},
"bus_routes": {
"bus_routes": {
Line 654: Line 634:
"aliases": [
"aliases": [
"routes"
"routes"
]
],
"label": "Bus routes",
"description": "number of bus routes serving the station"
},
},
"bus_stands": {
"bus_stands": {
"type": "number",
"type": "number",
"required": false,
"required": false,
"description": "number of bus stands at the station"
"description": "Number of bus stands (bays, slips) at the station",
"label": "Bus stands"
},
},
"bus_operators": {
"bus_operators": {
Line 671: Line 654:
"aliases": [
"aliases": [
"other"
"other"
]
],
"label": "Connections",
},
"description": "Connecting services that serve the station such as bus routes"
"architect": {
"type": "string",
"required": false
},
},
"architectural_style": {
"architectural_style": {
"type": "string",
"type": "string",
"required": false
"required": false,
"label": "Architectural style",
"description": "Architectural style, e.g. Baroque"
},
},
"bicycle": {
"bicycle": {
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Information on station's bicycle facilities"
},
},
"depth": {
"depth": {
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "The depth of the primary platform below ground level"
},
},
"disabled": {
"accessible": {
"type": "string",
"type": "string",
"required": false,
"required": false,
"aliases": [
"aliases": [
"ADA"
"ADA",
"disabled"
],
],
"description": "What special facilities does the station have for people with disabilities"
"description": "Is the station accessible?",
"label": "Accessible"
},
},
"levels": {
"levels": {
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Number of levels of platforms at the station (use only if more than one exists; mezzanine/entrance levels are not included)"
},
},
"parking": {
"parking": {
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Information on station's parking facilities"
},
},
"structure": {
"structure": {
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Type of station structure (underground, at-grade, or elevated)",
"suggestedvalues": [
"At-grade",
"Below-grade",
"Elevated",
"Embankment",
"Underground"
],
"label": "Structure"
},
},
"classification": {
"classification": {
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Station national classification"
},
},
"code": {
"code": {
Line 720: Line 719:
"iata": {
"iata": {
"type": "string",
"type": "string",
"required": false
"required": false,
"label": "IATA code",
"description": "IATA airport code when issued as part of an agreement between airlines and rail lines "
},
},
"status": {
"status": {
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Generic station status field, e.g. Unstaffed"
},
},
"website": {
"website": {
Line 731: Line 733:
"aliases": [
"aliases": [
"web"
"web"
]
],
"label": "Website",
"description": "Web address of the station using the {{URL}} template. Do not include the leading www. unless the URL will not resolve without it.",
"example": "{{URL|railroad.com/station}}"
},
},
"zone": {
"zone": {
"type": "string",
"type": "string",
"required": false
"required": false,
"label": "Zone",
"description": "Fare zone station is located in"
},
},
"closed": {
"closed": {
Line 743: Line 750:
"end",
"end",
"ending"
"ending"
]
],
"label": "Date closed",
"description": "Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only)"
},
},
"former": {
"former": {
"type": "string",
"type": "string",
"required": false,
"required": false,
"label": "Previous names"
"label": "Previous names",
"description": "Previous station name(s)"
},
},
"opened": {
"opened": {
Line 755: Line 765:
"aliases": [
"aliases": [
"start"
"start"
]
],
"label": "Date opened",
"description": "Date station originally opened, use the {{Start date}} template",
"example": "{{Start date|YYYY|MM|DD|df=y}}"
},
},
"opening": {
"opening": {
Line 762: Line 775:
"aliases": [
"aliases": [
"starting"
"starting"
]
],
"label": "Date opening",
"description": "Date station will be opening, if not open yet"
},
},
"original": {
"original": {
"type": "string",
"type": "string",
"required": false,
"required": false,
"label": "Original company"
"label": "Original company",
"description": "Original company name"
},
},
"postgroup": {
"postgroup": {
"type": "string",
"type": "string",
"required": false,
"required": false,
"label": "Post-grouping company"
"label": "Post-grouping company",
"description": "For UK stations: post-grouping company name (period 1922/1923 to 1947)"
},
},
"pregroup": {
"pregroup": {
"type": "string",
"type": "string",
"required": false,
"required": false,
"label": "Pre-grouping company"
"label": "Pre-grouping company",
"description": "For UK stations: pre-grouping company name (before 1922 for Great Western Railway group, before 1923 for other groups)"
},
},
"prenational": {
"prenational": {
"type": "string",
"type": "string",
"required": false,
"required": false,
"label": "Pre-nationalization company"
"label": "Pre-nationalization company",
"description": "Pre-nationalisation for non-UK stations"
},
},
"rebuilt": {
"rebuilt": {
"type": "string",
"type": "string",
"required": false
"required": false,
"label": "Year rebuilt",
"description": "Year(s) station received a rebuild"
},
},
"electrified": {
"electrified": {
"type": "string",
"type": "string",
"required": false
"required": false,
"label": "Date electrified",
"description": "Date station was electrified, if not previously at date of opening. Do not list the electrification system."
},
},
"years": {
"years": {
Line 1,232: Line 1,255:
"label": "Footnotes",
"label": "Footnotes",
"type": "string"
"type": "string"
},
"architect": {
"label": "Architect\n",
"description": "Architect of the station",
"type": "string"
},
"location_state": {
"description": "Whether to collapse the \"Location\" area.",
"suggestedvalues": [
"collapsed",
"expanded"
]
},
"footnotes_state": {
"description": "Whether to collapse the \"footnotes\" section.",
"suggestedvalues": [
"collapsed",
"expanded"
]
}
}
},
},
Line 1,251: Line 1,293:
"caption",
"caption",
"mlanguage",
"mlanguage",
"hangul",
"hanja",
"mr",
"rr",
"address",
"address",
"borough",
"borough",
Line 1,269: Line 1,307:
"tracks",
"tracks",
"train_operators",
"train_operators",
"tram_routes",
"tram_operators",
"bus_routes",
"bus_routes",
"bus_stands",
"bus_stands",
Line 1,278: Line 1,318:
"parking",
"parking",
"bicycle",
"bicycle",
"disabled",
"accessible",
"architect",
"architect",
"architectural_style",
"architectural_style",
Line 1,393: Line 1,433:
"symbol6",
"symbol6",
"symbol_location6",
"symbol_location6",
"footnotes"
"footnotes",
"location_state",
"footnotes_state"
],
],
"description": "Displays an infobox for a rail, bus, tram or intermodal station.",
"description": "Displays an infobox for a rail, bus, tram or intermodal station.",
"format": "block"
"format": "{{_\n| __________________ = _\n}}\n"
}
}
</templatedata>
</templatedata>
Line 1,406: Line 1,448:


== See also ==
== See also ==
* {{tl|Infobox train}}
* [[Template:Infobox New York City Subway station]] for [[New York City Subway]] and [[Staten Island Railway]] stations
* [[Template:Infobox rail line]]
* {{tl|Infobox rail line}}
* {{tl|Infobox rail service}}
* {{tl|Infobox locomotive}}
* {{tl|Infobox New York City Subway station}} for [[New York City Subway]] and [[Staten Island Railway]] stations


{{Buildings and structures infobox templates}}
{{Buildings and structures infobox templates}}
Line 1,415: Line 1,460:
[[Category:Buildings and structures infobox templates|Station]]
[[Category:Buildings and structures infobox templates|Station]]
[[Category:Templates that add a tracking category]]
[[Category:Templates that add a tracking category]]

}}</includeonly>
}}</includeonly>

Latest revision as of 15:57, 5 October 2024

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

Usage

[edit]
{{{name}}}

{{{native_name}}}
{{{type}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}]]
{{{caption}}}
General information
Other names{{{other_name}}}
Location{{{address}}}
{{{borough}}}
{{{country}}}
Coordinates0°N 0°E / 0°N 0°E / 0; 0
{{{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}}} 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
Map
Notes
{{{footnotes}}}

Railway stations

[edit]
{{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}}
}}

Bus stations

[edit]
{{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}}
}}

Parameters

[edit]

Descriptions

[edit]

Name

[edit]
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

[edit]
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

[edit]
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}}
tram_routes
tram routes serving the station
tram_operators
tram operators serving the station
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

[edit]
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
accessible
Whether the station is accessible to all, e.g. an elevator to platforms
architect
Architect of the station
architectural_style
Architectural style, e.g. Baroque

Other information

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

History

[edit]
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
For UK stations: pre-grouping company name (before 1922 for Great Western Railway group, before 1923 for other groups)
postgroup
For UK stations: post-grouping company name (period 1922/1923 to 1947)
prenational
Pre-nationalisation for non-UK stations
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

[edit]
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

[edit]
services
Allows inclusion of the Template:Adjacent stations boxes for named services.
services_collapsible
If set to 1, yes or collapsible, makes the boxes hidden (by default) in a dropdown and adds a show/hide button to the Services header

Other services

[edit]
other_services
Allows inclusion of the Template:Adjacent stations boxes for additional services. Goes up to other_services2.
other_services_collapsible
If set to 1, 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.
other_services_header
Set the header of this section (defaults to Other services). Goes up to other_services2_header.

Location

[edit]
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

[edit]
  • 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

[edit]

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 yes 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 none. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-point – Turn off display of point feature by setting to none. Force point marker to be displayed by setting to on. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. 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 country (P17), P131 for located in the administrative territorial entity (P131)). Default: not specified
    • mapframe-switcher – set to auto 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 parameter
      • 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
  • 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 instance of (P31) value on Wikidata, if available
      • Can also be set to blank 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" (map of earth) to "18" (maximum zoom in), to be 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 module

[edit]

An 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.

Embedding other infoboxes

[edit]

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

Old parameters

[edit]

Obsolete / Unsupported

[edit]

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

[edit]

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).

Examples

[edit]

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
| 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
Paso Robles train station in 2012
General information
Location800 Pine Street
Paso Robles, California 93446
Coordinates35°37′22″N 120°41′16″W / 35.6227°N 120.6878°W / 35.6227; -120.6878
Owned byCity of Paso Robles
Line(s)Coast Line
Platforms1 side platform
Tracks1
ConnectionsAmtrak Thruway, 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
Map
{{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}}
}}

Microformat

[edit]

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

[edit]

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

[edit]

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

[edit]

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

Tracking categories

[edit]

TemplateData

[edit]
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.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

Name of the station

Stringsuggested
Name languagename_lang

ISO 639-1 code (for name)

Stringoptional
Native namenative_name

Name in local language

Stringoptional
Native name languagenative_name_lang

ISO 639-1 code (for native_name)

Stringoptional
Alternative name(s)other_name

Current alternative name(s)

Stringoptional
Style templatestyle

Refers to an external 'style' template

Stringoptional
Style templatestyle2

Refers to an external 'style' template

Stringoptional
Custom headercustom_header cta_header

no description

Stringoptional
Symbolsymbol

Symbol reference of the primary operator or network

Stringoptional
Symbol Locationsymbol_location

The code of location of the station

Stringoptional
Typetype

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
Stringoptional
Imageimage

Image of the station

Fileoptional
image_uprightimage_upright

Can be used to adjust the size of the image as a ratio

Stringoptional
altalt

Image alt text; see WP:ALT

Stringoptional
Captioncaption image_caption

Caption to be placed under the image of the station

Stringoptional
mlanguagemlanguage

Can be used to insert a language module

Example
{{Infobox Korean name}}
Templateoptional
Addressaddress

Street address of the station

Stringsuggested
Administrative subdivisionborough

Country administrative subdivision or borough

Stringoptional
Countrycountry

Country where station is located

Stringoptional
Coordinatescoordinates

Geographic coordinates, using {{coord}}

Templateoptional
Elevationelevation

Elevation above mean sea level

Stringoptional
Ownedowned

Station owner name

Stringoptional
Managermanager

Manager of station. Cannot be used in conjunction with owned.

Unknownoptional
operatoroperator

Station operator name

Stringoptional
Transit authoritytransit_authority

no description

Unknownoptional
lineslines line

List of lines that the station is on. Use {{Plainlist}}

Stringoptional
distancedistance

The distance from a set point on the line, to this station

Stringoptional
platformsplatforms platform

Information on the type of platform(s) at the station

Stringoptional
trackstracks

Number of tracks at the station

Stringoptional
Train operatorstrain_operators

List of train operating companies (TOCs) that serve the station. Use {{Plainlist}}

Stringoptional
Tram routestram_routes

tram routes serving the station

Stringoptional
Tram operatorstram_operators

tram operators serving the station

Stringoptional
Bus routesbus_routes routes

number of bus routes serving the station

Stringoptional
Bus standsbus_stands

Number of bus stands (bays, slips) at the station

Numberoptional
bus_operatorsbus_operators

bus operators serving the station

Stringoptional
Connectionsconnections other

Connecting services that serve the station such as bus routes

Stringoptional
Structurestructure

Type of station structure (underground, at-grade, or elevated)

Suggested values
At-grade Below-grade Elevated Embankment Underground
Stringoptional
depthdepth

The depth of the primary platform below ground level

Stringoptional
levelslevels

Number of levels of platforms at the station (use only if more than one exists; mezzanine/entrance levels are not included)

Stringoptional
parkingparking

Information on station's parking facilities

Stringoptional
bicyclebicycle

Information on station's bicycle facilities

Stringoptional
Accessibleaccessible ADA disabled

Is the station accessible?

Stringoptional
Architect architect

Architect of the station

Stringoptional
Architectural stylearchitectural_style

Architectural style, e.g. Baroque

Stringoptional
statusstatus

Generic station status field, e.g. Unstaffed

Stringoptional
codecode

Agency station code (used on tickets/reservations, etc.)

Stringoptional
IATA codeiata

IATA airport code when issued as part of an agreement between airlines and rail lines

Stringoptional
Zonezone

Fare zone station is located in

Stringoptional
classificationclassification

Station national classification

Stringoptional
Websitewebsite web

Web address of the station using the {{URL}} template. Do not include the leading www. unless the URL will not resolve without it.

Example
{{URL|railroad.com/station}}
Stringoptional
Date openedopened start

Date station originally opened, use the {{Start date}} template

Example
{{Start date|YYYY|MM|DD|df=y}}
Stringoptional
Date openingopening starting

Date station will be opening, if not open yet

Stringoptional
Date closedclosed end ending

Date station closed, either temporarily or permanently, along with reason for closing (for presently closed stations only)

Stringoptional
Year rebuiltrebuilt

Year(s) station received a rebuild

Stringoptional
Date electrifiedelectrified

Date station was electrified, if not previously at date of opening. Do not list the electrification system.

Stringoptional
Previous namesformer

Previous station name(s)

Stringoptional
Original companyoriginal

Original company name

Stringoptional
Pre-grouping companypregroup

For UK stations: pre-grouping company name (before 1922 for Great Western Railway group, before 1923 for other groups)

Stringoptional
Post-grouping companypostgroup

For UK stations: post-grouping company name (period 1922/1923 to 1947)

Stringoptional
Pre-nationalization companyprenational

Pre-nationalisation for non-UK stations

Stringoptional
yearsyears

no description

Stringoptional
eventsevents

no description

Stringoptional
years1years1

no description

Stringoptional
events1events1

no description

Stringoptional
years2years2

no description

Stringoptional
events2events2

no description

Stringoptional
years3years3

no description

Stringoptional
events3events3

no description

Stringoptional
years4years4

no description

Stringoptional
events4events4

no description

Stringoptional
years5years5

no description

Stringoptional
events5events5

no description

Stringoptional
years6years6

no description

Stringoptional
events6events6

no description

Stringoptional
years7years7

no description

Stringoptional
events7events7

no description

Stringoptional
years8years8

no description

Stringoptional
events8events8

no description

Stringoptional
years9years9

no description

Stringoptional
events9events9

no description

Stringoptional
years10years10

no description

Stringoptional
events10events10

no description

Stringoptional
years11years11

no description

Stringoptional
events11events11

no description

Stringoptional
years12years12

no description

Unknownoptional
events12events12

no description

Unknownoptional
Passengers modulempassengers

Child infobox containing passenger statistics using {{Rail pass box}}

Templateoptional
passengerspassengers

no description

Stringoptional
pass_systempass_system

no description

Stringoptional
pass_yearpass_year

no description

Stringoptional
pass_percentpass_percent

no description

Stringoptional
pass_rankpass_rank

no description

Stringoptional
servicesservices

no description

Stringoptional
services_collapsibleservices_collapsible

no description

Stringoptional
other_servicesother_services

no description

Stringoptional
other_services_headerother_services_header

no description

Default
Other services
Stringoptional
other_services_collapsibleother_services_collapsible

no description

Stringoptional
other_services2other_services2

no description

Stringoptional
other_services2_headerother_services2_header

no description

Default
Other services
Stringoptional
other_services2_collapsibleother_services2_collapsible

no description

Stringoptional
embeddedembedded

no description

Stringoptional
nrhpnrhp

no description

Stringoptional
route_maproute_map

no description

Stringoptional
Show mapframe mapmapframe

Specify yes or no to show or hide the map, overriding the default

Default
no
Example
yes
Stringsuggested
Mapframe captionmapframe-caption

Caption for the map. If mapframe-geomask is set, then the default is "Location in <<geomask's label>>"

Stringoptional
Custom mapframemapframe-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, other mapframe parameters will be ignored.

Templateoptional
Mapframe Wikidata itemmapframe-id id qid

Id (Q-number) of Wikidata item to use.

Default
(item for current page)
Stringoptional
Mapframe coordinates mapframe-coordinates mapframe-coord coordinates. coord

Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template.

Default
(coordinates from Wikidata)
Example
{{Coord|12.34|N|56.78|E}}
Templateoptional
Mapframe shapes from Wikidatamapframe-wikidata

et to yes to show shape/line features from the wikidata item, if any, when coordinates are specified by parameter

Example
yes
Stringoptional
Mapframe point featuremapframe-point

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"

Stringoptional
Mapframe shape featuremapframe-shape

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"

Stringoptional
Mapframe widthmapframe-frame-width mapframe-width

Frame width in pixels

Default
270
Numberoptional
Mapframe heightmapframe-frame-height mapframe-height

Frame height in pixels

Default
200
Numberoptional
Mapframe shape fillmapframe-shape-fill

Color used to fill shape features

Default
#606060
Stringoptional
Mapframe shape fill opacitymapframe-shape-fill-opacity

Opacity level of shape fill, a number between 0 and 1

Default
0.5
Numberoptional
Mapframe stroke colormapframe-stroke-color mapframe-stroke-colour

Color of line features, and outlines of shape features

Default
#ff0000
Stringoptional
Mapframe stroke widthmapframe-stroke-width

Width of line features, and outlines of shape features

Default
5
Numberoptional
Mapframe markermapframe-marker

Marker symbol to use for coordinates; see [[mw:Help:Extension:Kartographer/Icons]] for options

Example
museum
Stringoptional
Mapframe marker colormapframe-marker-color mapframe-marker-colour

Background color for the marker

Default
#5E74F3
Stringoptional
Mapframe geomaskmapframe-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 country, or P131 for located in the administrative territorial entity)

Example
Q100
Page nameoptional
Mapframe geomask stroke colormapframe-geomask-stroke-color mapframe-geomask-stroke-colour

Color of outline of geomask shape

Default
#555555
Stringoptional
Mapframe geomask stroke widthmapframe-geomask-stroke-width

Width of outline of geomask shape

Default
2
Numberoptional
Mapframe geomask fillmapframe-geomask-fill

Color used to fill outside geomask features

Default
#606060
Stringoptional
Mapframe geomask fill opacitymapframe-geomask-fill-opacity

Opacity level of fill outside geomask features, a number between 0 and 1

Default
0.5
Numberoptional
Mapframe zoommapframe-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
Example
12
Numberoptional
Mapframe length (km)mapframe-length_km

Object length in kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe length (mi)mapframe-length_mi

Object length in miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (km^2)mapframe-area_km2

Object arean square kilometres, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe area (mi^2)mapframe-area_mi2

Object area in square miles, for automatically determining zoom level. ONLY use ONE of the available parameters for length or area

Numberoptional
Mapframe frame coordinatesmapframe-frame-coordinates mapframe-frame-coord

Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}

Example
{{Coord|12.35|N|56.71|E}}
Templateoptional
Mapframe switchermapframe-switcher

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.

Stringoptional
Map imagemap_image

Image of a map showing the location of the station

Fileoptional
map_image_uprightmap_image_upright

Can be used to adjust the size of the map image as a ratio

Stringoptional
map_statemap_state

no description

Stringoptional
map_namemap_name

no description

Stringoptional
map_typemap_type

no description

Stringoptional
AlternativeMapAlternativeMap

no description

Stringoptional
map_altmap_alt

no description

Stringoptional
map_overlaymap_overlay

no description

Stringoptional
map_dot_labelmap_dot_label

no description

Stringoptional
map_label_positionmap_label_position

no description

Stringoptional
map_captionmap_caption

no description

Stringoptional
map_sizemap_size

no description

Stringoptional
grid_namegrid_name

Name of regional grid (used as label)

Unknownoptional
grid_positiongrid_position

Coordinates in regional grid

Unknownoptional
symbol2symbol2

no description

Unknownoptional
symbol_location2symbol_location2

no description

Unknownoptional
Connections (via param 'other')Connections (via param 'other')

Same as para "connections", using its alias "other"

Unknowndeprecated
symbol3symbol3

no description

Unknownoptional
symbol_location3symbol_location3

no description

Unknownoptional
symbol4symbol4

no description

Unknownoptional
symbol_location4symbol_location4

no description

Unknownoptional
symbol5symbol5

no description

Unknownoptional
symbol_location5symbol_location5

no description

Unknownoptional
symbol6symbol6

no description

Unknownoptional
symbol_location6symbol_location6

no description

Unknownoptional
Footnotesfootnotes

no description

Stringoptional
location_statelocation_state

Whether to collapse the "Location" area.

Suggested values
collapsed expanded
Unknownoptional
footnotes_statefootnotes_state

Whether to collapse the "footnotes" section.

Suggested values
collapsed expanded
Unknownoptional

Subtemplates

[edit]

See also

[edit]