Template:Infobox public transit/doc
| This is a documentation subpage for Template:Infobox public transit. It may contain usage information, categories and other content that is not part of the original template page. |
__EXPECTED_UNCONNECTED_PAGE__
| This template is used on many 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. |
| This template uses Lua: |
Infobox public transit is mainly for rail transit systems. For a specific service within a rail system, or for a rail system with only one route, {{Infobox rail service}} may be a better choice. For railway lines, use {{Infobox rail line}} instead. For transit bus-only systems, consider {{Infobox bus transit}}.
Usage
| {{{name}}} | |||
|---|---|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{caption}}}]] {{{caption}}} | |||
| [[File:{{{image2}}}|{{{image2_size}}}|alt={{{alt2}}}|{{{caption2}}}]] {{{caption2}}} | |||
| [[File:{{{image3}}}|{{{image3_size}}}|alt={{{alt3}}}|{{{caption3}}}]] {{{caption3}}} | |||
| Overview | |||
| Native name | {{{native_name}}} | ||
| Owner | {{{owner}}} | ||
| Area served | {{{area_served}}} | ||
| Locale | {{{locale}}} | ||
| Transit type | {{{transit_type}}} | ||
Number of lines | {{{lines}}} | ||
| Line number | {{{line_number}}} | ||
Number of stations | {{{stations}}} | ||
Daily ridership | {{{daily_ridership}}} | ||
Annual ridership | {{{annual_ridership}}} | ||
Chief executive | {{{chief_executive}}} | ||
| Headquarters | {{{headquarters}}} | ||
| Website | {{{website}}} | ||
| Operation | |||
Began operation | {{{began_operation}}} | ||
Operation will start | {{{operation_will_start}}} | ||
Ended operation | {{{ended_operation}}} | ||
| Operator | {{{operator}}} | ||
| Reporting marks | {{{reporting_marks}}} | ||
Infrastructure manager | {{{infrastructure_managers}}} | ||
| Character | {{{character}}} | ||
| Rolling stock | {{{rolling_stock}}} | ||
Number of vehicles | {{{vehicles}}} | ||
| Train length | {{{train_length}}} | ||
| Headway | {{{headway}}} | ||
| Technical | |||
| System length | {{{system_length}}} | ||
| No. of tracks | {{{num_tracks}}} | ||
| Track gauge | {{{track_gauge}}} | ||
| Old gauge | {{{old_gauge}}} | ||
| {{{minimum_radius_of_curvature}}} | |||
| Electrification | {{{electrification}}} | ||
| Average speed | {{{average_speed}}} | ||
| Top speed | {{{top_speed}}} | ||
| {{{module}}} | |||
| |||
{{Infobox public transit
| box_width =
| name = <!-- defaults to the page name -->
| image =
| image_size =
| alt =
| caption =
| image2 =
| image2_size =
| alt2 =
| caption2 =
| image3 =
| image3_size =
| alt3 =
| caption3 =
| native_name = <!-- use {{lang}} -->
| owner =
| area_served =
| locale =
| transit_type =
| lines =
| line_number =
| stations = <!-- or stops -->
| daily_ridership =
| annual_ridership =
| chief_executive = <!-- or key_people -->
| headquarters =
| website =
| began_operation =
| operation_will_start =
| ended_operation =
| operator =
| reporting_marks =
| infrastructure_managers =
| character =
| rolling_stock =
| vehicles =
| train_length =
| headway =
| system_length = <!-- {{convert|0|mi|km|abbr=on}} -->
| num_tracks =
| track_gauge = <!-- {{Track gauge|sg|allk=on}} -->
| old_gauge = <!-- {{Track gauge|sg|allk=on}} -->
| minimum_radius_of_curvature = <!-- {{convert|0|ft|m}} -->
| electrification =
| average_speed = <!-- {{convert|0|mph|km/h|abbr=on}} -->
| top_speed = <!-- {{convert|0|mph|km/h|abbr=on}} -->
| map =
| map_name =
| map_state = <!-- collapsed or show -->
| module =
}}
Parameters
| Parameter | Explanation |
|---|---|
| Title and images | |
box_width
|
Width of the infobox, e.g. 25em. Default: 22em. Use auto if a route diagram in |map= wraps.
|
name
|
Name of the transit system. Defaults to the page name, except in child mode. |
image
|
An image, typically a logo, as a file name without the File: prefix. A photo can be used if there is no logo.
|
image_size
|
Width of the image, e.g. 150px. Default: frameless.
|
alt
|
Alt text for the image. |
caption
|
Caption for the image. |
image2
|
A second image, e.g. a photo when the logo is in |image=.
|
image2_size
|
Width of the second image. Default: frameless. |
alt2
|
Alt text for the second image. |
caption2
|
Caption for the second image. |
image3
|
A third image. |
image3_size
|
Width of the third image. Default: frameless. |
alt3
|
Alt text for the third image. |
caption3
|
Caption for the third image. |
| Overview | |
native_name
|
Name of the system in its native language(s); use {{lang}}. |
owner
|
Owner of the system, if different from the operator. If publicly owned, give that and its stock ticker. |
area_served
|
The area served by the system. |
locale
|
The city or region where the system is located. Should always be given. |
transit_type
|
Type of transit system. Types may include one or more of:
or other types, including bicycle sharing systems. |
lines
|
Number of lines or routes. |
line_number
|
Line or route number(s). |
stations
|
Number of stations, labelled Number of stations. Used in place of |stops=. For a bicycle-sharing system, the number of station areas, not docks; leave blank for a dockless system.
|
stops
|
Number of stops, labelled Number of stops. |
daily_ridership
|
Daily ridership. |
annual_ridership
|
Annual ridership. |
chief_executive
|
Chief executive of the operator, labelled Chief executive. Used in place of |key_people=.
|
key_people
|
Key people, labelled Key people. |
headquarters
|
Location of the operator's headquarters. |
website
|
The official website, ideally with {{URL}}. |
| Operation | |
began_operation
|
Date operations began. |
operation_will_start
|
Date operations will start, for a system not yet open. |
ended_operation
|
Date operations ended. |
operator
|
Operator(s) of the system, typically a subsidiary of the owner. The label becomes plural for a list. |
reporting_marks
|
Reporting marks of the operator. |
infrastructure_managers
|
Reporting marks or names of the companies that own track the system uses. Leave blank if the system owns all its right-of-way; if it is mixed, include the system's own mark too. The label becomes plural for a list. |
character
|
Character of the system, e.g. At-grade street running, Fully elevated and grade-separated or Underground. |
rolling_stock
|
Rolling stock used. |
vehicles
|
Number of vehicles (or bicycles, for a bicycle-sharing system). |
train_length
|
Number of cars or coaches per trainset. |
headway
|
Time between trains on the same track. |
| Technical | |
system_length
|
System length, also called route length. Use {{convert}}, e.g. {{convert|5|mi|km}}, to show both U.S. and metric units.
|
num_tracks
|
Number of tracks on the lines the system uses. |
track_gauge
|
Track gauge, with {{Track gauge}}. |
old_gauge
|
The former track gauge, with {{Track gauge}}. |
minimum_radius_of_curvature
|
Minimum railway curve radius. Use {{convert}}, e.g. {{convert|5|mi|km}}, to show both U.S. and metric units.
|
electrification
|
Electrification: overhead lines or third rail, voltage, AC or DC, etc. |
average_speed
|
Average speed, if known. Use {{convert}}, e.g. {{convert|5|mi|km}}, to show both U.S. and metric units.
|
top_speed
|
Top speed, if known. Use {{convert}}, e.g. {{convert|5|mi|km}}, to show both U.S. and metric units.
|
| Map and embedding | |
map
|
A map or route diagram, shown in a collapsible section at the bottom of the box. |
map_name
|
Title of the map section. Default: System map. |
map_state
|
collapsed to hide the map until clicked, or show.
|
module
|
Another infobox to embed, with |child=yes. Shown after the Technical section.
|
child
|
Set to yes to use this box as a module inside another infobox. No title is shown unless |name= is given.
|
Example
| Sochi Light Metro | |
|---|---|
| Overview | |
| Owner | City of Sochi |
| Locale | Sochi, Russia |
| Transit type | Light metro |
Number of lines | 3 |
Number of stations | 24 |
| Operation | |
Operation will start | 2013 |
| Technical | |
| System length | 86.4 km (53.7 mi) |
| Track gauge | 1,520 mm (4 ft 11+27⁄32 in) Russian gauge |
An example from the Sochi Light Metro:
{{Infobox public transit
| name = Sochi Light Metro
| image = Coat of Arms of Sochi (Krasnodar krai).png
| image_size = 150px
| owner = City of Sochi
| locale = [[Sochi]], [[Russia]]
| transit_type = [[Medium capacity system|Light metro]]
| lines = 3
| stations = 24
| operation_will_start = 2013
| system_length = {{convert|86.4|km|mi|abbr=on}}
| track_gauge = {{Track gauge|1520mm|allk=on}}
}}
If parts of a route diagram made with WP:ROUTE wrap onto the next line, the infobox is probably too narrow. Increase |box_width=, or set it to auto.
Template data
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See a monthly parameter usage report for Template:Infobox public transit in articles based on its TemplateData.
TemplateData for Infobox public transit An infobox for a public transit system, mainly rail transit.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||