Module:Adjacent stations/Transilien

local stations = { ["h1"] = "Paris-Nord", ["h2"] = "Pontoise", ["h3"] = "Pontoise", ["h4"] = "Persan–Beaumont", ["h6"] = "Luzarches", ["h8"] = "Creil", ["h246"] = "Pontoise, Persan–Beaumont or Luzarches", ["h24"] = "Pontoise or Persan–Beaumont", ["h46"] = "Persan–Beaumont or Luzarches", ["CergyNomVers"] = "Cergy-le-Haut, Saint-Nom-la-Bretèche or Versailles–Rive Droite", ["NomVers"] = "Saint-Nom-la-Bretèche or Versailles–Rive Droite", ["DreMan"] = "Dreux or Mantes-la-Jolie", ["GisMan"] = "Gisors or Mantes-la-Jolie", ["ErmGisMan"] = "Ermont–Eaubonne, Gisors or Mantes-la-Jolie", ["ManVer"] = "Mantes-la-Jolie or Vernon", ["ChatFert"] = "Château-Thierry or La Ferté-Milon", ["Val d'Or"] = "Le Val d'Or", }

local p = { ["system title"] = "Transilien", ["system icon"] = "", ["name format"] = "font-family:Arial; background-color:#052987; text-align:right; text-transform:uppercase; vertical-align:middle; font-size:140%; color:white; padding:5px", ["station format"] = { "%1 station", ["Bellevue"] = "%1 station (France)", ["Montparnasse"] = "Paris-Montparnasse", ["Saint-Nom-la-Bretèche"] = "Saint-Nom-la-Bretèche–Forêt de Marly station", ["Paris-Est"] = "Gare de l'Est", ["Paris-Lyon"] = "Paris-Gare de Lyon", ["Paris-Nord"] = "Gare du Nord", ["Saint-Lazare"] = "Paris-St.-Lazare", ["h1"] = stations["h1"], ["H1"] = stations["h1"], ["h2"] = stations["h2"], ["H2"] = stations["h2"], ["h3"] = stations["h3"], ["H3"] = stations["h3"], ["h4"] = stations["h4"], ["H4"] = stations["h4"], ["h6"] = stations["h6"], ["H6"] = stations["h6"], ["h8"] = stations["h8"], ["H8"] = stations["h8"], ["h246"] = stations["h246"], ["H246"] = stations["h246"], ["h24"] = stations["h24"], ["H24"] = stations["h24"], ["h46"] = stations["h46"], ["H46"] = stations["h46"], ["CSV"] = stations["CergyNomVers"], ["CergyNomVers"] = stations["CergyNomVers"], ["NomVers"] = stations["NomVers"], ["DreMan"] = stations["DreMan"], ["GisMan"] = stations["GisMan"], ["EGM"] = stations["ErmGisMan"], ["ErmGisMan"] = stations["ErmGisMan"], ["ManVer"] = stations["ManVer"], ["ChatFert"] = stations["ChatFert"], ["Le Val d'Or"] = stations["Val d'Or"], ["Val d'Or"] = stations["Val d'Or"], },	["lines"] = { ["_default"] = { ["title"] = "Line %1", ["color"] = "25303B", ["text color"] = "FFFFFF", ["icon"] = "", },		["H"] = { ["title"] = "Line H", ["color"] = "8D5E2A", ["icon"] = "", ["left terminus"] = "Paris-Nord", ["right terminus"] = {"Pontoise", "Persan–Beaumont", "Luzarches"}, },		["J"] = { ["title"] = "Line J", ["color"] = "D5C900", ["text color"] = "25303B", ["icon"] = "", ["left terminus"] = "Saint-Lazare", ["right terminus"] = {"Ermont–Eaubonne", "Gisors", "Mantes-la-Jolie", "Vernon"}, },		["K"] = { ["title"] = "Line K", ["color"] = "9F9825", ["icon"] = "", ["left terminus"] = "Paris-Nord", ["right terminus"] = "Crépy-en-Valois" },		["L"] = { ["title"] = "Line L", ["color"] = "CEADD2", ["text color"] = "25303B", ["icon"] = "", ["left terminus"] = {"Cergy-le-Haut", "Saint-Nom-la-Bretèche", "Versailles–Rive Droite"}, ["right terminus"] = "Paris–Saint Lazare" },		["N"] = { ["color"] = "00A88F", ["icon"] = "", ["left terminus"] = "Montparnasse", ["right terminus"] = {"Dreux", "Mantes-la-Jolie", "Rambouillet"} },		["P"] = { ["color"] = "F28E42", ["text color"] = "25303B", ["icon"] = "", ["left terminus"] = {"Paris-Est", "Esbly"}, ["right terminus"] = {"Coulommiers", "Crécy-la-Chapelle", "Provins", "La Ferté-Milon", "Château-Thierry"} },		["R"] = { ["color"] = "F3A4BA", ["text color"] = "25303B", ["icon"] = "", ["left terminus"] = "Paris-Lyon", ["right terminus"] = {"Montargis", "Montereau"} },		["U"] = { ["color"] = "B90845", ["left terminus"] = "La Verrière", ["right terminus"] = "La Défense" },		["V"] = { ["color"] = "9F9825", ["left terminus"] = "Versailles-Chantiers", ["right terminus"] = "Massy-Palaiseau" },	},	["aliases"] = { ["h"] = "H", ["line h"] = "H", ["j"] = "J", ["line j"] = "J", ["k"] = "K", ["line k"] = "K", ["l"] = "L", ["line l"] = "L", ["n"] = "N", ["line n"] = "N", ["p"] = "P", ["line p"] = "P", ["r"] = "R", ["line r"] = "R", ["u"] = "U", ["line u"] = "U", ["v"] = "V", ["line v"] = "V", } }

return p