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

local p = {
	["system title"] = "[[DB Regio Südost]]",
	["system icon"] = "[[File:Deutsche_Bahn_AG-Logo.svg|15px]]",
	["station format"] = {
		"%1 station",
		["Braunschweig"] = hbf,
		["Dessau"] = hbf,
		["Dresden"] = hbf,
		["Erfurt"] = hbf,
		["Gera"] = hbf,
		["Halle (Saale)"] = hbf,
		["Leipzig"] = hbf,
		["Magdeburg"] = hbf,
		["Stendal"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["text color"] = "FFFFFF",	
		},
		["RB 32"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 32]]",
			["color"] = "95c11f",
			["left terminus"] = "Salzwedel",
			["right terminus"] = "Stendal",
		},
		["RB 33"] = {
			["title"] = "[[List of railway routes in Saxony#Regional services|RB 33]]",
			["color"] = "ee7b96",
			["left terminus"] = "Dresden-Neustadt",
			["right terminus"] = "Königsbrück",
		},
		["RB 40"] = {
			["title"] = "[[List of railway routes in Lower Saxony#DB Regio|RB 40]]",
			["color"] = "765630",
			["left terminus"] = "Braunschweig",
			["right terminus"] = "Burg (bei Magdeburg)",	
		},
		["RB 51"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RB 51]]",
			["color"] = "e71a80",
			["left terminus"] = "Dessau",
			["right terminus"] = "Falkenberg (Elster)",
		},
		["RB 52"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RB 52]]",
			["color"] = "00519E",
			["left terminus"] = "Erfurt",
			["right terminus"] = "Leinefelde",
		},
		["RB 71"] = {
			["title"] = "[[List of railway routes in Saxony#Regional services|RB 71]]",
			["color"] = "ac1d7c",
			["left terminus"] = "Pirna",
			["right terminus"] = "Sebnitz",
		},
		["RB 72"] = {
			["title"] = "[[List of railway routes in Saxony#Regional services|RB 72]]",
			["color"] = "993720",
			["left terminus"] = "Heidenau",
			["right terminus"] = "Kurort Altenberg (Erzgebirge)",
		},
		["RB 113"] = {
			["title"] = "[[List of railway routes in Saxony#Regional services|RB 113]]",
			["color"] = "008fd5",
			["left terminus"] = "Leipzig",
			["right terminus"] = "Geithain",
		},
		["RE 1"] = {
			["title"] = "[[List of railway routes in Thuringia|RE 1]]",
			["color"] = "ee3742",
			["left terminus"] = "Göttingen",
			["right terminus"] = "Glauchau (Sachs)",
		},
		["RE 2"] = {
			["title"] = "[[List of railway routes in Thuringia|RE 2]]",
			["color"] = "E2001A",
			["left terminus"] = "Kassel-Wilhelmshöhe",
			["right terminus"] = "Erfurt",
		},
		["RE 3"] = {
			["title"] = "[[List of railway routes in Thuringia|RE 3]]",
			["color"] = "f26736",
			["left terminus"] = "Erfurt",
			["right terminus"] = {"Altenburg", "Greiz"},
		},
		["RE 13"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 13]]",
			["color"] = "054481",
			["left terminus"] = "Magdeburg",
			["right terminus"] = "Leipzig",
		},
		["RE 14"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 14]]",
			["color"] = "b17f4a",
			["left terminus"] = "Magdeburg",
			["right terminus"] = "Falkenberg (Elster)",
		},
		["RE 18"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RE 18]]",
			["color"] = "E2001A",
			["left terminus"] = "Halle (Saale)",
			["right terminus"] = "Jena-Göschwitz",
		},
		["RE 19"] = {
			["title"] = "[[List of railway routes in Saxony#DB Regio|RE 19]]",
			["color"] = "11926b",
			["left terminus"] = "Dresden",
			["right terminus"] = "Kurort Altenberg (Erzgebirge)",
		},
		["RE 20-SA"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 20]]",
			["short name"] = "RE 20",
			["color"] = "089b87",
			["left terminus"] = "Uelzen",
			["right terminus"] = "Magdeburg",
		},
		["RE 20-SN"] = {
			["title"] = "[[List of railway routes in Saxony#DB Regio|RE 20]]",
			["short name"] = "RE 20",
			["color"] = "58585a",
			["left terminus"] = "Dresden",
			["right terminus"] = "Litoměřice město",
		},
		["RE 30"] = {
			["title"] = "[[List of railway routes in Saxony-Anhalt#Regional services|RE 30]]",
			["color"] = "0077ba",
			["left terminus"] = "Magdeburg",
			["right terminus"] = "Halle (Saale)",
		},
		["RE 50"] = {
			["title"] = "[[List of railway routes in Saxony#Regional services|RE 50]]",
			["color"] = "b71d21",
			["left terminus"] = "Leipzig",
			["right terminus"] = "Dresden",
		},
		["RE 55"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RE 55]]",
			["color"] = "4f61ad",
			["left terminus"] = "Erfurt",
			["right terminus"] = "Nordhausen",
		},
		["RE 56"] = {
			["title"] = "[[List of railway routes in Thuringia#Regional services|RE 56]]",
			["color"] = "4f61ad",
			["left terminus"] = "Erfurt",
			["right terminus"] = "Nordhausen",
		},
		["U 28"] = {
			["title"] = "[[List of railway routes in Saxony#Regional services|U 28]]",
			["color"] = "f47920",
			["left terminus"] = "Rumburk",
			["right terminus"] = "Děčín main",
			["types"] = {
				["North"] = {
					["title"] = "",
					["left terminus"] = "Děčín main",
					["right terminus"] = "Rumburk",					
				},
			},
		},
	},
}

return p