Jump to content

Template:Nsb next flytog/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{Nsb next start}}
{{Nsb next flytog
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 flytog
|pref1x = [[Skøyen Station|Skøyen]]
|postf1x = [[Oslo Central Station|Oslo S]]
}}
{{end}}

which will look like

Preceding station Following station
Preceding station Following station
Skøyen F1X StabekkOslo Airport   Oslo S

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 flytog}} 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:

pref1
pref1x
pref2
preairport
pref1