Module:Adjacent stations/DB Regio NRW

local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
local rw = "%1 railway station"

local p = {
	["system title"] = "[[DB Regio NRW]]",
	["system icon"] = "[[File:Deutsche_Bahn_AG-Logo.svg|15px]]",
	["system icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Aachen"] = hbf,
		["Bielefeld"] = hbf,
		["Bochum"] = hbf,
		["Bonn"] = hbf,
		["Castrop-Rauxel"] = hbf,
		["Dortmund"] = hbf,
		["Duisburg"] = hbf,
		["Düsseldorf"] = hbf,
		["Enschede"] = rw,
		["Eschweiler"] = hbf,
		["Essen"] = hbf,
		["Eygelshoven Markt"] = rw,
		["Gelsenkirchen"] = hbf,
		["Gütersloh"] = hbf,
		["Hagen"] = hbf,
		["Hamm (Westf)"] = hbf,
		["Heerlen"] = rw,
		["Koblenz"] = hbf,
		["Köln"] = hbf,
		["Krefeld"] = hbf,
		["Langerwehe/Düren"] = "[[Langerwehe station|Langerwehe]]/[[Düren station|Düren]]",
		["Minden"] = hbf,
		["Mönchengladbach"] = hbf,
		["Mülheim (Ruhr)"] = hbf,
		["Münster"] = hbf,
		["Oberhausen"] = hbf,
		["Osnabrück"] = hbf,
		["Recklinghausen"] = hbf,
		["Rheydt"] = hbf,
		["Siegen"] = hbf,
		["Stolberg (Rheinland)"] = hbf,
		["Trier"] = hbf,
		["Wanne-Eickel"] = hbf,
		["Witten"] = hbf,
		["Wuppertal"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",
		},
		-- RB
		["RB 20"] = {
			["title"] = "[[Euregiobahn|RB 20]]",
			["color"] = "7A7C80",
			["left terminus"] = {"Heerlen", "Alsdorf Poststraße"},
			["right terminus"] = {"Langerwehe/Düren", "Stolberg Altstadt"},
		},
		["RB 22"] = {
			["title"] = "[[List of rail services in Rhineland-Palatinate#Lines 20–29|RB 22]]",
			["color"] = "FFAD3E",
			["left terminus"] = "Trier",
			["right terminus"] = "Gerolstein",
		},
		["RB 23"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 20–29|RB 23]]",
			["color"] = "7A7C80",
			["left terminus"] = "Bad Münstereifel",
			["right terminus"] = "Euskirchen",
		},
		["RB 24"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 20–29|RB 24]]",
			["color"] = "7A7C80",
			["left terminus"] = "Gerolstein",
			["right terminus"] = "Köln Messe/Deutz",
		},
		["RB 25"] = {
			["title"] = "[[Oberbergische Bahn|RB 25]]",
			["color"] = "7A7C80",
			["left terminus"] = "Köln Hansaring",
			["right terminus"] = "Lüdenscheid",
		},
		["RB 27"] = {
			["title"] = "[[Rhein-Erft-Express|RB 27]]",
			["color"] = "7A7C80",
			["left terminus"] = "Mönchengladbach",
			["right terminus"] = "Koblenz",
		},
		["RB 30"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 30–29|RB 30]]",
			["color"] = "7A7C80",
			["left terminus"] = "Ahrbrück",
			["right terminus"] = "Bonn",
		},
		["RB 32"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 30–39|RB 32]]",
			["color"] = "7A7C80",
			["left terminus"] = "Duisburg",
			["right terminus"] = "Dortmund",
		},
		["RB 33"] = {
			["title"] = "[[Rhein-Niers-Bahn|RB 33]]",
			["color"] = "7A7C80",
			["left terminus"] = "Aachen",
			["right terminus"] = "Essen-Steele",
		},
		["RB 34"] = {
			["title"] = "[[Schwalm-Nette-Bahn|RB 34]]",
			["color"] = "7A7C80",
			["left terminus"] = "Dalheim",
			["right terminus"] = "Mönchengladbach",
		},
		["RB 38"] = {
			["title"] = "[[Erft-Bahn|RB 38]]",
			["color"] = "7A7C80",
			["left terminus"] = "Bedburg",
			["right terminus"] = "Köln Messe/Deutz",
		},
		["RB 39"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 30–39|RB 39]]",
			["color"] = "7A7C80",
			["left terminus"] = "Dernau",
			["right terminus"] = "Remagen",
		},
		["RB 40"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 40–49|RB 40]]",
			["color"] = "7A7C80",
			["left terminus"] = "Essen",
			["right terminus"] = "Hagen",
		},
		["RB 43"] = {
			["title"] = "[[Sauerland Net#RB 43 – Emschertal-Bahn|RB 43]]",
			["color"] = "7A7C80",
			["left terminus"] = "Dorsten",
			["right terminus"] = "Dortmund",
		},
		["RB 46"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 40–49|RB 46]]",
			["color"] = "7A7C80",
			["left terminus"] = "Gelsenkirchen",
			["right terminus"] = "Bochum",
		},
		["RB 51"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 50–59|RB 51]]",
			["color"] = "7A7C80",
			["left terminus"] = "Enschede",
			["right terminus"] = "Dortmund",
		},
		["RB 52"] = {
			["title"] = "[[Volmetalbahn|RB 52]]",
			["color"] = "7A7C80",
			["left terminus"] = "Dortmund",
			["right terminus"] = "Lüdenscheid",
		},
		["RB 53"] = {
			["title"] = "[[Ardey-Bahn|RB 53]]",
			["color"] = "7A7C80",
			["left terminus"] = "Dortmund",
			["right terminus"] = "Iserlohn",
		},
		["RB 54"] = {
			["title"] = "[[Hönnetal-Bahn|RB 54]]",
			["color"] = "7A7C80",
			["left terminus"] = "Unna",
			["right terminus"] = "Neuenrade",
		},
		["RB 63"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 60–69|RB 63]]",
			["color"] = "7A7C80",
			["left terminus"] = "Coesfeld (Westf)",
			["right terminus"] = "Münster-Zentrum Nord",
		},
		["RB 64"] = {
			["title"] = "[[Euregio-Bahn|RB 64]]",
			["color"] = "7A7C80",
			["left terminus"] = "Enschede",
			["right terminus"] = "Münster",
		},
		["RB 91"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 90–99|RB 91]]",
			["color"] = "7A7C80",
			["left terminus"] = "Hagen",
			["right terminus"] = "Siegen",
		},
		-- RE
		["RE 2"] = {
			["title"] = "[[Rhein-Haard-Express|RE 2]]",
			["color"] = "00B8F1",
			["left terminus"] = "Düsseldorf",
			["right terminus"] = "Osnabrück",
		},
		["RE 8"] = {
			["title"] = "[[Rhein-Erft-Express|RE 8]]",
			["color"] = "006BBB",
			["left terminus"] = "Mönchengladbach",
			["right terminus"] = "Koblenz",
		},
		["RE 9"] = {
			["title"] = "[[Rhein-Sieg-Express|RE 9]]",
			["color"] = "401446",
			["left terminus"] = "Aachen",
			["right terminus"] = "Siegen",
		},
		["RE 12"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 10–19|RE 12]]",
			["color"] = "AD294C",
			["left terminus"] = "Trier",
			["right terminus"] = "Köln Messe/Deutz",
		},
		["RE 17"] = {
			["title"] = "[[Sauerland-Express|RE 17]]",
			["color"] = "489B40",
			["left terminus"] = "Hagen",
			["right terminus"] = "Kassel-Wilhelmshöhe",
		},
		["RE 22"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 20–29|RE 22]]",
			["color"] = "FFAD3E",
			["left terminus"] = "Gerolstein",
			["right terminus"] = "Köln Messe/Deutz",
		},
		["RE 34"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 30–39|RE 34]]",
			["color"] = "8c467d",
			["left terminus"] = "Dortmund",
			["right terminus"] = {"Siegen"},
		},
		["RE 41"] = {
			["title"] = "[[List of regional railway lines in North Rhine-Westphalia#Lines 40–49|RE 41]]",
			["color"] = "5844a4",
			["left terminus"] = "Bochum",
			["right terminus"] = "Haltern am See",
		},
		["RE 42"] = {
			["title"] = "[[Niers-Haard-Express|RE 42]]",
			["color"] = "D9BF13",
			["left terminus"] = "Mönchengladbach",
			["right terminus"] = "Münster",
		},
		["RE 49"] = {
			["title"] = "[[Wupper-Lippe-Express|RE 49]]",
			["color"] = "c4836b",
			["left terminus"] = "Wesel",
			["right terminus"] = "Wuppertal",
		},
		["RE 57"] = {
			["title"] = "[[Dortmund-Sauerland-Express|RE 57]]",
			["color"] = "2E6DA6",
			["left terminus"] = "Dortmund",
			["right terminus"] = "Brilon Stadt",
		},
	},
}

return p