This is a data module for Module:Adjacent stations. It supports services operated by Sweden.
This module can be used for regional trains in Sweden, without registering the actual line or terminus in any module, instead do it in each station article. Some regional operators have their own module, then prefer to use that one instead.
Operators
editLine | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Arlanda Express | Arlanda |
fef380 |
| |
Krösatågen | Krösatågen |
C40000 |
| |
Mälartåg | Mälartåg |
0949a1 |
| |
Tåg i Bergslagen | Tåg i Bergslagen |
C0311A |
| |
Värmlandstrafik | Värmlandstrafik |
F9B000 |
| |
Västtrafik | Västtrafik |
00acea |
| |
Östgötatrafiken | Östgötatrafiken |
|
| |
Other operator |
|
|
See also
edit- Module:Adjacent stations/Norrtåg
- Module:Adjacent stations/Pågatågen
- Module:Adjacent stations/SJ
- Module:Adjacent stations/Stockholm commuter rail
- Module:Adjacent stations/Stockholm metro
- Module:Adjacent stations/SL
- Module:Adjacent stations/Sweden2 - for long distance train operators without own template
- Module:Adjacent stations/Vy Tåg
- Module:Adjacent stations/Västtrafik
- Module:Adjacent stations/X-Tåget
- Module:Adjacent stations/Öresundståg
--local s = "%1"
-- This module can be used for regional trains in Sweden,
-- without registering the actual line or terminus in any module, instead do it in each station article
-- For long-distance and inter-city trains not branded to regional administrations, use: Module:Adjacent stations/Sweden2
-- The difference between Sweden and Sweden2 modules is the "system title" parameter and which operators included
local p = {
["system title"] = "[[Rail transport in Sweden|Regional trains]]",
["station format"] = {
-- Consider using "%1 railway station", as is used in other Swedish modules, although the Station and Central Station links must be manually listed
"%1 Station",
["Arlanda North"] = "Arlanda North Station",
["Arlanda South"] = "Arlanda South Station",
-- Stations with articles titled "name Central Station" can be accessed with "name Central" when using {{Adjacent stations}}
-- Stations with articles titled "name Station" can be accessed with only "name" when using {{Adjacent stations}}
-- These are existing stations with articles titled "railway station"
-- They can be access with only the station name when using {{Adjacent stations}}
["Bålsta"] = "Bålsta railway station",
["Degerfors"] = "Degerfors railway station",
["Herrljunga"] = "Herrljunga railway station",
["Hässleholm"] = "Hässleholm railway station",
["Katrineholm"] = "Katrineholm railway station",
["Kristinehamn"] = "Kristinehamn railway station",
["Läggesta"] = "Läggesta railway station",
["Mora"] = "Mora railway station",
["Munkedal"] = "Munkedal railway station",
["Nässjö"] = "Nässjö railway station",
["Skövde"] = "Skövde railway station",
["Södertälje Syd"] = "Södertälje Syd railway station",
["Storlien"] = "Storlien railway station",
["Trollhättan"] = "Trollhättan railway station",
["Vännäs"] = "Vännäs railway station",
["Åre"] = "Åre railway station",
-- These are small places where {{Adjacent stations}} is inserted in the article about the place
["Öxnered"] = "Öxnered",
-- These are other station names
["Gamlestaden"] = "Gamlestaden station"
},
["lines"] = {
["Arlanda"] = {
["title"] = "[[Arlanda Express]]",
["color"] = "fef380",
["left terminus"] = "Stockholm Central",
["right terminus"] = "Arlanda North",
},
-- For "Flixtrain" use Module:Adjacent stations/Sweden2
["Krösatågen"] = {
["title"] = "[[Krösatågen]]",
["color"] = "C40000",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
-- For "MTRX" use Module:Adjacent stations/Sweden2
["Mälartåg"] = {
["title"] = "[[Mälartåg]]",
["color"] = "0949a1",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
-- For "Norrtåg" use Module:Adjacent stations/Norrtåg
-- For "Pågatågen" use Module:Adjacent stations/Pågatågen
-- For "Stockholm commuter rail" use Module:Adjacent stations/Stockholm commuter rail
-- For "Stockholm metro" use Module:Adjacent stations/Stockholm metro
-- For other lines within SL use Module:Adjacent stations/SL
-- For "Snälltåget" use Module:Adjacent stations/Sweden2
-- For "Tågab" use Module:Adjacent stations/Sweden2
["Tåg i Bergslagen"] = {
["title"] = "[[Tåg i Bergslagen]]",
["color"] = "C0311A",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
["Värmlandstrafik"] = {
["title"] = "[[Värmlandstrafik]]",
["color"] = "F9B000",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
-- For "Västtrafik" use Module:Adjacent stations/Västtrafik
["Västtrafik"] = {
["title"] = "[[Västtrafik]]",
["color"] = "00acea",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
-- For "VR" use Module:Adjacent stations/Sweden2
-- For "X-Tåget" use Module:Adjacent stations/X-Tåget
-- For "Öresundståg" use Module:Adjacent stations/Öresundståg
["Östgötatrafiken"] = {
["title"] = "[[Östgötatrafiken]]",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
["Other operator"] = {
["title"] = "",
["note-mid"] = "use the note-mid parameter",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
},
}
return p