Pređi na sadržaj

Šablon:S-rail-national

S Vikipedije, slobodne enciklopedije
Dokumentacija šablona[prikaži] [uredi] [istorija] [osveži]

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[uredi izvor]

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[uredi izvor]

Ovo je TemplateData za ovaj šablon, koja se koristi u TemplateWizard, Vizuelnom uređivaču i drugim alatkama. Pogledajte mesečni izveštaj o upotrebi paramera za ovaj šablon u člancima zasnovanim na ovom TemplateData.

TemplateData za S-rail-national

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

Parametri šablona[Uredi podatke o šablonu]

ParametarOpisVrstaStatus
previousprevious

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

tekstneobavezno
nextnext

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

tekstneobavezno
systemsystem

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

tekstneobavezno
Train operating companytoc

Train operating company

tekstobavezno
statusstatus

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

tekstneobavezno
routeroute

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

tekstneobavezno
typetype

The left-hand line branch

tekstneobavezno
type2type2

The right-hand line branch

tekstneobavezno
notenote

Information about the left-hand line branch

tekstneobavezno
notemidnotemid

Information about the station itself

tekstneobavezno
note2note2

Information about the right-hand line branch

tekstneobavezno
oneway1oneway1

Indicates that trains do not operate towards the Previous station

tekstneobavezno
oneway2oneway2

Indicates that trains do not operate towards the Next station

tekstneobavezno
through1through1

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

tekstneobavezno
through2through2

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

tekstneobavezno
county1county1

The county of a station. Useful for disambiguation.

tekstneobavezno
county2county2

The county of a station. Useful for disambiguation.

tekstneobavezno
transfertransfer

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

tekstneobavezno
round1round1

If set displays 'Reverses direction' in left cell

tekstneobavezno
round2round2

If set displays 'Reverses direction' in right cell

tekstneobavezno
circularcircular

tekstneobavezno
circular1circular1

tekstneobavezno
circular2circular2

tekstneobavezno
rows1rows1

Number of rows for left hand column

tekstneobavezno
rowsmidrowsmid

Number of rows for center hand column

tekstneobavezno
rows2rows2

Number of rows for right hand column

tekstneobavezno
hide1hide1

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

tekstneobavezno
hidemidhidemid

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

tekstneobavezno
hide2hide2

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

tekstneobavezno

See also[uredi izvor]