Module rating is invalid or not specified. |
This is a data module for Module:Adjacent stations. It supports services operated by Pågatågen.
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Line 2B | Line 2B |
27417A |
| |
Line 3 | Line 3 |
27417A |
| |
Line 4 | Line 4 |
27417A |
| |
Line 4A | Line 4A |
27417A |
| |
Line 4B | Line 4B |
27417A |
| |
Line 4C | Line 4C |
27417A |
| |
Line 5 | Line 5 |
27417A |
| |
Line 6 | Line 6 |
27417A |
| |
Line 7 | Line 7 |
27417A |
| |
Line 8 | Line 8 |
27417A |
| |
Line 9 | Line 9 |
27417A |
| |
Line 10 | Line 10 |
27417A |
| |
Line 11 | Line 11 |
27417A |
| |
Line 12 | Line 12 |
27417A |
| |
Lund tramway | Lund tramway |
27417A |
| |
Other line |
27417A |
|
Usage
edit{{#invoke:Adjacent stations/Pågatågen|function_name}}
local p = {
["system title"] = "[[Pågatågen]]",
-- ["system icon"] = "[[File:??.svg|18px|link=Pågatågen|alt=Pågatågen]]",
["system color"] = "27417A",
-- or ["system color"] = "A349A4",
["name format"] = "color: #FFFFFF; background-color: #27417A;",
["station format"] = {
"%1 railway station",
["Malmö C"] = "[[Malmö Central Station|Malmö C]]",
["Gunnesbo"] = "Gunnesbo Station",
["Halmstad"] = "Halmstad Central Station",
["Helsingborg"] = "Helsingborg Central Station",
["Landskrona"] = "Landskrona Station",
["Lund"] = "Lund Central Station",
["Maria"] = "Maria Station",
["Ramlösa"] = "Ramlösa Station",
["Triangeln"] = "Triangeln station",
["ESS"] = "[[European Spallation Source|ESS]]",
},
["lines"] = {
-- "left terminus" is the end station of trains going westbound in Malmö C, "right terminus" is opposite direction
["_default"] = {
["title"] = "%1",
},
-- For time tables (in Swedish) see https://www.skanetrafiken.se/sok-resa/tidtabeller/#/
-- Time table 2 contains three traffic rotations here called Line 2, 2A and 2B.
-- Line 2 is Öresundståg Köpenhamn–Malmö–Helsingborg–Göteborg, handled by Module:Adjacent stations/Öresundståg
-- Line 2A is Pågatåg Hyllie-Landskrona-Helsingborg, but it is (from Hyllie) identical to Line 9 and shown as such in the station articles.
-- Line 2B is Helsingborg-Förslöv-Halmstad
["Line 2B"] = {
["left terminus"] = "Helsingborg",
["right terminus"] = "Halmstad",
},
-- Line 3 is Malmö–Lund–Eslöv–Teckomatorp–Helsingborg
["Line 3"] = {
["left terminus"] = "Hyllie",
["right terminus"] = "Helsingborg",
},
-- Line 4 has two time tables, Köpenhamn–Malmö–Hässleholm–Kalmar, and Köpenhamn–Malmö–Hässleholm–Kristianstad–Karlskrona, different for Öresundståg only
-- Pågatåg line 4 has four train rotations Hyllie–Höör (our 4A), Hyllie–Höör–Hässleholm–Kristianstad (4 all stops),
-- Hyllie–Höör–Hässleholm–Kristianstad (4B skip stops), and Kristianstad–Bromölla–Karlshamn (4C)
["Line 4"] = {
["left terminus"] = "Hyllie",
["right terminus"] = "Kristianstad",
},
["Line 4A"] = {
["left terminus"] = "Hyllie",
["right terminus"] = "Höör",
},
["Line 4B"] = {
["left terminus"] = "Hyllie",
["right terminus"] = "Hässleholm",
},
["Line 4C"] = {
["left terminus"] = "Kristianstad",
["right terminus"] = "Karlshamn",
},
-- Line 5 goes Helsingborg–Hässleholm–some continue to Kristianstad
["Line 5"] = {
["left terminus"] = "Helsingborg",
["right terminus"] = "Kristianstad",
},
-- Line 6 goes Simrishamn–Ystad–Hyllie–Malmö–Lund
["Line 6"] = {
["left terminus"] = "Simrishamn",
["right terminus"] = "Lund",
},
["Line 7"] = {
["left terminus"] = "Markaryd",
["right terminus"] = "Hässleholm",
},
-- Line 8 is Hyllie–Malmö-Lund–Kävlinge–Teckomatorp–Åstorp
["Line 8"] = {
["left terminus"] = "Hyllie",
["right terminus"] = "Åstorp",
},
-- Line 9 is Trelleborg–Hyllie–Malmö–Lund–Landskrona–Helsingborg
["Line 9"] = {
["left terminus"] = "Trelleborg",
["right terminus"] = "Helsingborg",
},
-- Line 10 is Hässleholm–Alvesta–some go to Växjö. They are branded Krösatågen and shall use that module
["Line 10"] = {
["note-mid"] = "Krösatågen",
["left terminus"] = "Hässleholm",
["right terminus"] = "Växjö",
},
-- Line 11 is a circular line with branch Malmö C–Rosengård–Svågertorp–Hyllie–Malmö–Lomma–Kävlinge
["Line 11"] = {
["left terminus"] = "Malmö C",
["right terminus"] = "Kävlinge",
},
-- Line 12 was Hyllie–Malmö-Lomma–Kävlinge–Teckomatorp–Åstorp, but is from 2024 Line 8 past Lund, not Lomma
["Line 12"] = {
["note-mid"] = "Now line 8",
["left terminus"] = "Hyllie",
["right terminus"] = "Åstorp",
},
["Lund tramway"] = {
["title"] = "[[Lund tramway]]",
["left terminus"] = "Lund",
["right terminus"] = "ESS",
},
["Other line"] = {
["title"] = "",
["note-mid"] = "use the note-mid parameter",
["left terminus"] = "use the to-left parameter",
["right terminus"] = "use the to-right parameter",
},
},
}
return p