跳至內容

模板:Infobox rail line/doc

{{Infobox rail line}} is used for railway lines, i.e. the physical trackage between two or more places; however, this template is also sometimes used on articles about both a company and a line (e.g. Romney, Hythe and Dymchurch Railway). It has no mandatory parameters. {{Infobox rail}} is used to create an infobox for articles about railway companies; i.e. the owner or operating entity. For rail services {{Infobox rail service}} is used.

{{{name}}}
[[File:{{{logo}}}|{{{logo_width}}}|alt={{{logo_alt}}}|{{{logo_alt}}}]]
[[File:{{{image}}}|265x265px|alt={{{image_alt}}}|{{{image_alt}}}]]
{{{caption}}}
Gĭ-buōng cṳ̆-lâiu
Gì-tă miàng {{{other_name}}}
Câi-dê miàng {{{native_name}}}
Câung-huóng {{{status}}}
Ngiĕk-ciō {{{owner}}}
Line number {{{linenumber}}}
Ìng-ông dê-kṳ̆ {{{locale}}}
Gĭng-ūi-dô {{{coordinates}}}
Kī-diēng
Cṳ̆ng-diēng
{{{start}}}
{{{end}}}
Continues from {{{continuesfrom}}}
Continues as {{{continuesas}}}
Connecting lines {{{connectinglines}}}
Former connections {{{formerconnections}}}
Chiă-câng {{{stations}}}
Uōng-câng {{{website}}}
Hók-ô
Hók-ô lôi-hìng {{{type}}}
Hiê-tūng {{{system}}}
Diô-siáng {{{routes}}}
Route number {{{routenumber}}}
Train number(s) {{{trainnumber}}}
Ìng-ông dăng-ôi {{{operator}}}
Chiă-liông gĭ-dê {{{depot}}}
Rolling stock {{{stock}}}
Daily ridership {{{daily_ridership}}}
Ridership {{{ridership2}}}
Lĭk-sṳ̄
Commenced {{{yearcommenced}}}
Planned opening {{{planopen}}}
Kŭi-tŭng {{{open}}}
Last extension {{{lastextension}}}
Completed {{{yearcompleted}}}
{{{event1label}}} {{{event1}}}
{{{event2label}}} {{{event2}}}
{{{event3label}}} {{{event3}}}
Closed {{{close}}}
Reopened {{{reopen}}}
Gié-sŭk
Diô-siáng dòng-dô {{{linelength_km}}}
Gūi-dô̤ dòng-dô {{{tracklength_km}}}
Gūi-dô̤ só-liông {{{tracks}}}
Gūi-dô̤ lôi-hìng {{{character}}}
Rack system {{{racksystem}}}
Gūi-dô̤ biĕu-cūng {{{gauge}}}
Old gauge {{{old_gauge}}}
Loading gauge {{{load_gauge}}}
Route availability {{{availability}}}
Minimum radius {{{minradius}}}
Electrification {{{electrification}}}
Sók-dô {{{speed_km}}}
Signalling {{{signalling}}}
Train protection system {{{trainprotection}}}
Có̤i duâi gŏ̤-dô {{{elevation_m}}}
Có̤i duâi pŏ̤-dô {{{maxincline}}}
Average inter-station distance {{{aveinterstation}}}
{{Infobox rail line
| box_width        = 
| name             = 
| other_name       = 
| native_name      = 
| native_name_lang = 
| color            = 
| logo             = 
| logo_width       = 
| logo_alt         = 
| image            = 
| image_width      = 
| image_alt        = 
| caption          = 
| type             = 
| system           = 
| status           = 
| locale           = 
| start            = 
| end              = 
| stations         = 
| routes           = 
| daily_ridership  = 
| ridership2       = 
| planopen         = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| open             = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| yearcommenced    = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| yearcompleted    = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| close            = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| event1label      = 
| event1           = 
| event2label      = 
| event2           = 
| event3label      = 
| event3           = 
| owner            = 
| operator         = 
| character        = 
| depot            = 
| stock            = 
| linelength_km    = 
| linelength_mi    = 
| linelength       = 
| tracklength_km   = 
| tracklength_mi   = 
| tracklength      = 
| tracks           = 
| gauge            = <!-- {{Track gauge|sg|allk=on}} {{Track gauge|1000mm|allk=on}} {{Track gauge|42in|lk=on}} etc -->
| old_gauge        = 
| load_gauge       = 
| minradius        = 
| racksystem       = 
| routenumber      = 
| linenumber       = 
| electrification  = 
| speed_km/h       = 
| speed_mph        = 
| speed            = 
| signalling       = 
| elevation_m      = 
| elevation_ft     = 
| elevation        = 
| website          = 
| map              = 
| map_name         = map_name
| map_state        = uncollapsed
| embedded         = 
}}

