Jump to content

Module:Adjacent stations/SWEG Bahn Stuttgart

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lenn2105 (talk | contribs) at 19:41, 11 February 2023 (Added the lines from Hohenzollerische Landesbahn). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

local p = {
	["system title"] = "[[SWEG Bahn Stuttgart]]",
	["system icon"] = "[[File:SWEG Logo.svg|30px]]",
	["station format"] = {
		"%1 station",
		["Heidelberg"] = hbf,
		["Karlsruhe"] = hbf,
		["Mannheim"] = hbf,
		["Pforzheim "] = hbf,
		["Reutlingen"] = hbf,
		["Stuttgart"] = hbf,
		["Tübingen"] = hbf,
		["Ulm"] = hbf,
		["Aalen"] = hbf,
	},
	["lines"] = {
		["RE 10a"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 10a]]",
			["color"] = "a05a2cff",
			["left terminus"] = "Mannheim",
			["right terminus"] = "Tübingen",
		},
		["RE 10b"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 10b]]",
			["color"] = "a05a2cff",
			["left terminus"] = "Mannheim",
			["right terminus"] = "Tübingen",
		},
		["RE 12"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 12]]",
			["color"] = "ed6e19",
			["left terminus"] = "Tübingen",
			["right terminus"] = "Mosbach-Neckarelz",
		},
		["RE 17b"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RE 17b]]",
			["color"] = "b6931d",
			["left terminus"] = "Heidelberg",
			["right terminus"] = "Stuttgart",
		},
		["RB 17a"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 17a]]",
			["color"] = "571d70",
			["left terminus"] = {"Karlsruhe", "Bad Wildbad"},
			["right terminus"] = "Stuttgart",
		},
		["RB 17c"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 17c]]",
			["color"] = "d30630",
			["left terminus"] = "Bruchsal",
			["right terminus"] = "Stuttgart",
		},
		["RB 18"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg#Regional services|RB 18]]",
			["color"] = "008c3c",
			["left terminus"] = "Tübingen",
			["right terminus"] = "Osterburken",
		},
		["_default"] = {
			["text color"] = "FFFFFF",	
		},
		["RB 42"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg|RB 42]]",
			["color"] = "008c3c",
			["left terminus"] = "Rottweil",
			["right terminus"] = "Bräunlingen",
		},	
		["RB 43"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg|RB 43]]",
			["color"] = "009fe3",
			["left terminus"] = "Blumberg-Zollhaus",
			["right terminus"] = "Rottweil",
		},
		["RB 43a"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg|RB 43a]]",
			["color"] = "b6931d",
			["left terminus"] = "Immendingen",
			["right terminus"] = "Sigmaringen",
		},
		["RB 66"] = {
			["title"] = "[[List of railway routes in Baden-Württemberg|RB 66]]",
			["color"] = "afca0b",
			["left terminus"] = "Tübingen",
			["right terminus"] = "Sigmaringen",
		},
		-- deprecated
		["RS"] = {
			["title"] = "",
			["color"] = "00af04",
			["types"] = {
				["3"] = {
					["title"] = "[[Danube-Iller Regional S-Bahn|RS 3]]",
					["left terminus"] = "Munderkingen",
					["right terminus"] = "Ulm Hbf",
				},
			    ["5"] = {
					["title"] = "[[Danube-Iller Regional S-Bahn|RS 5]]",
					["left terminus"] = "Ulm Hbf",
					["right terminus"] = "Aalen Hbf",					
				},
				["51"] = {
					["title"] = "[[Danube-Iller Regional S-Bahn|RS 51]]",
					["left terminus"] = "Ulm Hbf",
					["right terminus"] = "Langenau",					
				},
			},
		},
		["RE"] = {
			["title"] = "",
			["color"] = "FF0000",
			["types"] = {
			    ["57"] = {
					["title"] = "[[Regional-Express|RE 57]]",
					["left terminus"] = "Ulm Hbf",
					["right terminus"] = "Aalen Hbf",					
				},
			},
		},
	},
}

return p