Module:Adjacent stations/St. Gallen S-Bahn

local ch = "%1 railway station (Switzerland)"

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

-- SN (Night services) ["SN14"] = { ["title"] = "SN14", ["note-mid"] = "Limited service", ["text color"] = "ffed00", ["color"] = "000000", ["left terminus"] = "Weinfelden", ["right terminus"] = "Konstanz", },		["SN15"] = { ["title"] = "SN15", ["note-mid"] = "Limited service", ["text color"] = "ffed00", ["color"] = "000000", ["left terminus"] = "Frauenfeld", ["right terminus"] = "Wil", },		["SN22"] = { ["title"] = "SN22", ["note-mid"] = "Limited service", ["text color"] = "ffed00", ["color"] = "000000", ["left terminus"] = "Winterthur", ["right terminus"] = "St. Margrethen", },		["SN30"] = { ["title"] = "SN30", ["note-mid"] = "Limited service", ["text color"] = "ffed00", ["color"] = "000000", ["left terminus"] = "Winterthur", ["right terminus"] = "Romanshorn", },		["SN71"] = { ["title"] = "SN71", ["note-mid"] = "Limited service", ["text color"] = "ffed00", ["color"] = "000000", ["left terminus"] = "Kreuzlingen", ["right terminus"] = "Romanshorn", },		["SN72"] = { ["title"] = "SN72", ["note-mid"] = "Limited service", ["text color"] = "ffed00", ["color"] = "000000", ["left terminus"] = "St. Gallen", ["right terminus"] = "Romanshorn", },	}, }

return p