Module:Adjacent stations/Stuttgart S-Bahn

local ss = "Stuttgart %1 station"
local sdashs = "Stuttgart-%1 station"

local p = {
	["system title"] = "[[Stuttgart S-Bahn]]",
	["system icon"] = "[[File:S-Bahn-Logo.svg|16px|alt=]]",
	["line icon format"] = "croute",
	["system icon"] = "",
	["station format"] = {
		"%1 station",
		["Bad Cannstatt"] = sdashs,
		["Feuerbach"] = sdashs,
		["Feuersee"] = ss,
		["Flughafen"] = "Stuttgart Flughafen/Messe station",
		["Flughafen/Messe"] = ss,
		["Goldberg"] = "Goldberg (Württ) station",
		["Hauptbahnhof"] = "Stuttgart Hauptbahnhof",
		["Neckarpark"] = ss,
		["Nürnberger Straße"] = ss,
		["Obertürkheim"] = sdashs,
		["Österfeld"] = ss,
		["Rohr"] = sdashs,
		["Schwabstraße"] = ss,
		["Stadtmitte"] = ss,
		["Stuttgart"] = "[[Stuttgart Hauptbahnhof|Stuttgart Hbf]]",
		["Esslingen"] = "Esslingen (Neckar) station",
		["Neuwirtshaus (Porscheplatz)"] = "Stuttgart Neuwirtshaus station",
		["Nord"] = ss,
		["Tamm"] = "Tamm (Württ) station",
		["University"] = ss,
		["Untertürkheim"] = sdashs,
		["Vaihingen"] = sdashs,
		["Weilimdorf"] = sdashs,
		["Zuffenhausen"] = sdashs
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[Stuttgart_S-Bahn#Lines|%1]]",
		},
		["S 1"] = {
			["color"] = "5c8e3c",
			["text color"] = "ffffff",
			["left terminus"] = "Herrenberg",
			["right terminus"] = "Kirchheim (Teck)",
		},
		["S 2"] = {
			["color"] = "dc022c",
			["left terminus"] = "Filderstadt",
			["right terminus"] = "Schorndorf",
		},
		["S 3"] = {
			["color"] = "f4aa04",
			["text color"] = "ffffff",
			["left terminus"] = "Flughafen/Messe",
			["right terminus"] = "Backnang",
		},
		["S 4"] = {
			["color"] = "0c66b4",
			["left terminus"] = "Schwabstraße",
			["right terminus"] = "Backnang",
		},
		["S 5"] = {
			["color"] = "04aae4",
			["text color"] = "ffffff",
			["left terminus"] = "Schwabstraße",
			["right terminus"] = "Bietigheim-Bissingen",
		},
		["S 6"] = {
			["color"] = "8c6204",
			["left terminus"] = "Schwabstraße",
			["right terminus"] = "Weil der Stadt",
		},
		["S 11"] = {
			["color"] = "5c8e3c",
			["text color"] = "ffffff",
			["left terminus"] = "",
			["right terminus"] = "",
		},
		["S 60"] = {
			["color"] = "748e20",
			["text color"] = "ffffff",
			["left terminus"] = "Schwabstraße",
			["right terminus"] = "Böblingen",
		},
		["S 62"] = {
			["color"] = "748e20",
			["text color"] = "ffffff",
			["left terminus"] = "Feuerbach",
			["right terminus"] = "Weil der Stadt",
		},
		["RB 11"] = {
			["color"] = "00519E",
			["title"] = "[[Stuttgart-Untertürkheim–Kornwestheim railway|RB 11]]",
			["text color"] = "ffffff",
			["left terminus"] = "Kornwestheim",
			["right terminus"] = "Stuttgart-Untertürkheim",
		},
		["RB 64"] = {
			["color"] = "00519E",
			["title"] = "[[Teck Railway|RB 64]]",
			["text color"] = "ffffff",
			["left terminus"] = "Kirchheim (Teck)",
			["right terminus"] = "Oberlenningen",
		},
	},
	["aliases"] = {
		["1"] = "S 1",
		["2"] = "S 2",
		["3"] = "S 3",
		["4"] = "S 4",
		["5"] = "S 5",
		["6"] = "S 6",
		["11"] = "S 11",
		["60"] = "S 60",
		["62"] = "S 62",
		["s1"] = "S 1",
		["s2"] = "S 2",
		["s3"] = "S 3",
		["s4"] = "S 4",
		["s5"] = "S 5",
		["s6"] = "S 6",
		["s11"] = "S 11",
		["s60"] = "S 60",
		["s62"] = "S 62",
	}
}

return p