Misplaced Pages

Template:Nsb next flytog

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by Kaffedrikkendepinscher (talk | contribs) at 21:17, 17 September 2020 (logo Flytoget). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 21:17, 17 September 2020 by Kaffedrikkendepinscher (talk | contribs) (logo Flytoget)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

|- ! Preceding station ! colspan="3" |

! Following station |- |- style="text-align: center;"




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

Usage

{{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 = ]
|postf1x = ]
}}
{{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
The above documentation is transcluded from Template:Nsb next flytog/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: