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

local p = {
	["system title"] = "[[Abellio Rail Mitteldeutschland]]",
	["system icon"] = "",
	["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"] = {
		["HBX"] = {
			["title"] = "[[Harz-Berlin-Express]]",
			["color"] = "E2001A",
			["left terminus"] = "Goslar",
			["right terminus"] = "Berlin Ostbahnhof",
		},
		["RB"] = {
			["title"] = "",
			["color"] = "00519E",
			["types"] = {
				["20"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 20]]",
					["left terminus"] = "Eisenach",
					["right terminus"] = "Leipzig",
				},
				["25"] = {
					["title"] = "[[List of railway routes in Thuringia#Regional services|RB 25]]",
					["left terminus"] = "Saalfeld (Saale)",
					["right terminus"] = "Halle (Saale)",
				},
				["35"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 35]]",
					["left terminus"] = "Wolfsburg",
					["right terminus"] = "Stendal",
				},
				["36"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 36]]",
					["left terminus"] = "Wolfsburg",
					["right terminus"] = "Magdeburg",
				},
				["41"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 41]]",
					["left terminus"] = "Aschersleben",
					["right terminus"] = "Magdeburg",
				},
				["43"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 43]]",
					["left terminus"] = "Oschersleben (Bode)",
					["right terminus"] = "Magdeburg",
				},
				["44"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 44]]",
					["left terminus"] = "Halberstadt",
					["right terminus"] = "Aschersleben",
				},
				["47"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 47]]",
					["left terminus"] = "Bernburg",
					["right terminus"] = "Halle (Saale)",
				},
				["48"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 48]]",
					["left terminus"] = "Magdeburg",
					["right terminus"] = "Bernburg",
				},
				["50"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 50]]",
					["left terminus"] = "Aschersleben",
					["right terminus"] = "Dessau",
				},
				["51"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 51]]",
					["left terminus"] = "Heilbad Heiligenstadt",
					["right terminus"] = "Nordhausen",
				},
				["59"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 59]]",
					["left terminus"] = "Erfurt",
					["right terminus"] = "Sangerhausen",
				},
				["75"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 75]]",
					["left terminus"] = "Nordhausen",
					["right terminus"] = "Halle (Saale)",
				},
				["77"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 77]]",
					["left terminus"] = "Wangen",
					["right terminus"] = "Naumburg (Saale) Ost",
				},
			},
		},
		["RE"] = {
			["title"] = "",
			["color"] = "E2001A",
			["types"] = {
				["4"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 4]]",
					["left terminus"] = "Goslar",
					["right terminus"] = "Halle (Saale)",
				},
				["6"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 6]]",
					["left terminus"] = "Wolfsburg",
					["right terminus"] = "Magdeburg",
				},
				["8"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 8]]",
					["left terminus"] = "Leinefelde",
					["right terminus"] = "Halle (Saale)",
				},
				["9"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 9]]",
					["left terminus"] = "Kassel",
					["right terminus"] = "Halle (Saale)",
				},
				["10"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 10]]",
					["left terminus"] = "Erfurt",
					["right terminus"] = "Magdeburg",
				},
				["11"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 11]]",
					["left terminus"] = "Thale",
					["right terminus"] = "Magdeburg",
				},
				["15"] = {
					["title"] = "[[List of railway routes in Thuringia#Regional services|RE 15]]",
					["left terminus"] = "Saalfeld (Saale)",
					["right terminus"] = "Jena Saale",
				},
				["16"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 16]]",
					["left terminus"] = "Erfurt",
					["right terminus"] = "Halle (Saale)",
				},
				["21"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 21]]",
					["left terminus"] = "Goslar",
					["right terminus"] = "Magdeburg",
				},
				["24"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 24]]",
					["left terminus"] = "Halberstadt",
					["right terminus"] = "Halle (Saale)",
				},
				["31"] = {
					["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 31]]",
					["left terminus"] = "Blankenburg (Harz)",
					["right terminus"] = "Magdeburg",
				},
			},
		},
	},
}

return p