Jump to content

Module:Adjacent stations/Transilien

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frietjes (talk | contribs) at 16:19, 13 May 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

local p = {
	["system title"] = "[[Transilien]]",
	["system icon"] = "[[File:Paris transit icons - Train.svg|16px|link=Transilien]]",
	["station format"] = {
		"%1 station",
		["Bellevue"] = "%1 station (France)",
		["Champ de courses d'Enghien"] = "[[Gare du Champ de courses d'Enghien|Champ de courses d'Enghien]]",
		["Montparnasse"] = "[[Gare Montparnasse|Paris-Montparnasse]]",
		["Saint-Nom-la-Bretèche"] = "[[Saint-Nom-la-Bretèche–Forêt de Marly station|Saint-Nom-la-Bretèche]]",
		["Paris-Est"] = "[[Gare de l'Est|Paris-Est]]",
		["Paris-Lyon"] = "[[Paris-Gare de Lyon|Paris-Lyon]]",
		["Paris-Nord"] = "[[Gare du Nord|Paris-Nord]]",
		["Saint-Lazare"] = "[[Gare Saint-Lazare|Paris-St.-Lazare]]",
		["CSV"] = {
			["Line L"] = {"Cergy-le-Haut", "Saint-Nom-la-Bretèche", "Versailles-RD"}
		},
		["EGM"] = {
			["Line J"] = {"Ermont-Eaubonne", "Gisors", "Mantes-la-Jolie"}
		},
		["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"],
		["CergyNomVers"] = stations["CergyNomVers"],
		["NomVers"] = stations["NomVers"],
		["DreMan"] = stations["DreMan"],
		["GisMan"] = stations["GisMan"],
		["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"] = "[[Transilien %1|%1]]",
			["color"] = "",
		},
		["Line H"] = {
			["icon"] = "[[File:Paris transit icons - Train H.svg|16px|alt=Transilien Line H|link=Transilien Line H]]",
			["color"] = "8D5E2A",
			["left terminus"] = "Paris-Nord",
			["right terminus"] = {"Pontoise", "Persan–Beaumont", "Luzarches"},
		},
		["Line J"] = {
			["icon"] = "[[File:Paris transit icons - Train J.svg|16px|alt=Transilien Line J|link=Transilien Line J]]",
			["color"] = "D5C900",
			["left terminus"] = "Saint-Lazare",
			["right terminus"] = {"Ermont-Eaubonne", "Gisors", "Mantes-la-Jolie", "Vernon"},
		},
		["Line K"] = {
			["icon"] = "[[File:Paris transit icons - Train K.svg|16px|alt=Transilien Line K|link=Transilien Line K]]",
			["color"] = "9F9825",
			["left terminus"] = "Paris-Nord",
			["right terminus"] = "Crépy-en-Valois"
		},
		["Line L"] = {
			["icon"] = "[[File:Paris transit icons - Train L.svg|16px|alt=Transilien Line L|link=Transilien Line L]]",
			["color"] = "CEADD2",
			["left terminus"] = "Saint-Lazare",
			["right terminus"] = {"Cergy-le-Haut", "Saint-Nom-la-Bretèche", "Versailles-Rive Droite"}
		},
		["Line N"] = {
			["icon"] = "[[File:Paris transit icons - Train N.svg|16px|alt=Transilien Line N|link=Transilien Line N]]",
			["color"] = "00A88F",
			["left terminus"] = "Montparnasse",
			["right terminus"] = {"Dreux", "Mantes-la-Jolie", "Rambouillet"}
		},
		["Line P"] = {
			["icon"] = "[[File:Paris transit icons - Train P.svg|16px|alt=Transilien Line P|link=Transilien Line P]]",
			["color"] = "F28E42",
			["left terminus"] = "Paris-Est",
			["right terminus"] = {"Coulommiers", "Crécy-la-Chapelle", "Provins", "La Ferté-Milon", "Château-Thierry"}
		},
		["Line R"] = {
			["icon"] = "[[File:Paris transit icons - Train R.svg|16px|alt=Transilien Line R|link=Transilien Line R]]",
			["color"] = "F3A4BA",
			["left terminus"] = "Paris-Lyon",
			["right terminus"] = {"Montargis", "Montereau"}
		},
		["Line U"] = {
			["icon"] = "[[File:Paris transit icons - Train U.svg|16px|alt=Transilien Line U|link=Transilien Line U]]",
			["color"] = "B90845",
			["left terminus"] = "La Défense",
			["right terminus"] = "La Verrière"
		},
	},
	["aliases"] = {
		["line h"] = "Line H",
		["line j"] = "Line J",
		["line k"] = "Line K",
		["line l"] = "Line L",
		["line n"] = "Line N",
		["line u"] = "Line U",
		["line r"] = "Line R",
		["line p"] = "Line P",
		["h"] = "Line H",
		["j"] = "Line J",
		["k"] = "Line K",
		["l"] = "Line L",
		["n"] = "Line N",
		["u"] = "Line U",
		["r"] = "Line R",
		["p"] = "Line P",
	}
}

return p