Module:Adjacent stations/SWEG Bahn Stuttgart

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

local p = {
	["system title"] = "",
	["system icon"] = "[[File:SWEG Logo.svg|30px|link=SWEG Südwestdeutsche Landesverkehrs-AG]]",
	["system icon format"] = "croute",
	["station format"] = {
		"%1 station",
		["Bad Friedrichshall"] = hbf,
		["Heidelberg"] = hbf,
		["Karlsruhe"] = hbf,
		["Mannheim"] = hbf,
		["Pforzheim"] = hbf,
		["Reutlingen"] = hbf,
		["Sinsheim (Elsenz)"] = hbf,
		["Stuttgart"] = hbf,
		["Tübingen"] = hbf,
		["Ulm"] = hbf,
		["Aalen"] = hbf,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[SWEG Südwestdeutsche Landesverkehrs-AG|%1]]",
			["text color"] = "FFFFFF",
		},
		["IRE 6"] = {
			["color"] = "f3c300",
			["text color"] = "000000",
			["left terminus"] = "Stuttgart",
			["right terminus"] = "Tübingen",
		},
		["IRE 6b"] = {
			["color"] = "f3c300",
			["left terminus"] = "Stuttgart",
			["right terminus"] = {"Rottenburg", "Horb"},
		},
		["RE 10a"] = {
			["color"] = "a05a2cff",
			["left terminus"] = "Mannheim",
			["right terminus"] = "Heilbronn",
		},
		["RE 10b"] = {
			["color"] = "a05a2cff",
			["left terminus"] = "Mannheim",
			["right terminus"] = "Heilbronn",
		},
		["MEX 12"] = {
			["color"] = "ed6e19",
			["left terminus"] = "Tübingen",
			["right terminus"] = "Mosbach-Neckarelz",
		},
		["RE 17b"] = {
			["color"] = "b6931d",
			["left terminus"] = "Heidelberg",
			["right terminus"] = "Stuttgart",
		},
		["MEX 17a"] = {
			["color"] = "571d70",
			["left terminus"] = {"Karlsruhe", "Bad Wildbad"},
			["right terminus"] = "Stuttgart",
		},
		["MEX 17c"] = {
			["color"] = "d30630",
			["left terminus"] = "Bruchsal",
			["right terminus"] = "Stuttgart",
		},
		["MEX 18"] = {
			["color"] = "008c3c",
			["left terminus"] = "Tübingen",
			["right terminus"] = "Osterburken",
		},
		["RB 42"] = {
			["color"] = "008c3c",
			["left terminus"] = "Rottweil",
			["right terminus"] = "Bräunlingen",
		},	
		["RB 43"] = {
			["color"] = "009fe3",
			["left terminus"] = "Blumberg-Zollhaus",
			["right terminus"] = "Rottweil",
		},
		["RB 43a"] = {
			["color"] = "b6931d",
			["left terminus"] = "Immendingen",
			["right terminus"] = "Sigmaringen",
		},
		["RB 56"] = {
			["title"] = "[[SWEG Südwestdeutsche Landesverkehrs-AG|RB 56]]",
			["color"] = "00af04",
			["left terminus"] = "Munderkingen",
			["right terminus"] = "Ulm",
		},
		["RB 57"] = {
			["title"] = "[[SWEG Südwestdeutsche Landesverkehrs-AG|RB 57]]",
			["color"] = "00af04",
			["left terminus"] = "Ulm",
			["right terminus"] = "Aalen",
		},
		["RB 59a"] = {
			["color"] = "724018",
			["left terminus"] = "Sigmaringen",
			["right terminus"] = "Engstingen",
		},
		["RB 66"] = {
			["color"] = "afca0b",
			["left terminus"] = "Tübingen",
			["right terminus"] = "Sigmaringen",
		},
		["RB 68"] = {
			["color"] = "d30730",
			["left terminus"] = "Hechingen",
			["right terminus"] = "Sigmaringen",
		},
	    ["RE 57"] = {
			["title"] = "[[SWEG Südwestdeutsche Landesverkehrs-AG|RE 57]]",
			["color"] = "999999",
			["left terminus"] = "Ulm",
			["right terminus"] = "Aalen",					
		},
		["RS 3"] = {
			["title"] = "[[Danube-Iller Regional S-Bahn|RS 3]]",
			["color"] = "800080",
			["left terminus"] = "Munderkingen",
			["right terminus"] = "Ulm",
		},
	    ["RS 5"] = {
	    	["title"] = "[[Danube-Iller Regional S-Bahn|RS 5]]",
	   		["color"] = "008000",
			["left terminus"] = "Ulm",
			["right terminus"] = "Aalen",					
		},
		["RS 51"] = {
			["title"] = "[[Danube-Iller Regional S-Bahn|RS 51]]",
	   		["color"] = "00FF00",
	   		["left terminus"] = "Ulm",
			["right terminus"] = "Langenau",					
		},
	},
	["aliases"] = {
		["rb 17a"] = "MEX 17a",
		["rb 17c"] = "MEX 17c",
	}
}

return p