Parameters

[Gāi nguòng-mā]
ParameterRequiredDefinition
box_widthNoWidth of infobox, default: 25em; Note: use auto for automatic width (nb long image captions will not wrap if |box_width=auto is specified)
nameNoName of rail line; default:Article Name
other_nameNoAlternative name of rail line
native_nameNoNon-English name of rail line
native_name_langNoISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead
colorNoColor of rail line (6-digit hex code without "#")
logoNoFilename of image for the logo
logo_widthNoSize of logo, default: 200px
logo_altNoAlt text for logo, for visually impaired readers; see WP:ALT. This should be present if "logo=" is present.
imageNoFilename of image
image_widthNoSize of image, default: 250px
image_altNoAlt text for image. This should be present if "image=" is present.
captionNoCaption of image
statusNoStatus of rail line
ownerNoOwner of rail line
linenumberNoOfficial number of the rail line. Not to be confused with the number of a service.
elrNoEngineer's Line Reference
localeNoCity or region line is located
coordinatesNoCoordinates; use {{Coord}} with |display=inline,title
startNoName of starting station/junction
endNoName of ending station/junction
stationsNoNumber of stations/stops
Service
typeNoType of transit system. Types may include (one or more):
systemNoName of transit system the services on the line are part of (e.g. National Rail)
routesNoService routes of rail line or number(s)/identifier(s) of set of trains with same service, usually seen in suburban trains. e.g. S7, IENA, 7, Line A.
routenumberNoRoute number(s) indicated in timetables to identify the stretch of track, in Germany usually referred as Kursbuchstrecke
trainnumberNoTrain number(s) running as shown in official timetables and printed on tickets.
operatorNoOperator(s) of services on the line
depotNoName of traction maintenance depot(s) of rail line
stockNoTypes of rolling stock used on the rail line
daily_ridershipNoDaily system ridership
ridership2NoGeneric ridership field for non-daily values
History
yearcommencedNoYear construction commenced
planopenNoDate rail line planned opening
openNoDate rail line opened (use template {{Start date}})
yearcompletedNoYear construction was completed
closeNoDate rail line closed (use template {{End date}})
reopenNoDate rail line reopened after closure (use template {{Start date}})
Technical
linelength_kmNoLength of the line length in kilometres: auto-converts to miles
linelength_miNoLength of the line length in miles: auto-converts to kilometres
linelengthNoUse as an alternative to the auto-conversion parameters or for extra info
tracklength_kmNoLength of the track length in kilometres: auto-converts to miles
tracklength_miNoLength of the track length in miles: auto-converts to kilometres
tracklengthNoUse as an alternative to the auto-conversion parameters or for extra info
tracksNoNumber of tracks
characterNoCharacter of rail line – e.g. Fully elevated and grade-separated, or At-grade street running, or Underground subway, etc.
gaugeNoTrack gauge (use template {{Track gauge}})
old_gaugeNoOld rail gauge (use template {{Track gauge}})
load_gaugeNoLoading gauge
minradiusNoMinimum radius of curvature (use template:convert)
racksystemNoRack system. Examples: Abt or Strub, as the case may be.
electrificationNoElectrification system (e.g. Third rail, Overhead catenary) and/or voltage
speed_km/hNoMaximum or operating speed of the rail line in km/h: auto-converts to mph
speed_mphNoMaximum or operating speed of the rail line in mph: auto-converts to km/h
speedNoUse as an alternative to the auto-conversion parameters or for extra info
signallingNoSystem for railway signalling (block systems etc.)
trainprotectionNoTrain protection system used on the line
elevation_mNoHighest elevation of the rail line in metres: auto-converts to feet
elevation_ftNoHighest elevation of the rail line in feet: auto-converts to metres
elevationNoUse as an alternative to the auto-conversion parameters or for extra info
mapcolour
mapcolor
NoThe colour or color of the line on route maps; Use either mapcolour for colour or mapcolor for color, but not both
mapcolourlink
mapcolorlink
NoThe name of an article for wikilinking the word "map" in the mapcolour and mapcolor field label
websiteNoURL of website. Raw URLS will be hyperlinked and displayed. External link wikilinking works as well.
mapNoMap of line
map_nameNoTitle of map; default: Route map
map_stateNoShows or hides map. Use show or collapsed
embeddedNoUse to embed other infobox templates in this one
Alpha Line
Subway logo demo
Example image of a line
Image caption
Gĭ-buōng cṳ̆-lâiu
Gì-tă miàng Line Alpha
Câi-dê miàng Le Alpha
Câung-huóng Ceased operation
Ìng-ông dê-kṳ̆ Newark
Kī-diēng
Cṳ̆ng-diēng
Station A
Station M
Chiă-câng 15
Hók-ô
Hók-ô lôi-hìng Light rail
Hiê-tūng ABC Transit
Diô-siáng 1
Ìng-ông dăng-ôi BCT Transport
Daily ridership 239,200
Lĭk-sṳ̄
Kŭi-tŭng June 22, 1904
Closed March 8, 1942
Gié-sŭk
Diô-siáng dòng-dô 13.8 mi (22.2 km)
Gūi-dô̤ biĕu-cūng 4 ft 8+12 in (1,435 mm) standard gauge
{{Infobox rail line
| name        = Alpha Line
| other_name  = Line Alpha
| native_name = Le Alpha
| native_name_lang = fr
| color       = 003399
| logo        = South Korea subway logo.svg
| logo_width  = 75px
| logo_alt    = South Korea subway logo, demo
| image       = KORAIL EMU5000 6th.jpg
| image_width =
| image_alt   = Example image of a line
| caption     = Image caption
| type        = [[Light rail]]
| system      = ABC Transit
| status      = Ceased operation
| locale      = [[Newark, New Jersey|Newark]]
| start       = Station A
| end         = Station M
| stations    = 15
| routes      = 1
| daily_ridership   = 239,200
| open        = June 22, 1904
| close       = March 8, 1942
| owner       =
| operator    = BCT Transport
| character   =
| depot       =
| stock       =
| linelength_mi = 13.8
| tracklength =
| tracks      =
| gauge       = {{RailGauge|1435mm|lk=on}}
| electrification =
| speed       =
| signalling = [[ERTMS]]
| elevation   =
| map         = [[Image:Placeholder.svg|200px|alt=Placeholder image]]
| map_name    =
| map_state   = collapsed
}}
Cogload Junction
A train from London via Castle Cary travels west. Note the photograph, due to the telephoto lens, misleads the eye - this junction has a speed limit of 100 miles per hour (160 km/h)!
Gĭ-buōng cṳ̆-lâiu
Ìng-ông dê-kṳ̆ Durston, Somerset, England
51°02′35″N 2°59′52″W / 51.04315°N 2.99773°W / 51.04315; -2.99773
Connecting lines
Hók-ô
Lĭk-sṳ̄
Kŭi-tŭng 1906 nièng (1906)
Flyover built 1931
Signal box closed 1986
Gié-sŭk
Gūi-dô̤ biĕu-cūng 1,435 mm (4 ft 8+12 in)
Sók-dô 100 mph (160 km/h)
{{Infobox rail line
| name          = Cogload Junction
| image         = Cogload Junction 43130.jpg
| image_width   = 
| image_alt     = 
| caption       = A train from London via Castle Cary travels west. Note the photograph, due to the [[telephoto lens]], misleads the eye - this junction has a [[speed limit]] of {{convert|100|mph}}!
| type          = 
| system        = 
| status        = 
| locale        = [[Durston]], [[Somerset]], [[England]]<br />{{coord|51.04315|N|2.99773|W |format=dms |type:landmark_region:GB |display=inline,title}}
| start         = 
| end           = 
| stations      = 
| routes        = 
| ridership     = 
| ridership2    = 
| planopen      = 
| open          = {{Start date|1906}}
| event1label   = Flyover built
| event1        = 1931
| event2label   = Signal box closed
| event2        = 1986
| close         = 
| owner         = 
| operator      = 
| character     = 
| depot         = 
| stock         = 
| strack        = 
| gauge         = {{Track gauge|sg|allk=on}}
| minradius     = 
| connectinglines = {{Plainlist|
* [[Reading to Taunton line|Reading to Taunton]]
* [[Bristol to Taunton Line|Bristol to Taunton]]
}}
| routenumber   = 
| linenumber    = 
| electrification = 
| speed_mph     = 100
| elevation_m   = 
| elevation_ft  = 
| elevation     = 
}}

