Template:Infobox public transit
{{{name}}} | |||
---|---|---|---|
[[File:{{{image}}}|{{{imagesize}}}]] [[File:{{{image2}}}|{{{imagesize2}}}]] | |||
Info | |||
Owner | {{{owner}}} | ||
Locale | {{{locale}}} | ||
Transit type | {{{transit_type}}} | ||
Number of lines | {{{lines}}} | ||
Number of stations | {{{stations}}} | ||
Daily ridership | {{{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(s) | {{{operator}}} | ||
Reporting marks | {{{marks}}} | ||
Number of vehicles | {{{vehicles}}} | ||
Train length | {{{train_length}}} | ||
Headway | {{{headway}}} | ||
Technical | |||
System length | {{{system_length}}} | ||
Track gauge | {{{track_gauge}}} | ||
Old gauge | {{{ogauge}}} | ||
Minimum radius of curvature | {{{minimum_radius_of_curvature}}} | ||
Electrification | {{{el}}} | ||
Average speed | {{{average_speed}}} | ||
Top speed | {{{top_speed}}} | ||
OpenStreetMap | {{{osm_id}}} | ||
|
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Parameter list and definitions
Name | Parameter | Required | Definition | ||
---|---|---|---|---|---|
Name | name |
No | Name of transit system; default:Article Name | ||
Image | image |
No | Filename of image for the header (typically a logo, but photo can be used if no logo is available) | ||
Image size | imagesize |
No | Size of image defined above; default:300px | ||
Image | image2 |
No | Filename of second image for the header (allows for use of a picture if the logo was used for the first image parameter) | ||
Image size | imagesize2 |
No | Size of second image defined above; default:300px | ||
Locale | locale |
Yes | City or region transit system is located | ||
Transit type | transit_type |
Yes | Type of transit system. Types may include (one or more):
| ||
Began operation | began_operation |
No | Date system operations began | ||
Ended operation | ended_operation |
No | Date system operations ended | ||
System length | system_length |
No | System length (use {{convert}} to display both U.S. and metric units) | ||
Lines | lines |
No | Number of lines/routes | ||
Vehicles | vehicles |
No | Number of transit vehicles | ||
Stations | stations |
No | Number of stations/stops | ||
Daily ridership | ridership |
No | Daily system ridership | ||
Track gauge | track_gauge |
No | Track gauge (use template – see Category:Rail transport gauge templates) | ||
Reporting marks | marks |
No | Reporting marks of transit operator | ||
Operator | operator |
No | Operator of transit system (typically a subsidiary of the system's owner) | ||
Owner | owner |
No | Owner of transit system (if different than operator) | ||
Average speed | average_speed |
No | Average speed (if known; use {{convert|0|mph|km/h|abbr=on}} or {{convert|0|km/h|mph|abbr=on}} to display both U.S. and metric units)) | ||
Top speed | top_speed |
No | Top speed (if known; use
|
Usage
Copy and paste
{{Infobox Public transit |name = |image = |imagesize = |locale = |transit_type = |began_operation = |ended_operation = |system_length = {{convert|0|mi|km|abbr=on}} |lines = |vehicles = |stations = |ridership = |track_gauge = |reporting marks = |operator = |owner = |average_speed = {{convert|0|mph|km/h|abbr=on}} |top_speed = {{convert|0|mph|km/h|abbr=on}} }}
Example
An example from the Port Authority Trans-Hudson rapid transit system:
{{Infobox Public transit |name = PATH |image = placeholder.png |imagesize = 200 px |locale = Northern [[New Jersey]] and [[Manhattan]], [[New York]] |transit_type = [[Rapid transit]] |began_operation = [[1908]] |system_length = {{convert|13.8|mi|km||abbr=on}} |lines = 4 |stations = 13 |ridership = 239,200 |track_gauge = {{RailGauge|sg}} ([[standard gauge]]) |marks = PATH; formerly HDM |operator=Port Authority Trans-Hudson |owner = [[Port Authority of New York and New Jersey]] }} |
|
The above documentation is transcluded from Template:Infobox public transit/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |