Module:Adjacent stations/Abellio Rail Mitteldeutschland

Documentation for this module may be created at Module:Adjacent stations/Abellio Rail Mitteldeutschland/doc

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

local p = {
	["system title"] = "[[Abellio Rail Mitteldeutschland]]",
	["system icon"] = "[[File:Abellio logo.svg|30px]]",
	["station format"] = {
		"%1 station",
		["Berlin Ostbahnhof"] = "%1",
		["Bernburg"] = hbf,
		["Dessau"] = hbf,
		["Erfurt"] = hbf,
		["Halle (Saale)"] = hbf,
		["Kassel"] = hbf,
		["Leipzig"] = hbf,
		["Magdeburg"] = hbf,
		["Naumburg (Saale)"] = hbf,
		["Stendal"] = hbf,
		["Thale"] = hbf,
		["Wernigerode"] = hbf,
		["Wolfsburg"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF"	
		},
		["HBX"] = {
			["title"] = "[[Harz-Berlin-Express]]",
			["color"] = "E2001A",
			["left terminus"] = "Goslar",
			["right terminus"] = "Berlin Ostbahnhof",
		},
		["RB 20"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 20]]",
			["color"] = "054481",
			["left terminus"] = "Eisenach",
			["right terminus"] = "Leipzig",
		},
		["RB 25"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RB 25]]",
			["color"] = "00a67c",
			["left terminus"] = "Saalfeld (Saale)",
			["right terminus"] = "Halle (Saale)",
		},
		["RB 35"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 35]]",
			["color"] = "0ba5df",
			["left terminus"] = "Wolfsburg",
			["right terminus"] = "Stendal",
		},
		["RB 36"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 36]]",
			["color"] = "e71a80",
			["left terminus"] = "Wolfsburg",
			["right terminus"] = "Magdeburg",
		},
		["RB 41"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 41]]",
			["color"] = "e71a80",
			["left terminus"] = "Aschersleben",
			["right terminus"] = "Magdeburg",
		},
		["RB 43"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 43]]",
			["color"] = "0ba5df",
			["left terminus"] = "Oschersleben (Bode)",
			["right terminus"] = "Magdeburg",
		},
		["RB 44"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 44]]",
			["color"] = "b17f4a",
			["left terminus"] = "Halberstadt",
			["right terminus"] = "Aschersleben",
		},
		["RB 47"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 47]]",
			["color"] = "9b2b48",
			["left terminus"] = "Bernburg",
			["right terminus"] = "Halle (Saale)",
		},
		["RB 48"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 48]]",
			["color"] = "089b87",
			["left terminus"] = "Magdeburg",
			["right terminus"] = "Bernburg",
		},
		["RB 50"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 50]]",
			["color"] = "d20a11",
			["left terminus"] = "Aschersleben",
			["right terminus"] = "Dessau",
		},
		["RB 57"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RB 57]]",
			["color"] = "c36c38",
			["left terminus"] = "Heilbad Heiligenstadt",
			["right terminus"] = "Nordhausen",
		},
		["RB 59"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RB 59]]",
			["color"] = "7dc242",
			["left terminus"] = "Erfurt",
			["right terminus"] = "Sangerhausen",
		},
		["RB 77"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 77]]",
			["color"] = "73542f",
			["left terminus"] = "Wangen",
			["right terminus"] = "Naumburg (Saale) Ost",
		},
		["RE 4"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 4]]",
			["color"] = "b17f4a",
			["left terminus"] = "Goslar",
			["right terminus"] = "Halle (Saale)",
		},
		["RE 6"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 6]]",
			["color"] = "831f82",
			["left terminus"] = "Wolfsburg",
			["right terminus"] = "Magdeburg",
		},
		["RE 8"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 8]]",
			["color"] = "95c11f",
			["left terminus"] = "Leinefelde",
			["right terminus"] = "Halle (Saale)",
		},
		["RE 9"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 9]]",
			["color"] = "006e34",
			["left terminus"] = "Kassel",
			["right terminus"] = "Halle (Saale)",
		},
		["RE 10"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 10]]",
			["color"] = "831f82",
			["left terminus"] = "Erfurt",
			["right terminus"] = "Magdeburg",
		},
		["RE 11"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 11]]",
			["color"] = "054481",
			["left terminus"] = "Thale",
			["right terminus"] = "Magdeburg",
		},
		["RE 15"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RE 15]]",
			["color"] = "4cbb78",
			["left terminus"] = "Saalfeld (Saale)",
			["right terminus"] = "Jena Saale",
		},
		["RE 16"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 16]]",
			["color"] = "0077ba",
			["left terminus"] = "Erfurt",
			["right terminus"] = "Halle (Saale)",
		},
		["RE 17"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 17]]",
			["color"] = "0ba5df",
			["left terminus"] = "Erfurt",
			["right terminus"] = "Leipzig",
		},
		["RE 21"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 21]]",
			["color"] = "054481",
			["left terminus"] = "Goslar",
			["right terminus"] = "Magdeburg",
		},
		["RE 24"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 24]]",
			["color"] = "765630",
			["left terminus"] = "Halberstadt",
			["right terminus"] = "Halle (Saale)",
		},
		["RE 31"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 31]]",
			["color"] = "054481",
			["left terminus"] = "Blankenburg (Harz)",
			["right terminus"] = "Magdeburg",
		},
	},
}

return p