Module:Adjacent stations/RER Vaud
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by RER Vaud.
Lines
[edit]Current
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
R1 | R1 or 1 |
f39100 |
R1 | |
R2 | R2 or 2 |
dd2f1d |
R2 | |
R3 | R3 or 3 |
23318a |
R3 | |
R4 | R4 or 4 |
6e9dd4 |
R4 | |
R5 | R5 or 5 |
00681d |
R5 | |
R6 | R6 or 6 |
94c01a |
R6 | |
R7 | R7 or 7 |
ffcc00 |
R7 | |
R8 | R8 or 8 |
9084be |
R8 | |
R9 | R9 or 9 |
e5007d |
R9 | |
R | R Vallorbe–Le Brassus |
d27667 |
R |
2022–2023
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
S1 | S1-2022 or S1 |
f39100 |
S1 | |
S2 | S2-2022 or S2 |
dd2f1d |
S2 | |
S3 | S3-2022 or S3 |
23318a |
S3 | |
S4 | S4-2022 or S4 |
6e9dd4 |
S4 | |
S5 | S5-2022 or S5 |
00681d |
S5 | |
S6 | S6-2022 or S6 |
94c01a |
S6 | |
S7 | S7-2022 or S7 |
ffcc00 |
S7 | |
S8 | S8-2022 or S8 |
9084be |
S8 | |
S9 | S9-2022 or S9 |
e5007d |
S9 | |
S | S |
ed6a59 |
S |
Before 2022
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
S1 | S1-2021 |
22b24c |
S1 | |
S2 | S2-2021 |
20409a |
S2 | |
S3 | S3-2021 |
ed1c24 |
S3 | |
S4 | S4-2021 |
90a7d6 |
S4 | |
S5 | S5-2021 |
d54398 |
S5 | |
S6 | S6-2021 |
fec800 |
S6 | |
S7 | S7-2021 |
f7941d |
S7 | |
S8 | S8-2021 |
967b67 |
S8 | |
S9 | S9-2021 |
15b0d2 |
S9 | |
S22 | 22 |
009c9e |
S22 |
local p = {
["system title"] = "[[RER Vaud]]",
["system icon"] = "[[File:RER Vaudois.png|15px|link=RER Vaud]]",
["system icon format"] = "croute",
["station format"] = {
"%1 railway station",
},
["lines"] = {
-- Current lines
["R1"] = {
["title"] = "[[R1 (RER Vaud)|R1]]",
["text color"] = "FFFFFF",
["color"] = "f39100",
["short name"] = "R1",
["left terminus"] = "Grandson",
["right terminus"] = "Cully",
},
["R2"] = {
["title"] = "[[R2 (RER Vaud)|R2]]",
["text color"] = "FFFFFF",
["color"] = "dd2f1d",
["short name"] = "R2",
["left terminus"] = "Grandson",
["right terminus"] = "Cully",
},
["R3"] = {
["title"] = "[[R3 (RER Vaud)|R3]]",
["text color"] = "FFFFFF",
["color"] = "23318a",
["short name"] = "R3",
["left terminus"] = "Vallorbe",
["right terminus"] = "St-Maurice",
},
["R4"] = {
["title"] = "[[R4 (RER Vaud)|R4]]",
["text color"] = "FFFFFF",
["color"] = "6e9dd4",
["short name"] = "R4",
["left terminus"] = {"Le Brassus", "Vallorbe"},
["right terminus"] = "St-Maurice",
["types"] = {
["Le Brassus"] = {
["title"] = "",
["left terminus"] = "Le Brassus",
["right terminus"] = "St-Maurice",
},
},
},
["R5"] = {
["title"] = "[[R5 (RER Vaud)|R5]]",
["text color"] = "FFFFFF",
["color"] = "00681d",
["short name"] = "R5",
["left terminus"] = "Allaman",
["right terminus"] = "Palézieux",
},
["R6"] = {
["title"] = "[[R6 (RER Vaud)|R6]]",
["text color"] = "FFFFFF",
["color"] = "94c01a",
["short name"] = "R6",
["left terminus"] = "Allaman",
["right terminus"] = "Romont FR",
},
["R7"] = {
["title"] = "[[R7 (RER Vaud)|R7]]",
["text color"] = "FFFFFF",
["color"] = "ffcc00",
["short name"] = "R7",
["left terminus"] = "Puidoux",
["right terminus"] = "Vevey",
},
["R8"] = {
["title"] = "[[R8 (RER Vaud)|R8]]",
["text color"] = "FFFFFF",
["color"] = "9084be",
["short name"] = "R8",
["left terminus"] = "Palézieux",
["right terminus"] = "Avenches",
},
["R9"] = {
["title"] = "[[R9 (RER Vaud)|R9]]",
["text color"] = "FFFFFF",
["color"] = "e5007d",
["short name"] = "R9",
["left terminus"] = "Lausanne",
["right terminus"] = "Kerzers",
},
["R Vallorbe–Le Brassus"] = {
["title"] = "[[Vallorbe–Le Brassus railway line|R]]",
["text color"] = "FFFFFF",
["color"] = "d27667",
["short name"] = "R",
["left terminus"] = "Le Brassus",
["right terminus"] = "Vallorbe",
},
-- Pre-2022 lines
["S1-2021"] = {
["title"] = "[[RER Vaud#History|S1]]",
["short name"] = "S1",
["text color"] = "FFFFFF",
["color"] = "22b24c",
["left terminus"] = "Grandson",
["right terminus"] = "Lausanne",
},
["S2-2021"] = {
["title"] = "[[RER Vaud#History|S2]]",
["short name"] = "S2",
["text color"] = "FFFFFF",
["color"] = "20409a",
["left terminus"] = "Vallorbe",
["right terminus"] = "St-Maurice",
},
["S3-2021"] = {
["title"] = "[[RER Vaud#History|S3]]",
["short name"] = "S3",
["text color"] = "FFFFFF",
["color"] = "ed1c24",
["left terminus"] = "Allaman",
["right terminus"] = "Lausanne",
},
["S4-2021"] = {
["title"] = "[[RER Vaud#History|S4]]",
["short name"] = "S4",
["text color"] = "FFFFFF",
["color"] = "90a7d6",
["left terminus"] = "Allaman",
["right terminus"] = "Romont",
},
["S5-2021"] = {
["title"] = "[[RER Vaud#History|S5]]",
["short name"] = "S5",
["text color"] = "FFFFFF",
["color"] = "d54398",
["left terminus"] = "Grandson",
["right terminus"] = "St-Maurice",
},
["S6-2021"] = {
["title"] = "[[RER Vaud#History|S6]]",
["short name"] = "S6",
["text color"] = "FFFFFF",
["color"] = "fec800",
["left terminus"] = "Lausanne",
["right terminus"] = "Palézieux",
},
["S7-2021"] = {
["title"] = "[[RER Vaud#History|S7]]",
["short name"] = "S7",
["text color"] = "FFFFFF",
["color"] = "f7941d",
["left terminus"] = "Puidoux",
["right terminus"] = "Vevey",
},
["S8-2021"] = {
["title"] = "[[RER Vaud#History|S8]]",
["short name"] = "S8",
["text color"] = "FFFFFF",
["color"] = "967b67",
["left terminus"] = "Palézieux",
["right terminus"] = {"Payerne", "Avenches"},
},
["S9-2021"] = {
["title"] = "[[RER Vaud#History|S9]]",
["short name"] = "S9",
["text color"] = "FFFFFF",
["color"] = "15b0d2",
["left terminus"] = "Lausanne",
["right terminus"] = "Kerzers",
},
["S22"] = {
["title"] = "[[S22 (RER Vaud)|S22]]",
["text color"] = "FFFFFF",
["color"] = "009c9e",
["left terminus"] = {"Le Brassus", ["via"] = "Vallorbe"},
["right terminus"] = "Lausanne",
},
["S"] = {
["title"] = "[[Vallorbe–Le Brassus railway line|S]]",
["text color"] = "FFFFFF",
["color"] = "ed6a59",
["short name"] = "S",
["left terminus"] = "Le Brassus",
["right terminus"] = "Vallorbe",
},
-- New aliases for December 2022 timetable change
["S1-2022"] = {
["title"] = "[[S1 (RER Vaud)|S1]]",
["text color"] = "FFFFFF",
["color"] = "f39100",
["short name"] = "S1",
["left terminus"] = "Grandson",
["right terminus"] = "Cully",
},
["S2-2022"] = {
["title"] = "[[S2 (RER Vaud)|S2]]",
["text color"] = "FFFFFF",
["color"] = "dd2f1d",
["short name"] = "S2",
["left terminus"] = "Grandson",
["right terminus"] = "Cully",
},
["S3-2022"] = {
["title"] = "[[S3 (RER Vaud)|S3]]",
["text color"] = "FFFFFF",
["color"] = "23318a",
["short name"] = "S3",
["left terminus"] = "Vallorbe",
["right terminus"] = "St-Maurice",
},
["S4-2022"] = {
["title"] = "[[S4 (RER Vaud)|S4]]",
["text color"] = "FFFFFF",
["color"] = "6e9dd4",
["short name"] = "S4",
["left terminus"] = {"Le Brassus", "Vallorbe"},
["right terminus"] = "St-Maurice",
},
["S5-2022"] = {
["title"] = "[[S5 (RER Vaud)|S5]]",
["text color"] = "FFFFFF",
["color"] = "00681d",
["short name"] = "S5",
["left terminus"] = "Allaman",
["right terminus"] = "Palézieux",
},
["S6-2022"] = {
["title"] = "[[S6 (RER Vaud)|S6]]",
["text color"] = "FFFFFF",
["color"] = "94c01a",
["short name"] = "S6",
["left terminus"] = "Allaman",
["right terminus"] = "Romont",
},
["S7-2022"] = {
["title"] = "[[S7 (RER Vaud)|S7]]",
["text color"] = "FFFFFF",
["color"] = "ffcc00",
["short name"] = "S7",
["left terminus"] = "Puidoux",
["right terminus"] = "Vevey",
},
["S8-2022"] = {
["title"] = "[[S8 (RER Vaud)|S8]]",
["text color"] = "FFFFFF",
["color"] = "9084be",
["short name"] = "S8",
["left terminus"] = "Palézieux",
["right terminus"] = "Avenches",
},
["S9-2022"] = {
["title"] = "[[S9 (RER Vaud)|S9]]",
["text color"] = "FFFFFF",
["color"] = "e5007d",
["short name"] = "S9",
["left terminus"] = "Lausanne",
["right terminus"] = "Kerzers",
},
},
["aliases"] = {
["1"] = "R1",
["2"] = "R2",
["3"] = "R3",
["4"] = "R4",
["5"] = "R5",
["6"] = "R6",
["7"] = "R7",
["8"] = "R8",
["9"] = "R9",
["s1"] = "S1-2022",
["s2"] = "S2-2022",
["s3"] = "S3-2022",
["s4"] = "S4-2022",
["s5"] = "S5-2022",
["s6"] = "S6-2022",
["s7"] = "S7-2022",
["s8"] = "S8-2022",
["s9"] = "S9-2022",
["22"] = "S22",
}
}
return p