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

local p = {
	["system title"] = "",
	["system icon"] = "[[File:Südostbayernbahn logo.svg|100px|Südostbayernbahn]]",
	["station format"] = {
		"%1 station",
		["Grafing Bahnhof"] = "%1",
		["Landshut (Bayern)"] = hbf,
		["Munich"] = "[[München Hauptbahnhof|München Hbf]]",
		["München"] = hbf,
		["Passau"] = hbf,
		["Salzburg"] = hbf,
	},
	["lines"] = {
		["RB"] = {
			["title"] = "",
			["color"] = "00519E",
			["types"] = {
				["40"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 40]]",
					["left terminus"] = "München",
					["right terminus"] = "Mühldorf (Oberbay)",
				},
				["41"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 41]]",
					["left terminus"] = "Mühldorf (Oberbay)",
					["right terminus"] = "Simbach (Inn)",
				},
				["42"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 42]]",
					["left terminus"] = "Mühldorf (Oberbay)",
					["right terminus"] = "Burghausen (Oberbay)",
				},
				["44"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 44]]",
					["left terminus"] = "Landshut (Bayern)",
					["right terminus"] = "Rosenheim",
				},
				["45"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 45]]",
					["left terminus"] = "Landshut (Bayern)",
					["right terminus"] = "Salzburg",
				},
				["46"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 46]]",
					["left terminus"] = "Mühldorf (Oberbay)",
					["right terminus"] = "Passau",
				},
				["47"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 47]]",
					["left terminus"] = "Mühldorf (Oberbay)",
					["right terminus"] = "Traunstein",
				},
				["49"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 49]]",
					["left terminus"] = "Traunreut",
					["right terminus"] = "Traunstein",
				},
				["48"] = {
					["title"] = "[[Filzenexpress|RB 48]]",
					["left terminus"] = "München",
					["right terminus"] = "Wasserburg (Inn)",
				},
				["52"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 52]]",
					["left terminus"] = "Prien am Chiemsee",
					["right terminus"] = "Aschau (Chiemgau)",
				},
				["53"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 53]]",
					["left terminus"] = "Ruhpolding",
					["right terminus"] = "Traunstein",
				},
				["59"] = {
					["title"] = "[[List of railway routes in Bavaria|RB 59]]",
					["left terminus"] = "Traunstein",
					["right terminus"] = "Waging",
				},
			},
		},
		["RE"] = {
			["title"] = "",
			["color"] = "FF0000",
			["types"] = {
				["4"] = {
					["title"] = "[[List of railway routes in Bavaria|RE 4]]",
					["note-mid"] = "Limited service",
					["left terminus"] = "München",
					["right terminus"] = "Simbach (Inn)",
				},
			},
		},
	},
}

return p