Template:Nsb next regional/doc
Appearance
This is a documentation subpage for Template:Nsb next regional. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]- {{Nsb next start}}
- {{Nsb next regional
- pre-code = linked name of preceding station
- post-code = linked name of following station
- }}
- {{end}}
where pre-code is a combination of the word pre and a code for the line without space or hyphen,
and post-code is the pre-code with the word pre replace by post
Codes for lines are selected from a list.
Example:
- {{Nsb next start}}
- {{Nsb next regional
- |prer20 = [[Fredrikstad Station|Fredrikstad]]
- |postr20 = [[Halden Station|Halden]]
- }}
- {{end}}
which will look like
Preceding station | Following station | |||
---|---|---|---|---|
Preceding station | Regional trains | Following station | ||
Fredrikstad | RE20 | Oslo S–Halden-Gothenburg | Halden |
Changes to the end stations in the mid column or adding new lines is done by editing the template.
Between {{Nsb next start}} and {{Nsb next regional}} there should a description of the line using {{Nsb next line}}
. There can also be other station templates such as {{nsb next local oslo}}
.
Available pre-codes:
prestavanger
prer10
prer11
prevestfold
prer20
preøstfold
prer30
pregjøvik
pref1
pref1x
pref2
preairport
prerauma
prerøroshamar
prerørostrondheim
prenabotåget
premeråkerbanen
preofotbanen