Шаблон:S-rail-national/док

С Википедије, слободне енциклопедије


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[уреди извор]

Ово је TemplateData за овај шаблон, која се користи у TemplateWizard, Визуелном уређивачу и другим алаткама. Погледајте месечни извештај о употреби парамера за овај шаблон у чланцима заснованим на овом TemplateData.

TemplateData за S-rail-national

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

Параметри шаблона

ПараметарОписВрстаСтатус
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

текстнеобавезно
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'.

текстнеобавезно
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[уреди извор]