Including a route diagram

[Gāi nguòng-mā]

A Route diagram (based on template {{BS-map}})) can be included via |map=. It can be composed right in this template (see first example), or it can be a complete template like |map={{Needham Line}} (second example).


Note that parameter |inline= must be set to a non-empty value, like {{BS-map|inline=yes}}.

{{Infobox rail line
| map =
{{BS-map|inline=yes|map=
{{BS|KBHFa||London St Pancras}}
{{BS|LSTR||}}
{{BS|KBHFe||Paris Gare du Nord}}
}}
}}
Infobox rail line/doc
Gĭ-buōng cṳ̆-lâiu
Hók-ô
Lĭk-sṳ̄
Gié-sŭk
{{Infobox rail line
| map = {{Needham Line}}
}}
Infobox rail line/doc
Gĭ-buōng cṳ̆-lâiu
Hók-ô
Lĭk-sṳ̄
Gié-sŭk
TemplateData documentation used by VisualEditor and other tools

See the monthly error report for this template.

TemplateData for Infobox rail line

an Infobox for rail lines

模板參數

此模板有自訂格式。

參數描述類型狀態
box_widthbox_width

Width of infobox, default: 25em; Note: use auto for automatic width (nb long image captions will not wrap if auto is specified)

字串非必填
namename

