Module:Adjacent stations/Rhine-Ruhr S-Bahn

Documentation for this module may be created at Module:Adjacent stations/Rhine-Ruhr S-Bahn/doc

local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"

local p = {
	["system title"] = "[[Rhine-Ruhr S-Bahn]]",
	["system icon"] = "[[File:S-Bahn-Logo.svg|16px|alt=]]",
	["line icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Bochum"] = hbf,
		["Bonn"] = hbf,
		["Bottrop"] = hbf,
		["Castrop-Rauxel"] = hbf,
		["Dortmund"] = hbf,
		["Duisburg"] = hbf,
		["Düsseldorf"] = hbf,
		["Essen"] = hbf,
		["Gelsenkirchen"] = hbf,
		["Gevelsberg"] = hbf,
		["Hagen"] = hbf,
		["Köln"] = hbf,
		["Langenfeld (Rheinland)"] = "[[Langenfeld (Rheinland) station|Langenfeld]]",
		["Mönchengladbach"] = hbf,
		["Mülheim (Ruhr)"] = hbf,
		["Mülheim"] = "Mülheim (Ruhr) Hauptbahnhof",
		["Neuss"] = hbf,
		["Oberhausen"] = hbf,
		["Recklinghausen"] = hbf,
		["Remscheid"] = hbf,
		["Solingen"] = hbf,
		["Wanne-Eickel"] = hbf,
		["Witten"] = hbf,
		["Wuppertal"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 (Rhine-Ruhr S-Bahn)|%1]]",
			["text color"] = "FFFFFF",
		},
		["S1"] = {
			["color"] = "0B9A33",
			["left terminus"] = "Solingen",
			["right terminus"] = "Dortmund",
			["types"] = {
				["Düsseldorf–Solingen"] = {
					["title"] = "",
					["left terminus"] = "Solingen",
					["right terminus"] = "Dortmund",
				},
			},
		},
		["S2"] = {
			["color"] = "006DB6",
			["left terminus"] = {"Essen", "Recklinghausen"},
			["right terminus"] = "Dortmund",
			["types"] = {
				["Essen"] = {
					["title"] = "",
					["left terminus"] = "Essen",
				},
				["Recklinghausen"] = {
					["title"] = "",
					["left terminus"] = "Recklinghausen",
				},
			},
		},
		["S3"] = {
			["color"] = "FFFF00",
			["text color"] = "000000",
			["left terminus"] = "Oberhausen",
			["right terminus"] = "Hattingen (Ruhr) Mitte",
		},
		["S4"] = {
			["color"] = "EF7C00",
			["left terminus"] = "Dortmund-Lütgendortmund",
			["right terminus"] = "Unna",
		},
		["S5"] = {
			["color"] = "98C60F",
			["left terminus"] = "Dortmund",
			["right terminus"] = "Hagen",
		},
		["S6"] = {
			["color"] = "DC052D",
			["left terminus"] = "Köln-Nippes",
			["right terminus"] = "Essen",
		},
		["S7"] = {
			["color"] = "14BAE6",
			["left terminus"] = "Wuppertal",
			["right terminus"] = "Solingen"
		},
		["S8"] = {
			["color"] = "B03303",
			["left terminus"] = "Mönchengladbach",
			["right terminus"] = "Hagen",
		},
		["S9"] = {
			["color"] = "C7007F",
			["left terminus"] = {"Haltern am See", "Recklinghausen"},
			["right terminus"] = "Hagen",
			["types"] = {
				["Haltern am See"] = {
					["title"] = "",
					["left terminus"] = "Haltern am See",
				},
				["Recklinghausen"] = {
					["title"] = "",
					["left terminus"] = "Recklinghausen",
				},
			},
		},
		["S11"] = {
			["color"] = "EF7C00",
			["left terminus"] = "Bergisch Gladbach",
			["right terminus"] = "Düsseldorf Airport Terminal",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Düsseldorf Airport Terminal",
					["right terminus"] = "Bergisch Gladbach",
				},
			},
		},
		["S12"] = {
			["color"] = "61AF20",
			["left terminus"] = "Horrem",
			["right terminus"] = "Au (Sieg)",
		},
		["S13"] = {
			["color"] = "00A6EB",
			["left terminus"] = "Düren",
			["right terminus"] = "Troisdorf",
		},
		["S19"] = {
			["color"] = "00A6EB",
			["left terminus"] = "Düren",
			["right terminus"] = "Au (Sieg)",
		},
		["S23"] = {
			["color"] = "8B3C59",
			["left terminus"] = "Euskirchen",
			["right terminus"] = "Bonn",
		},
		["S28"] = {
			["color"] = "717676",
			["left terminus"] = "Kaarster See",
			["right terminus"] = "Wuppertal",
		},
		["S68"] = {
			["color"] = "14BAE6",
			["left terminus"] = "Langenfeld (Rheinland)",
			["right terminus"] = "Wuppertal-Vohwinkel",
		},
	},
	["aliases"] = {
		["1"] = "S1",
		["2"] = "S2",
		["3"] = "S3",
		["4"] = "S4",
		["5"] = "S5",
		["6"] = "S6",
		["7"] = "S7",
		["8"] = "S8",
		["9"] = "S9",
		["11"] = "S11",
		["12"] = "S12",
		["13"] = "S13",
		["19"] = "S19",
		["23"] = "S23",
		["28"] = "S28",
		["68"] = "S68",
	},
}

return p