Module:Adjacent stations/Rhine-Ruhr Stadtbahn

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

local p = {
	["system title"] = "[[Rhine-Ruhr Stadtbahn]]",
	["system icon"] = "",
	["line icon format"] = "route",
	["station format"] = {
		"%1 station",
		["Bochum"] = hbf,
		["Dortmund"] = hbf,
		["Duisburg"] = hbf,
		["Düsseldorf"] = hbf,
		["Essen"] = hbf,
		["Handelszentrum/Moskauer Straße"] = "[[Handelszentrum/Moskauer Straße station|Handelszentrum/​Moskauer Straße]]",
		["Karlsplatz"] = "Karlsplatz station (Essen)",
		["Kreuzstraße"] = "Kreuzstraße station (Dortmund)",
		["Mülheim (Ruhr)"] = hbf,
		["Neuss"] = hbf,
		["Oberbilker Markt/Warschauer Straße"] = "[[Oberbilker Markt/Warschauer Straße station|Oberbilker Markt/​Warschauer Straße]]",
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
		},
		-- Essen Stadtbahn
		["11"] = {
			["title"] = "[[Essen Stadtbahn|U11]]",
			["short name"] = "U11",
			["color"] = "483D8B",
			["left terminus"] = "Messe West-Süd Gruga",
			["right terminus"] = "Buerer Straße",
		},
		["17"] = {
			["title"] = "[[Essen Stadtbahn|U17]]",
			["short name"] = "U17",
			["color"] = "4169E1",
			["left terminus"] = "Margarethenhöhe",
			["right terminus"] = "Karlsplatz",
		},
		["18"] = {
			["title"] = "[[Essen Stadtbahn|U18]]",
			["short name"] = "U18",
			["color"] = "0000FF",
			["left terminus"] = "Mülheim (Ruhr)",
			["right terminus"] = "Berliner Platz",
		},
		-- Bochum Stadtbahn
		["35"] = {
			["title"] = "[[Bochum Stadtbahn|U35]]",
			["short name"] = "U35",
			["color"] = "00008B",
			["left terminus"] = "Schloß Strünkede",
			["right terminus"] = "Hustadt",
		},
		-- Dortmund Stadtbahn
		["41"] = {
			["title"] = "[[Dortmund Stadtbahn|U41]]",
			["short name"] = "U41",
			["color"] = "FFE700",
			["text color"] = "000000",
			["left terminus"] = "Brambauer Verkehrshof",
			["right terminus"] = "Clarenberg",
		},
		["42"] = {
			["title"] = "[[Dortmund Stadtbahn|U42]]",
			["short name"] = "U42",
			["color"] = "FCB913",
			["left terminus"] = "Grotenbachstraße",
			["right terminus"] = "Grevel",
		},
		["43"] = {
			["title"] = "[[Dortmund Stadtbahn|U43]]",
			["short name"] = "U43",
			["color"] = "409387",
			["left terminus"] = "Wittener Straße",
			["right terminus"] = "Dortmund-Wickede",
		},
		["44"] = {
			["title"] = "[[Dortmund Stadtbahn|U44]]",
			["short name"] = "U44",
			["color"] = "66A3B1",
			["left terminus"] = "Walbertstraße",
			["right terminus"] = "Westfalenhütte",
		},
		["45"] = {
			["title"] = "[[Dortmund Stadtbahn|U45]]",
			["short name"] = "U45",
			["color"] = "EE1C23",
			["left terminus"] = "Dortmund",
			["right terminus"] = "Westfalenhallen",
		},
		["46"] = {
			["title"] = "[[Dortmund Stadtbahn|U46]]",
			["short name"] = "U46",
			["color"] = "756FB3",
			["left terminus"] = "Westfalenhallen",
			["right terminus"] = "Brunnenstraße",
		},
		["47"] = {
			["title"] = "[[Dortmund Stadtbahn|U47]]",
			["short name"] = "U47",
			["color"] = "8DC63E",
			["left terminus"] = "Dortmund-Westerfilde",
			["right terminus"] = "Aplerbeck",
		},
		["49"] = {
			["title"] = "[[Dortmund Stadtbahn|U49]]",
			["short name"] = "U49",
			["color"] = "F7ACBC",
			["left terminus"] = "Hafen",
			["right terminus"] = "Hacheney",
		},
		-- Düsseldorf Stadtbahn
		["70"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U70]]",
			["short name"] = "U70",
			["color"] = "00FFFF",
			["left terminus"] = "Krefeld Rheinstraße",
			["right terminus"] = "Düsseldorf",
		},
		["71"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U71]]",
			["short name"] = "U71",
			["color"] = "000080",
			["left terminus"] = "Düsseldorf-Rath",
			["right terminus"] = "Benrath Betriebshof",
		},
		["72"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U72]]",
			["short name"] = "U72",
			["color"] = "002280",
			["left terminus"] = "Hellriegelstraße",
			["right terminus"] = "Ratingen Mitte",
		},
		["73"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U73]]",
			["short name"] = "U73",
			["color"] = "004480",
			["left terminus"] = "Universität Ost/Botanischer Garten",
			["right terminus"] = "Düsseldorf-Gerresheim",
		},
		["74"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U74]]",
			["short name"] = "U74",
			["color"] = "191970",
			["left terminus"] = "Meerbusch-Görgesheide",
			["right terminus"] = "Holthausen",
		},
		["75"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U75]]",
			["short name"] = "U75",
			["color"] = "008B8B",
			["left terminus"] = "Neuss",
			["right terminus"] = "Eller Vennhauser Allee",
		},
		["76"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U76]]",
			["short name"] = "U76",
			["color"] = "4682B4",
			["left terminus"] = "Krefeld Rheinstraße",
			["right terminus"] = "Handelszentrum/Moskauer Straße",
		},
		["77"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U77]]",
			["short name"] = "U77",
			["color"] = "B0C4DE",
			["left terminus"] = "Am Seestern",
			["right terminus"] = "Holthausen",
		},
		["78"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U78]]",
			["short name"] = "U78",
			["color"] = "66CDAA",
			["left terminus"] = "Merkur Spiel-Arena/Messe Nord",
			["right terminus"] = "Düsseldorf",
		},
		["79"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U79]]",
			["short name"] = "U79",
			["color"] = "008080",
			["left terminus"] = "Universität Ost/Botanischer Garten",
			["right terminus"] = "Duisburg-Meiderich Süd",
			["types"] = {
				["Stammstrecke 2"] = {
					["title"] = "",
					["left terminus"] = "Duisburg-Meiderich Süd",
					["right terminus"] = "Universität Ost/Botanischer Garten",
				},
			}
		},
		["83"] = {
			["title"] = "[[Düsseldorf Stadtbahn|U83]]",
			["short name"] = "U83",
			["color"] = "006680",
			["left terminus"] = "Gerresheim Krankenhaus",
			["right terminus"] = "Benrath Betriebshof",
		},
	},
}

return p