Module:Adjacent stations/Munich S-Bahn

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

local p = {
	["system title"] = "[[Munich S-Bahn]]",
	["system icon"] = "[[File:S-Bahn-Logo.svg|15px|link=Munich S-Bahn]]",
	["station format"] = {
		"%1 station",
		["Dachau Bahnhof"] = "%1",
		["Grafing Bahnhof"] = "%1",
		["Karlsplatz"] = "Munich Karlsplatz station",
		["Munich"] = "[[München Hauptbahnhof|München Hbf]]",
		["München"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 (Munich)|%1]]",
			["text color"] = "FFFFFF",
			["icon"] = "[[File:München %1.svg|x16px|link=%1 (Munich)]]",
		},
		["S1"] = {
			["color"] = "2ac1e9",
			["left terminus"] = {"Freising", "Munich Airport Terminal"},
			["right terminus"] = "Munich Leuchtenbergring",
		},
		["S2"] = {
			["color"] = "41ea34",
			["left terminus"] = {"Petershausen", "Altomünster"},
			["right terminus"] = "Erding",
		},
		["S3"] = {
			["color"] = "580e8a",
			["left terminus"] = "Mammendorf",
			["right terminus"] = "Holzkirchen",
		},
		["S4"] = {
			["color"] = "e9000b",
			["left terminus"] = "Geltendorf",
			["right terminus"] = "Ebersberg",
		},
		["S6"] = {
			["color"] = "007106",
			["left terminus"] = "Tutzing",
			["right terminus"] = "Ebersberg",
		},
		["S7"] = {
			["color"] = "481800",
			["left terminus"] = "Wolfratshausen",
			["right terminus"] = "Kreuzstraße",
		},
		["S8"] = {
			["color"] = "d2a800",
			["left terminus"] = "Herrsching",
			["right terminus"] = "Munich Airport Terminal",
		},
		["S20"] = {
			["color"] = "ff2d99",
			["left terminus"] = "Geltendorf",
			["right terminus"] = "Höllriegelskreuth",
		},
		["aliases"] = {
			["1"] = "S1",
			["2"] = "S2",
			["3"] = "S3",
			["4"] = "S4",
			["6"] = "S6",
			["7"] = "S7",
			["8"] = "S8",
			["20"] = "S20",
		},
	},
}

return p