local p = {
	["system title"] = "Swiss Federal Railways",
	["system icon"] = "20px|link=Swiss Federal Railways",
	["system color"] = "ff0000",
	["station format"] = {
		"%1 railway station",
		["Altdorf"] = ch,
		["Biel/Bienne Bözingenfeld/Champ"] = "Biel/Bienne Bözingenfeld/&#8203;Champ",
		["Meroux"] = "Belfort – Montbéliard TGV station",
		["Rheinfelden"] = ch,
		["Sion"] = ch,
		["Stuttgart Hauptbahnhof"] = "%1",
		["Zürich Hauptbahnhof"] = "%1",
	["name format"] = "font-size:160%; font-family:Helvetica; font-weight:bolder; font-kerning:auto; font-stretch:expanded; color:#FFFFFF; background-color:#0E3984; padding:0.5em 4px; text-align:center; align-items:center;",
	["header background color"] = "EB1A00",
	["header text color"] = "FFFFFF",
	["lines"] = {
		["_default"] = {
			["color"] = "ff0000",	
		["InterCity"] = {
			["title"] = "InterCity",
			["icon"] = "20px|link=InterCity#Switzerland",
			["types"] = {
				["1"] = {
					["title"] = "IC 1",
					["left terminus"] = "Geneva Airport",
					["right terminus"] = "St. Gallen",
				["2"] = {
					["title"] = "IC 2",
					["left terminus"] = "Zürich Hauptbahnhof",
					["right terminus"] = "Lugano",
				["3"] = {
					["title"] = "IC 3",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Chur",
				["4"] = {
					["title"] = "IC 4",
					["left terminus"] = "Zürich Hauptbahnhof",
					["right terminus"] = "Stuttgart Hauptbahnhof",
				["5"] = {
					["title"] = "IC 5",
					["left terminus"] = {"Geneva Airport", "Lausanne"},
					["right terminus"] = "Rorschach",
				["5-Geneva Airport"] = {
					["title"] = "IC 5",
					["left terminus"] = "Geneva Airport",
					["right terminus"] = "Rorschach",
				["5-Lausanne"] = {
					["title"] = "IC 5",
					["left terminus"] = "Lausanne",
					["right terminus"] = "Zürich Hauptbahnhof",
				["6"] = {
					["title"] = "IC 6",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Brig",
				["8"] = {
					["title"] = "IC 8",
					["left terminus"] = "Brig",
					["right terminus"] = "Romanshorn",
				["21"] = {
					["title"] = "IC 21",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Lugano",
				["51"] = {
					["title"] = "IC 51",
					["left terminus"] = "Biel/Bienne",
					["right terminus"] = "Basel SBB",
				["61"] = {
					["title"] = "IC 61",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Interlaken Ost",
		["InterRegio"] = {
			["title"] = "InterRegio",
			["icon"] = "20px|link=InterRegio#Switzerland",
			["types"] = {
				["13"] = {
					["title"] = "IR 13",
					["left terminus"] = "Zürich Hauptbahnhof",
					["right terminus"] = "Chur",
				["15"] = {
					["title"] = "IR 15",
					["left terminus"] = "Geneva Airport",
					["right terminus"] = "Lucerne",
				["16"] = {
					["title"] = "IR 16",
					["left terminus"] = "Bern",
					["right terminus"] = "Zürich Hauptbahnhof",
				["26"] = {
					["title"] = "IR 26",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Airolo",
				["27"] = {
					["title"] = "IR 27",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Lucerne",
				["36"] = {
					["title"] = "IR 36",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Zürich Airport",
				["37"] = {
					["title"] = "IR 37",
					["left terminus"] = "Basel SBB",
					["right terminus"] = "Zürich Hauptbahnhof",
				["46"] = {
					["title"] = "IR 46",
					["left terminus"] = "Zürich Hauptbahnhof",
					["right terminus"] = "Airolo",
				["70"] = {
					["title"] = "IR 70",
					["left terminus"] = "Lucerne",
					["right terminus"] = "Zürich Hauptbahnhof",
				["75"] = {
					["title"] = "IR 75",
					["left terminus"] = "Lucerne",
					["right terminus"] = "Konstanz",
				["90"] = {
					["title"] = "IR 90",
					["left terminus"] = "Geneva Airport",
					["right terminus"] = "Brig",
				["Brig–Domodossola"] = {
					["title"] = "",
					["left terminus"] = "Brig",
					["right terminus"] = "Domodossola",
		["RegioExpress"] = {
			["title"] = "RegioExpress",
			["icon"] = "20px|link=RegioExpress",
			["types"] = {
				["Aarau–Arth-Goldau"] = {
					["title"] = "''Südbahn-Express''",
					["left terminus"] = "Aarau",
					["right terminus"] = "Arth-Goldau",
				["Aarau-Zürich"] = {
					["title"] = "",
					["left terminus"] = "Aarau",
					["right terminus"] = "Zürich Hauptbahnhof",
				["Annemasse–St-Maurice"] = {
					["title"] = "",
					["left terminus"] = "Annemasse",
					["right terminus"] = "St-Maurice",					
				["Frasne–Neuchâtel"] = {
					["title"] = "",
					["left terminus"] = "Frasne",
					["right terminus"] = "Neuchâtel",					
				["La Chaux-de-Fonds-Biel/Bienne"] = {
					["title"] = "",
					["left terminus"] = "La Chaux-de-Fonds",
					["right terminus"] = "Biel/Bienne",					
				["Le Locle–Neuchâtel"] = {
					["title"] = "",
					["left terminus"] = "Le Locle",
					["right terminus"] = "Neuchâtel",					
				["Meroux-Biel/Bienne"] = {
					["title"] = "",
					["left terminus"] = "Meroux",
					["right terminus"] = "Biel/Bienne",
				["Olten-Lucerne"] = {
					["title"] = "",
					["left terminus"] = "Olten",
					["right terminus"] = "Lucerne",
				["Olten-Wettingen"] = {
					["title"] = "",
					["left terminus"] = "Olten",
					["right terminus"] = "Wettingen",
				["Renens–St-Maurice"] = {
					["title"] = "",
					["left terminus"] = "Renens VD",
					["right terminus"] = "St-Maurice",	
					["note-mid"] = "Limited service",
				["Zürich-Schaffhausen"] = {
					["title"] = "",
					["left terminus"] = "Zürich Hauptbahnhof",
					["right terminus"] = "Schaffhausen",
		["Regio"] = {
			["title"] = "Regio",
			["icon"] = "20px|link=Regio (Swiss railway train)",
			["types"] = {
				["Corcelles-Peseux–Neuchâtel"] = {
					["title"] = "",
					["left terminus"] = "Corcelles-Peseux",
					["right terminus"] = "Neuchâtel",					
				["La Chaux-de-Fonds/Moutier–Biel/Bienne"] = {
					["title"] = "",
					["left terminus"] = {"La Chaux-de-Fonds", "Moutier"},
					["right terminus"] = "Biel/Bienne",					
				["Le Locle–La Chaux-de-Fonds"] = {
					["title"] = "",
					["left terminus"] = "Le Locle",
					["right terminus"] = "La Chaux-de-Fonds",					
				["Neuchâtel-Biel/Bienne"] = {
					["title"] = "",
					["left terminus"] = "Neuchâtel",
					["right terminus"] = "Biel/Bienne",					
				["Sonceboz-Sombeval–Moutier"] = {
					["title"] = "",
					["left terminus"] = "Sonceboz-Sombeval",
					["right terminus"] = "Moutier",					
				["Yverdon-les-Bains–Neuchâtel"] = {
					["title"] = "",
					["left terminus"] = "Yverdon-les-Bains",
					["right terminus"] = "Neuchâtel",					
		-- S-bahn lines in Solothurn
		["S20"] = {
			["title"] = "S20",
			["color"] = "ec008c",
			["text color"] = "FFFFFF",
			["left terminus"] = {"Biel/Bienne", "Oberdorf SO"},
			["right terminus"] = "Olten",	
		["S21"] = {
			["title"] = "S21",
			["color"] = "93725f",
			["text color"] = "FFFFFF",
			["left terminus"] = "Moutier",
			["right terminus"] = "Solothurn",	
		["S22"] = {
			["title"] = "S22",
			["color"] = "3b6199",
			["text color"] = "FFFFFF",
			["left terminus"] = "Oensingen",
			["right terminus"] = "Balsthal",	
		-- Seasonal service
		["Verbier Express"] = {
			["title"] = "''Verbier Express''",
			["left terminus"] = "Annemasse",
			["right terminus"] = "Le Châble",