Module:Adjacent stations/St. Gallen S-Bahn

< Module:Adjacent stations
Revision as of 18:47, 8 July 2021 by Zoran (talk | contribs) (Moved page from wikipedia:en:Module:Adjacent stations/St. Gallen S-Bahn)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Adjacent stations doc

Lines

Template:Col-2 Line and color key: Template:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Rail template docTemplate:Col-2 Bahnlinie-style icons using {{rail color box}}: Template:Col-end
local ch = "%1 railway station (Switzerland)"

local p = {
	["system title"] = "[[St. Gallen S-Bahn]]",
	["system icon"] = "",
	["station format"] = {
		"%1 railway station",
		["Berg"] = ch,
	},
	["lines"] = {
		["1"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S1]]",
			["short name"] = "S1",
			["text color"] = "FFFFFF",
			["color"] = "3bb54a",
			["left terminus"] = "Wil",
			["right terminus"] = "St. Gallen",
		},
		["2"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S2]]",
			["short name"] = "S2",
			["text color"] = "FFFFFF",
			["color"] = "406ab3",
			["left terminus"] = "Nesslau-Neu St. Johann",
			["right terminus"] = "Altstätten SG",
		},
		["3"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S3]]",
			["short name"] = "S3",
			["text color"] = "FFFFFF",
			["color"] = "7d903f",
			["left terminus"] = "St. Gallen",
			["right terminus"] = "St. Margrethen",
		},
		["4"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S4]]",
			["short name"] = "S4",
			["text color"] = "FFFFFF",
			["color"] = "ec008c",
			["circular"] = true,
			["left terminus"] = "Next counter-clockwise",
			["right terminus"] = "Next clockwise",
		},
		["5"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S5]]",
			["short name"] = "S5",
			["text color"] = "FFFFFF",
			["color"] = "ae2956",
			["left terminus"] = "Weinfelden",
			["right terminus"] = "St. Gallen",
		},
		["6"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S6]]",
			["short name"] = "S6",
			["text color"] = "FFFFFF",
			["color"] = "66c18c",
			["left terminus"] = "Rapperswil",
			["right terminus"] = "Schwanden",
		},
		["7"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S7]]",
			["short name"] = "S7",
			["text color"] = "FFFFFF",
			["color"] = "f26532",
			["left terminus"] = "Weinfelden",
			["right terminus"] = "Rorschach",
		},
		["8"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S8]]",
			["short name"] = "S8",
			["text color"] = "FFFFFF",
			["color"] = "006536",
			["left terminus"] = "Schaffhausen",
			["right terminus"] = "St. Gallen",
		},
		["9"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S9]]",
			["short name"] = "S9",
			["text color"] = "FFFFFF",
			["color"] = "f49ac1",
			["left terminus"] = "Wattwil",
			["right terminus"] = "Wil",
		},
		["10"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S10]]",
			["short name"] = "S10",
			["text color"] = "FFFFFF",
			["color"] = "9185be",
			["left terminus"] = "Wil",
			["right terminus"] = "Romanshorn",
		},
		["12"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S12]]",
			["short name"] = "S12",
			["text color"] = "FFFFFF",
			["color"] = "6b489d",
			["left terminus"] = "Sargans",
			["right terminus"] = "Chur",
		},
		["14"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S14]]",
			["short name"] = "S14",
			["text color"] = "FFFFFF",
			["color"] = "f7941d",
			["left terminus"] = "Weinfelden",
			["right terminus"] = "Konstanz",
		},
		["15"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S15]]",
			["short name"] = "S15",
			["text color"] = "FFFFFF",
			["color"] = "7d4d30",
			["left terminus"] = "Frauenfeld",
			["right terminus"] = "Wil",
		},
		["20"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S20]]",
			["short name"] = "S20",
			["text color"] = "FFFFFF",
			["color"] = "b45330",
			["left terminus"] = "Appenzell",
			["right terminus"] = "Trogen",
		},
		["21"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S21]]",
			["short name"] = "S21",
			["text color"] = "FFFFFF",
			["color"] = "099690",
			["left terminus"] = "Appenzell",
			["right terminus"] = "Trogen",
		},
		["22"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S22]]",
			["short name"] = "S22",
			["text color"] = "FFFFFF",
			["color"] = "b41d8d",
			["left terminus"] = "Teufen AR",
			["right terminus"] = "Trogen",
		},
		["23"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S23]]",
			["short name"] = "S23",
			["text color"] = "FFFFFF",
			["color"] = "c5912f",
			["left terminus"] = "Gossau SG",
			["right terminus"] = "Wasserauen",
		},
		["24"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S24]]",
			["short name"] = "S24",
			["text color"] = "FFFFFF",
			["color"] = "8dc63f",
			["left terminus"] = "Gais",
			["right terminus"] = "Altstätten Stadt",
		},
		["25"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S25]]",
			["short name"] = "S25",
			["text color"] = "FFFFFF",
			["color"] = "65a4d9",
			["left terminus"] = "Rorschach Hafen",
			["right terminus"] = "Heiden",
		},
		["26"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S26]]",
			["short name"] = "S26",
			["text color"] = "FFFFFF",
			["color"] = "b45b58",
			["left terminus"] = "Rheineck",
			["right terminus"] = "Walzenhausen",
		},
		["81"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S81]]",
			["short name"] = "S81",
			["text color"] = "FFFFFF",
			["color"] = "54c5d0",
			["left terminus"] = "Herisau",
			["right terminus"] = "St. Gallen",
		},
		["82"] = {
			["title"] = "[[St. Gallen S-Bahn#Lines|S82]]",
			["short name"] = "S82",
			["text color"] = "FFFFFF",
			["color"] = "00baf2",
			["left terminus"] = "St. Gallen",
			["right terminus"] = "Wittenbach",
		},
	},
}

return p