Module:Adjacent stations/Basel S-Bahn

local ch = "%1 railway station (Switzerland)"
local de = "%1 station (Germany)"
local hbf = "[[%1 Hauptbahnhof|%1 Hbf]]"
local stn = "%1 station"

local p = {
	["system title"] = "[[Basel trinational S-Bahn]]",
	["system icon"] = "[[File:Logo trireno black.svg|20px|link=Basel trinational S-Bahn]]",
	["station format"] = {
		"%1 railway station",
		["Basel Bad Bf"] = "Basel Badischer Bahnhof",
		["Basel Badischer"] = "[[Basel Badischer Bahnhof|Basel Bad Bf]]",
		["Freiburg"] = hbf,
		["Lörrach-Stetten"] = stn,
		["Lörrach Museum/Burghof"] = stn,
		["Lörrach Schwarzwaldstraße"] = stn,
		["Lörrach-Haagen/Messe"] = stn,
		["Lörrach-Brombach/Hauingen"] = stn,
		["Maulburg"] = stn,
		["Schopfheim West"] = stn,
		["Schopfheim"] = stn,
		["Schopfheim-Schlattholz"] = stn,
		["Fahrnau"] = stn,
		["Hausen-Raitbach"] = stn,
		["Laufenburg"] = {
			["RB"] = "Laufenburg (Baden) station",
			["1"] = ch,
		},
		["Lörrach Hbf"] = "Lörrach Hauptbahnhof",
		["Rheinfelden"] = ch,
		["Steinen"] = de,
		["Weil am Rhein"] = "%1 station",
		["Zell (Wiesental)"] = "%1 station",
	},
	["lines"] = {
		["1"] = {
			["title"] = "[[Basel trinational S-Bahn|S1]]",
			["short name"] = "S1",
			["color"] = "7CC178",
			["text color"] = "FFFFFF",
			["left terminus"] = "Basel SBB",
			["right terminus"] = {"Laufenburg", "Frick"},
		},
		["3"] = {
			["title"] = "[[Basel trinational S-Bahn|S3]]",
			["short name"] = "S3",
			["color"] = "6A94BF",
			["text color"] = "FFFFFF",
			["left terminus"] = "Porrentruy",
			["right terminus"] = "Olten",
		},
		["5"] = {
			["title"] = "[[Basel trinational S-Bahn|S5]]",
			["short name"] = "S5",
			["color"] = "7CC5DC",
			["text color"] = "FFFFFF",
			["left terminus"] = "Weil am Rhein",
			["right terminus"] = "Zell (Wiesental)",
		},
		["6"] = {
			["title"] = "[[Basel trinational S-Bahn|S6]]",
			["short name"] = "S6",
			["color"] = "C85448",
			["text color"] = "FFFFFF",
			["left terminus"] = "Basel SBB",
			["right terminus"] = "Zell (Wiesental)",
		},
		["9"] = {
			["title"] = "[[Basel trinational S-Bahn|S9]]",
			["short name"] = "S9",
			["color"] = "967CAB",
			["text color"] = "FFFFFF",
			["left terminus"] = "Sissach",
			["right terminus"] = "Olten",
		},
		["TER"] = {
			["title"] = "[[Basel trinational S-Bahn|TER]]",
			["color"] = "E987AE",
			["text color"] = "FFFFFF",
			["left terminus"] = "Mulhouse Ville",
			["right terminus"] = "Basel SBB",
		},
		["RB27"] = {
			["title"] = "[[Basel trinational S-Bahn|RB27]]",
			["color"] = "F59F4A",
			["text color"] = "FFFFFF",
			["left terminus"] = "Basel Bad Bf",
			["right terminus"] = "Freiburg (Breisgau) Hbf",
		},
		["RB30"] = {
			["title"] = "[[Basel trinational S-Bahn|RB30]]",
			["color"] = "DCCC61",
			["left terminus"] = "Basel Bad Bf",
			["right terminus"] = "Lauchringen",
		},
	},
	["aliases"] = {
		["rb"] = "RB30",
	}
}

return p