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