Name of rail line; default:Article Name

字串非必填
colorcolor

Color of rail line (6-digit hex code without #)

字串非必填
color2color2

Secondary color of rail line (6-digit hex code without #)

字串非必填
logologo

Filename of image for the logo

字串非必填
logo_widthlogo_width

Size of logo, default: 200px

字串非必填
logo_altlogo_alt

Alt text for logo, for visually impaired readers; see [[WP:ALT]]. This should be present if logo= is present.

字串非必填
logo2logo2

Filename of image for a second logo

字串非必填
logo_width2logo_width2

Size of the second logo, default: 200px

字串非必填
logo_alt2logo_alt2

Alt text for the second logo, for visually impaired readers; see [[WP:ALT]]. This should be present if logo2= is present.

字串非必填
imageimage

Filename of image

字串非必填
image_widthimage_width

Size of image, default: 250px

字串非必填
image_altimage_alt

Alt text for image. This should be present if image= is present.

字串非必填
captioncaption

Caption of image

字串非必填
other_nameother_name

Alternative name of rail line

字串非必填
native_namenative_name

Non-English name of rail line

字串非必填
native_name_langnative_name_lang

ISO 639-2 code e.g. 'fr' for French. If more than one, use {{tl|lang}} instead

字串非必填
typetype

Type of transit system. Types ''may'' include (one or more): [[High-speed rail]]; [[Heavy rail]]; [[Commuter rail]] – use in lieu of 'Regional rail,' 'Commuter train,' etc.; [[Rapid transit]] – use in lieu of 'Metro' or 'Subway'; [[Light rail]]; [[Tram]] – use in lieu of 'Trolley' or 'Streetcar'; [[Bus]]; [[Bus rapid transit]]; [[Monorail]]; [[People mover]]; [[Interurban]]

字串非必填
systemsystem

Name of transit system the rail line is part of

字串非必填
statusstatus

Status of rail line

字串非必填
localelocale

City or region transit system is located

字串非必填
coordinatescoordinates

Coordinates; use {{Tl|Coord}} with {{Para|display|inline,title}}

字串非必填
startstart

Name of starting terminal station

字串非必填
endend

Name of ending terminal station

字串非必填
continuesfromcontinuesfrom

字串非必填
continuesascontinuesas

字串非必填
connectinglinesconnectinglines

字串非必填
formerconnectionsformerconnections

字串非必填
stationsstations

Number of stations/stops

字串非必填
routesroutes

Service routes of rail line

字串非必填
daily_ridershipdaily_ridership

Daily system ridership

字串非必填
ridership2ridership2

Generic ridership field for non-daily values

字串非必填
trainnumbertrainnumber

Train number(s) running as shown in official timetables and printed on tickets.

字串非必填
linenumberlinenumber

Line number(s). Identifier(s) of set of trains with same service, usually seen in suburban trains. e.g. S7, IENA, 7, Line A. Not to be confused with the technical track.

字串非必填
mapcolormapcolor

The colour or color of the line on route maps; Use either mapcolour for colour or mapcolor for color, but not both

字串非必填
mapcolourlinkmapcolourlink

The name of an article for wikilinking the word 'map' in the mapcolour and mapcolor field label

字串非必填
mapcolorlinkmapcolorlink

The name of an article for wikilinking the word 'map' in the mapcolour and mapcolor field label

字串非必填
mapcolourmapcolour

The colour or color of the line on route maps; Use either mapcolour for colour or mapcolor for color, but not both

字串非必填
websitewebsite

URL of website. Raw URLS will be hyperlinked and displayed. External link wikilinking works as well.

字串非必填
yearcommencedyearcommenced

Year construction commenced

字串非必填
planopenplanopen

Date rail line planned opening

字串非必填
openopen

Date rail line opened

字串非必填
lastextensionlastextension

字串非必填
yearcompletedyearcompleted

Year construction was completed

字串非必填
closeclose

Date rail line closed

字串非必填
reopenreopen

Date rail line reopened after closure

字串非必填
ownerowner

Owner of rail line

字串非必填
operatoroperator

Operator(s) of rail line

字串非必填
conductionsystemconductionsystem

字串非必填
charactercharacter

Character of rail line – e.g. Fully elevated and grade-separated, or At-grade street running, or Underground subway, etc.

字串非必填
depotdepot

Name of traction maintenance depot(s) of rail line

字串非必填
stockstock

Types of rolling stock used on the rail line

字串非必填
event1labelevent1label

字串非必填
event1event1

字串非必填
event2labelevent2label

字串非必填
event2event2

字串非必填
event3labelevent3label

字串非必填
event3event3

字串非必填
linelength_kmlinelength_km

Length of the line length in kilometres: auto-converts to miles

字串非必填
linelength_milinelength_mi

Length of the line length in miles: auto-converts to kilometres

字串非必填
linelengthlinelength

Use as an alternative to the auto-conversion parameters or for extra info

字串非必填
linelength_footnoteslinelength_footnotes

字串非必填
tracklength_kmtracklength_km

Length of the track length in kilometres: auto-converts to miles

字串非必填
tracklength_mitracklength_mi

Length of the track length in miles: auto-converts to kilometres

字串非必填
tracklengthtracklength

Use as an alternative to the auto-conversion parameters or for extra info

字串非必填
tracklength_footnotestracklength_footnotes

字串非必填
trackstracks

Number of tracks

字串非必填
gaugegauge

[[Track gauge]] (use template {{tl|Track gauge}})

字串非必填
old_gaugeold_gauge

Old rail gauge (use template {{tl|Track gauge}})

字串非必填
load_gaugeload_gauge

[[Loading gauge]]

字串非必填
availabilityavailability

字串非必填
minradius_mminradius_m

字串非必填
minradius_ftminradius_ft

字串非必填
minradiusminradius

Minimum radius of curvature (use template:convert)

字串非必填
electrificationelectrification

Electrification system (e.g. [[Third rail]], [[Overhead catenary]]) and/or voltage

字串非必填
speed_km/hspeed_km/h

Maximum or operating speed of the rail line in km/h: auto-converts to mph

字串非必填
speed_mphspeed_mph

Maximum or operating speed of the rail line in mph: auto-converts to km/h

字串非必填
speedspeed

Use as an alternative to the auto-conversion parameters or for extra info

字串非必填
signallingsignalling

System for [[railway signalling]]

字串非必填
elevation_melevation_m

Highest elevation of the rail line in metres: auto-converts to feet

字串非必填
elevation_ftelevation_ft

Highest elevation of the rail line in feet: auto-converts to metres

字串非必填
elevationelevation

Use as an alternative to the auto-conversion parameters or for extra info

字串非必填
maxinclinemaxincline

字串非必填
racksystemracksystem

Rack system. Examples: [[Abt rack system|Abt]] or [[Strub rack system|Strub]], as the case may be.

字串非必填
routenumberroutenumber

Route number(s) indicated in timetables to identify the stretch of track, in Germany usually referred as ''Kursbuchstrecke''

字串非必填
aveinterstationaveinterstation

字串非必填
embeddedembedded

Use to embed other infobox templates in this one

字串非必填
mapmap

Map of line

字串非必填
map_statemap_state

Shows or hides map. Use show or collapsed

字串非必填
map_namemap_name

字串非必填

Supporting template

[Gāi nguòng-mā]

Tracking categories

[Gāi nguòng-mā]

Added by this template:

Added by supporting template: