Мазмұнға өту

Үлгі:Метро

Уикипедия — ашық энциклопедиясынан алынған мәлімет
(i) Құжаттама
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}}.

Қолданысы

Синтаксисі

{{метро
|box_width                   =
|name                        =
|image                       =
|alt                         =
|imagesize                   =
|image2                      =
|alt2                        =
|imagesize2                  =
|image3                      =
|alt3                        =
|imagesize3                  =
|caption                     =
|owner                       =
|locale                      =
|transit_type                =
|lines                       =
|stations                    =
|ridership                   =
|annual_ridership            =
|chief_executive             =
|headquarters                =
|website                     =
|callcentre                  =
|began_operation             =
|operation_will_start        =
|ended_operation             =
|operator                    =
|marks                       =
|host                        =
|vehicles                    =
|train_length                =
|headway                     = 
|system_length               = <!-- {{convert|0|mi|km|abbr=on}} -->
|notrack                     =
|track_gauge                 =
|ogauge                      =
|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}} -->
|osm_id                      =
|map                         =
|map_name                    =
|map_state                   = <!-- show or collapsed -->
}}

Parameters

NameParameterRequiredDefinition
Infobox widthbox_widthNoWidth of infobox, default:22em; Note: use auto for automatic width
NamenameNoName of transit system; default:PAGENAME
ImageimageNoFilename of image for the header (typically a logo, but photo can be used if no logo is available)
Image alt textaltNoDescription of image for those who cannot see it (see alt text).
Image sizeimagesizeNoSize of image defined above; default:200px
2nd Imageimage2NoFilename of second image for the header (allows for use of a picture if the logo was used for the first image parameter)
2nd Image alt textalt2NoDescription of image for those who cannot see it.
2nd Image sizeimagesize2NoSize of second image defined above; default:200px
3rd Imageimage2NoFilename of third image for the header
3rd Image alt textalt2NoDescription of third for those who cannot see it.
3rd Image sizeimagesize2NoSize of third image defined above; default:200px
CaptioncaptionNoCaption of the image (especially if an image was used for the second image where a logo and image are used). Text appears under images.
OwnerownerNoOwner of transit system (if different than operator; if publicly owned, list that and its stock ticker)
LocalelocaleYesCity or region transit system is located
Transit typetransit_typeYesType of transit system. Types may include (one or more):
Number of lineslinesNoNumber of lines/routes
Number of stationsstationsNoNumber of stations/stops
Daily ridershipridershipNoDaily system ridership
Annual ridershipannual_ridershipNoAnnual system ridership
Chief executivechief_executiveNoChief executive of the operator
Headquarters headquarters NoLocation of the operator's headquarters (address and city)
WebsitewebsiteNoWebsite http address
Call CentrecallcentreNoLocal Call Center for information on timetables, delays, routes etc.
Began operationbegan_operationNoDate system operations began
Operation will startoperation_will_startNoDate system operations will start in the future
Ended operationended_operationNoDate system operations ended
Operator(s)operator(s)NoOperator of transit system (typically a subsidiary of the system's owner)
Reporting marksmarksNoReporting marks of transit operator
Host RailroadshostNoReporting marks or names of railroad companies that own trackage that the transit system uses. Leave blank if system owns all right-of-ways, but add system's own mark if it is mixed between owned by system and trackage rights assigned to system.
Number of vehiclesvehiclesNoNumber of transit vehicles
Train lengthtrain_lengthNoTrain length
HeadwayheadwayNoTime between trains on the same track
System lengthsystem_lengthNoSystem length (use {{convert|5|mi|km}} or {{convert|5|km|mi}} to display both U.S. and metric units)
No. of tracksnotrackNoNumber of tracks on the lines the system uses
Track gaugetrack_gaugeNoTrack gauge (use template – see Category:Rail transport gauge templates)
Old gaugeogaugeNoTrack gauge (use template – see Category:Rail transport gauge templates)
Minimum radius of curvatureminimum_radius_of_curvatureNo(use template convert )
ElectrificationelNoOverhead lines or Third rail, Voltage, AC or DC, etc.
Average speedaverage_speedNoAverage 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 speedtop_speedNoTop speed (if known; use {{convert}} as used with average speed)
MapmapNoMap of line
Map titlemap_nameNoTitle of map; default: System map
Show/hide line mapmap_stateNoShows or hides map. Use show or collapsed

Example

An example from the Sochi Light Metro rapid transit system:

<pre.raw style="border:0px;overflow:auto;"> {{Infobox public transit |name = Sochi Light Metro |image = Coat_of_Arms_of_Sochi_(Krasnodar_krai).png |imagesize = 150 px |caption = Bombardier Spacium train mockup |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 = {{RailGauge|1520}} ([[Russian gauge]]) |map = {{Sochi Light Metro route diagram}} |map_state = collapsed }}

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.

Үлгіні өңдеген кезде абай болыңыз!