Module:Adjacent stations/Réseau Express Régional

local paris = "%1 station (Paris)" local rer = "%1 station (Paris RER)" local u = "%1"

local p = { ["system title"] = "RER", ["name format"] = "font-family:Arial; background-color:#02207A; text-align:center; vertical-align:middle; font-size:170%; color:white; padding-top:5px; padding-bottom:5px; padding-left:3px;", ["system icon"] = "", ["station format"] = { "%1 station", -- Paris ["Luxembourg"] = paris, ["Rosa Parks"] = paris, -- RER ["Denfert-Rochereau"] = rer, ["Malesherbes"] = rer, ["Saint-Ouen"] = rer, -- no station suffix ["Gare d'Austerlitz"] = u,		["Gare de Lyon"] = u,		["Gare du Nord"] = u,		-- others ["Châtelet"] = "Châtelet–Les Halles station", ["Issy - Val de Seine"] = "Issy–Val de Seine", ["Le Vésinet–Centre"] = "Vésinet–Centre station", ["Le Vésinet–Le Pecq"] = "Vésinet–Le Pecq station", ["Pont de Rungis"] = "Pont de Rungis – Orly", ["Pont du Garigliano–Hôpital européen Georges-Pompidou"] = "Pont du Garigliano", ["Saint-Quentin-en-Yvelines"] = "Saint-Quentin-en-Yvelines", ["Versailles RG"] = "Versailles Château Rive Gauche", ["Villiers-sur-Marne"] = "Villiers-sur-Marne" },	["lines"] = { ["_default"] = { ["title"] = "RER %1", ["color"] = "25303B", ["text color"] = "FFFFFF", ["icon"] = "", },		["A"] = { ["color"] = "E3051C", ["left terminus"] = { "Saint-Germain-en-Laye", "Cergy-le-Haut", "Poissy" },			["right terminus"] = { "Boissy-Saint-Léger", "Marne-la-Vallée–Chessy" },			["types"] = { ["A1"] = { ["title"] = "", ["left terminus"] = "Saint-Germain-en-Laye" },				["A1–A2"] = { ["title"] = "", ["left terminus"] = "Saint-Germain-en-Laye", ["right terminus"] = "Boissy-Saint-Léger" },				["A2"] = { ["title"] = "", ["right terminus"] = "Boissy-Saint-Léger" },				["A3–A4"] = { ["title"] = "", ["left terminus"] = "Cergy-le-Haut", ["right terminus"] = "Marne-la-Vallée–Chessy" },				["A3A5"] = { ["title"] = "", ["left terminus"] = {"Cergy-le-Haut", "Poissy"} },				["A3A5–A4"] = { ["title"] = "", ["left terminus"] = {"Cergy-le-Haut", "Poissy"}, ["right terminus"] = "Marne-la-Vallée–Chessy" },				["A4"] = { ["title"] = "", ["right terminus"] = "Marne-la-Vallée–Chessy" },				["A5–A4"] = { ["title"] = "", ["left terminus"] = "Poissy", ["right terminus"] = "Marne-la-Vallée–Chessy" },			}		},		["B"] = { ["color"] = "5291CE", ["left terminus"] = { "Aéroport Charles de Gaulle 2 TGV", "Mitry–Claye" },			["right terminus"] = { "Robinson", "Saint-Rémy-lès-Chevreuse" },			["types"] = { ["B2"] = { ["title"] = "", ["right terminus"] = "Robinson" },				["B3"] = { ["title"] = "", ["left terminus"] = "Aéroport Charles de Gaulle 2 TGV" },				["B4"] = { ["title"] = "", ["right terminus"] = "Saint-Rémy-lès-Chevreuse" },				["B5"] = { ["title"] = "", ["left terminus"] = "Mitry–Claye" },			}		},		["C"] = { ["color"] = "FFCE00", ["text color"] = "25303B", ["left terminus"] = { "Pontoise", "Versailles RG", "Saint-Quentin-en-Yvelines" },			["right terminus"] = { "Massy-Palaiseau", "Dourdan-la-Forêt", "Saint-Martin-d'Étampes" },			["types"] = { ["C1"] = { ["title"] = "", ["left terminus"] = "Pontoise" },				["C1–C2"] = { ["title"] = "", ["left terminus"] = "Pontoise", ["right terminus"] = "Massy-Palaiseau" },				["C1–C2C4"] = { ["title"] = "", ["left terminus"] = "Pontoise", ["right terminus"] = {"Massy-Palaiseau", "Dourdan-la-Forêt"} },				["C2"] = { ["title"] = "", ["right terminus"] = "Massy-Palaiseau" },				["C3"] = { ["title"] = "", ["left terminus"] = "Montigny–Beauchamp" },				["C3–Brétigny"] = { ["title"] = "", ["left terminus"] = "Montigny–Beauchamp", ["right terminus"] = "Brétigny" },				["C4C6-C7"] = { ["title"] = "", ["left terminus"] = "Saint-Quentin-en-Yvelines", ["right terminus"] = {"Dourdan-la-Forêt", "Saint-Martin-d'Étampes"} },				["C4C6C8"] = { ["title"] = "", ["right terminus"] = {"Dourdan-la-Forêt", "Saint-Martin-d'Étampes", "Versailles Chantiers"} },				["C5C7–C4C6C8"] = { ["title"] = "", ["left terminus"] = {"Versailles Château Rive Gauche", "Saint-Quentin-en-Yvelines"}, ["right terminus"] = {"Dourdan-la-Forêt", "Saint-Martin-d'Étampes", "Versailles Chantiers"} },				["C5C7"] = { ["title"] = "", ["left terminus"] = {"Versailles Château Rive Gauche", "Saint-Quentin-en-Yvelines"} },				["C5–C4"] = { ["title"] = "", ["left terminus"] = "Versailles Château Rive Gauche", ["right terminus"] = "Dourdan-la-Forêt" },				["C5–C8"] = { ["title"] = "", ["left terminus"] = "Versailles Château Rive Gauche", ["right terminus"] = "Versailles Chantiers" },				["C5–C10"] = { ["title"] = "", ["left terminus"] = "Versailles Château Rive Gauche", ["right terminus"] = "Juvisy" },				["C7–C6"] = { ["title"] = "", ["left terminus"] = "Saint-Quentin-en-Yvelines", ["right terminus"] = "Saint-Martin-d'Étampes" }			}		},		["D"] = { ["color"] = "00814F", ["left terminus"] = "Creil", ["right terminus"] = { "Melun", "Malesherbes" },			["types"] = { ["D1–D6"] = { ["title"] = "", ["left terminus"] = "Orry-la-Ville-Coye", ["right terminus"] = "Corbeil-Essonnes" },				["D2"] = { ["title"] = "", ["right terminus"] = "Melun" },				["D3–D6"] = { ["title"] = "", ["left terminus"] = "Creil", ["right terminus"] = "Corbeil-Essonnes" },				["D4"] = { ["title"] = "", ["right terminus"] = "Malesherbes" },				["D5–D2"] = { ["title"] = "", ["left terminus"] = "Villiers-le-Bel–Gonesse–Arnouville", ["right terminus"] = "Melun" },				["D5–D6"] = { ["title"] = "", ["left terminus"] = "Villiers-le-Bel–Gonesse–Arnouville", ["right terminus"] = "Corbeil-Essonnes" },				["D6"] = { ["title"] = "", ["right terminus"] = "Corbeil-Essonnes" },				["D7–D2"] = { ["title"] = "", ["left terminus"] = "Goussainville", ["right terminus"] = "Melun" },				["Juvisy–D2"] = { ["title"] = "", ["left terminus"] = "Juvisy", ["right terminus"] = "Melun" },				["Juvisy–D4"] = { ["title"] = "", ["left terminus"] = "Juvisy", ["right terminus"] = "Malesherbes" }			}		},		["E"] = { ["color"] = "C04191", ["left terminus"] = "Nanterre–La Folie", ["right terminus"] = { "Chelles–Gournay", "Tournan" },			["types"] = { ["E2"] = { ["title"] = "", ["right terminus"] = "Chelles–Gournay" },				["E4"] = { ["title"] = "", ["right terminus"] = "Tournan" }			}		},	--	Former line ["S"] = { ["title"] = "Sceaux", ["icon"] = "", ["color"] = "25303B", ["left terminus"] = "Luxembourg", ["right terminus"] = {"Robinson", "Saint-Rémy-lès-Chevreuse"}, ["types"] = { ["Robinson branch"] = { ["right terminus"] = "Robinson" },				["Saint-Rémy branch"] = { ["right terminus"] = "Saint-Rémy-lès-Chevreuse" }			}		}	},	["aliases"] = { ["a"] = "A", ["rer a"] = "A", ["b"] = "B", ["rer b"] = "B", ["c"] = "C", ["rer c"] = "C", ["d"] = "D", ["rer d"] = "D", ["e"] = "E", ["rer e"] = "E", ["s"] = "S", ["sceaux"] = "S" } }

return p