Lompat ke isi

Cèṭa'an:S-line/doc

Ḍâri Wikipèḍia bhâsa Madhurâ, lombhung pangataowan mardhika

S-line is a specialised succession box template that links railway station articles.

Note: this template is called by {{s-rail-national}}; an alias. If a change is made which alters/adds parameters names that template must be updated to reflect the new situation.

S-line must be encased within {{s-rail-start}} and {{s-end}}. The use of {{s-rail}} is highly recommended but not required.

S-line has the following parameters:

ParameterDescriptionNotes
systemThe system to which the line belongsThis should correspond to an entry in Template:S-rail/lines
lineThe name of the lineThis should be obvious shorthand (e.g. Orange for Orange Line)
previousThe name of the previous station
nextThe name of the next station
typeThe left-hand line branchOptional
type2The right-hand line branchOptional
noteInformation about the left-hand line branchOptional
note2Information about the right-hand line branchOptional
notemidInformation about the station itselfOptional
oneway1Indicates that trains do not operate towards the Previous stationOptional
oneway2Indicates that trains do not operate towards the Next stationOptional
rows1, hide1Used to have the Previous Station box cover multiple lines. See below for details.Optional
rows2, hide2Used to have the Next Station box cover multiple lines. See below for details.Optional
rowsmid, hidemidUsed to have the middle (Line) box cover multiple lines. See below for details.Optional
transferUsed to show lines available by direct transfer at an adjoining station. See below for details.Optional
branchUsed to denote specific line branch information, in lieu of or in addition to the type parameters.Optional
state1, state2Allows the passing of an additional station parameter. Useful for disambiguation.Optional
through1, through2Allows, instead of a next station, service passing to another line on the system.Optional

[[Template:{{{SYSTEM}}} style]]

The style template allows the modification, at a system level, of display parameters for inter-related templates, including Template:Infobox Station.

ParameterDescriptionNotes
langWhich version of English to output display in. Specify GB for British; the default is US. If GB is specified, the boxes will say "towards" (station). If US is specified, the boxes will say "toward" (station).Optional; S-line only
name_formatFormatting for the {{{name}}} parameter itselfOptional; Infobox Station only
showtermA "No" value suppresses the display of termini informationOptional; S-line only
stop_nounType of stop (e.g. station, tram stop); default is "station"Optional; S-rail only
thcolorFont color for table headingsOptional; Infobox Station only
thbgcolorBackground color for table headingsOptional; Infobox Station only
title_nowrapIf "yes", will apply the nowrap style to s-rail headings. Not recommended for use within Infobox StationOptional; S-rail only

TemplateData

[beccè' sombher]
Ariya dokumenna TemplateData ka'angghuy template nèka èghuna'aghi bi' VisualEditor tor alat laènna; see a monthly parameter usage report for this template in articles.

TemplateData untuk S-line

S-line is a specialised succession box template that links railway station articles

Parameter templat

ParameterKeteranganJenisStatus
systemsystem

The system to which the line belongs

Katawajib diisi
lineline

The name of the line

Katawajib diisi
previousprevious

The name of the previous station, should correspond to a specific template name

Kataopsional
nextnext

The name of the next station, should correspond to a specific template name

Kataopsional
typetype

The left-hand line branch

Kataopsional
type2type2

The right-hand line branch

Kataopsional
notenote

Information about the left-hand line branch

Kataopsional
notemidnotemid

Information about the station itself

Kataopsional
note2note2

Information about the right-hand line branch

Kataopsional
oneway1oneway1

Indicates that trains do not operate towards the Previous station

Kataopsional
oneway2oneway2

Indicates that trains do not operate towards the Next station

Kataopsional
through1through1

Allows, instead of a previous station, service passing to another line on the system.

Kataopsional
through2through2

Allows, instead of a next station, service passing to another line on the system.

Kataopsional
state1state1

Allows the passing of an additional station parameter. Useful for disambiguation.

Kataopsional
state2state2

Allows the passing of an additional station parameter. Useful for disambiguation.

Kataopsional
branchbranch

Can be used to describe a subset of a line.

Kataopsional
transfertransfer

Used to show lines available by direct transfer at an adjoining station.

Kataopsional
round1round1

If set displays 'Reverses direction' in left cell

Kataopsional
round2round2

If set displays 'Reverses direction' in right cell

Kataopsional
circularcircular

If set hides 'toward' of both sides

Kataopsional
circular1circular1

If set hides 'toward' of left cell only

Kataopsional
circular2circular2

If set hides 'toward' of right cell only

Kataopsional
rows1rows1

Number of rows for left hand column

Kataopsional
rowsmidrowsmid

Number of rows for center hand column

Kataopsional
rows2rows2

Number of rows for right hand column

Kataopsional
hide1hide1

Hides the previous station, used when a previous row has 'rows1' set

Kataopsional
hidemidhidemid

Hides this station, used when a previous row has 'rowsmid' set

Kataopsional
hide2hide2

Hides the next station, used when a previous row has 'rows2' set

Kataopsional

See also

[beccè' sombher]