قالب:S-rail-national

Template documentation[view] [edit] [history] [purge]

This template is an alias of {{s-line}}, with several parameters renamed to conform with usage on the British National Rail system. Changes to the underlying functionality of {{s-line}} should be made to that template and not this one.

Usage

The renamed parameters are as follows:

  • |county1= instead of |state1=
  • |county2= instead of |state2=
  • |route= instead of |branch=
  • |toc= instead of |line=

In addition, the parameter |system= is optional, and if omitted, defaults to |system=National Rail

This template takes one special parameter that {{s-line}} does not: |status=. By specifying either |status=Disused or |status=Historical, you make invoke those sets of templates instead of the templates for active lines.


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

S-rail-national

A specialised succession box for rail lines on the British National Rail system.

وسائط القالب

وسيطوصفنوعحالة
systemsystem

The system to which the line belongs, Defaults to 'National Rail'.

نصاختياري
Train operating companytoc

Train operating company

نصمطلوب
statusstatus

Can be either 'Disused' or 'Historical'. system should also be set in this case.

نصاختياري
routeroute

The route of a line e.g. 'Thameslink'.

نصاختياري
previousprevious

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

نصمطلوب
nextnext

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

نصمطلوب
typetype

The left-hand line branch

نصاختياري
type2type2

The right-hand line branch

نصاختياري
notenote

Information about the left-hand line branch

نصاختياري
notemidnotemid

Information about the station itself

نصاختياري
note2note2

Information about the right-hand line branch

نصاختياري
oneway1oneway1

Indicates that trains do not operate towards the Previous station

نصاختياري
oneway2oneway2

Indicates that trains do not operate towards the Next station

نصاختياري
through1through1

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

نصاختياري
through2through2

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

نصاختياري
county1county1

The county of a station. Useful for disambiguation.

نصاختياري
county2county2

The county of a station. Useful for disambiguation.

نصاختياري
transfertransfer

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

نصاختياري
round1round1

If set displays 'Reverses direction' in left cell

نصاختياري
round2round2

If set displays 'Reverses direction' in right cell

نصاختياري
circularcircular

نصاختياري
circular1circular1

نصاختياري
circular2circular2

نصاختياري
rows1rows1

Number of rows for left hand column

نصاختياري
rowsmidrowsmid

Number of rows for center hand column

نصاختياري
rows2rows2

Number of rows for right hand column

نصاختياري
hide1hide1

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

نصاختياري
hidemidhidemid

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

نصاختياري
hide2hide2

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

نصاختياري

See also