Template:S-line/doc

From Eratosthenia
Jump to navigation Jump to search

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

Usage

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:

Parameter Description Notes
system The system to which the line belongs This should correspond to an entry in Template:S-rail/lines
line The name of the line This should be obvious shorthand (e.g. Orange for Orange Line)
previous The name of the previous station
next The name of the next station
type The left-hand line branch Optional
type2 The right-hand line branch Optional
note Information about the left-hand line branch Optional
note2 Information about the right-hand line branch Optional
notemid Information about the station itself Optional
oneway1 Indicates that trains do not operate towards the Previous station Optional
oneway2 Indicates that trains do not operate towards the Next station Optional
rows1, hide1 Used to have the Previous Station box cover multiple lines. See below for details. Optional
rows2, hide2 Used to have the Next Station box cover multiple lines. See below for details. Optional
rowsmid, hidemid Used to have the middle (Line) box cover multiple lines. See below for details. Optional
transfer Used to show lines available by direct transfer at an adjoining station. See below for details. Optional
branch Used to denote specific line branch information, in lieu of or in addition to the type parameters. Optional
state1, state2 Allows the passing of an additional station parameter. Useful for disambiguation. Optional
through1, through2 Allows, instead of a next station, service passing to another line on the system. Optional