قالب:جدول وسيلة مواصلات عامة/doc
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. |
This infobox is mainly for rail transit systems. For a specific line within a rail system, or for a rail system with only one line, please use {{Infobox rail line}}. For transit bus-only systems, please use {{Infobox Bus transit}}.
Parameter list and definitions
Name | Parameter | Required | Definition |
---|---|---|---|
Infobox width | box_width |
No | Width of infobox, default: 25em; Note: use auto for automatic width
|
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:200px |
2nd 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) |
2nd Image size | imagesize2 |
No | Size of second image defined above; default:200px |
Caption | caption |
No | Caption of the image (especially if an image was used for the second image where a logo and image are used) |
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):
|
Number of lines | lines |
No | Number of lines/routes |
Number of stations | stations |
No | Number of stations/stops |
Daily ridership | ridership |
No | Daily system ridership |
Chief executive | chief_executive |
No | Chief executive of the operator |
Headquarters | headquarters |
No | Location of the operator's headquarters (address and city) |
Began operation | began_operation |
No | Date system operations began |
Operation will start | operation_will_start |
No | Date system operations will start in the future |
Ended operation | ended_operation |
No | Date system operations ended |
Owner | owner |
No | Owner of transit system (if different than operator) |
Operator(s) | operator |
No | Operator of transit system (typically a subsidiary of the system's owner) |
Reporting marks | marks |
No | Reporting marks of transit operator |
Number of vehicles | vehicles |
No | Number of transit vehicles |
Train length | train_length |
No | Train length |
Headway | headway |
No | Time between trains on the same track |
System length | system_length |
No | System length (use {{mi to km}} or {{km to mi}} to display both U.S. and metric units) |
Track gauge | track_gauge |
No | Track gauge (use template – see Category:Rail transport gauge templates) |
Minimum radius of curvature | minimum_radius_of_curvature |
No | (use template convert ) |
Electrification | el |
No | Overhead lines or Third rail, Voltage, AC or DC, etc. |
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 {{convert}} as used with average speed) |
Map | map |
No | Map of line |
Map title | map_name |
No | Title of map; default: Route map |
Show/hide line map | map_state |
No | Shows or hides map. Use show or collapsed
|
Usage
Copy and paste
{{Infobox Public transit | box_width = | name = | image = | imagesize = | image2 = | imagesize2 = | caption = | imagesize2 = | locale = | transit_type = | lines = | stations = | ridership = | chief_executive = | headquarters = | began_operation = | ended_operation = | owner = | operator = | marks = | vehicles = | train_length = | headway = | system_length = {{mi to km|0|abbr=yes|precision=2|wiki=yes}} | track_gauge = | minimum_radius_of_curvature = {{convert|0|ft|0|in|mm|0}} | el = | average_speed = {{convert|0|mph|km/h|abbr=on}} | top_speed = {{convert|0|mph|km/h|abbr=on}} | map = | map_name = | map_state = collapsed }}
Example
Сочинское лёгкое метро Sochi Light Metro | |||
---|---|---|---|
Info | |||
Locale | Sochi, Russia | ||
Transit type | Light Metro | ||
Number of lines | 3 | ||
Number of stations | 24 | ||
Daily ridership | 0 | ||
Operation | |||
Operation will start | 2013 | ||
Owner | City of Sochi | ||
Technical | |||
System length | 86٫4 كم (53٫69 ميل) | ||
Track gauge | 1520 (Russian gauge) | ||
|
An example from the Sochi Light Metro rapid transit system:
<pre.raw style="border:0px;overflow:auto;">{{Infobox Public transit | name = Сочинское лёгкое метро<br>Sochi Light Metro | image = placeholder.png | imagesize = 200 px | locale = [[Sochi]], [[Russia]] | transit_type = [[Medium capacity system|Light Metro]] | began_operation = Planned for 2014 | system_length = {{km to mi|86.4|abbr=yes|precision=2|wiki=yes}} | lines = 3 | stations = 24 | ridership = 0 | track_gauge = {{RailGauge|1520}} ([[Russian gauge]]) | marks = | operator = | owner = City of Sochi | map = {{Sochi Light Metro route diagram}} | map_name = | map_state = show }}
If some of the row of route map made with WP:ROUTE set (not entirely) breaks apart, possibly the infobox width is too short and forcing some of the text description within the route diagram template to return. Increase the box_width parameter, or putting auto
will solve this problem.