local ch = "%1站 (瑞士)"
local p = {
["system title"] = "[[瑞士聯邦鐵路]]",
["system icon"] = "[[File:SBB logo simplified.svg|20px|link=Swiss Federal Railways]]",
["system color"] = "ff0000",
["station format"] = {
"%1站",
["Altdorf"] = ch,
["Biel/Bienne Bözingenfeld/Champ"] = "[[Biel/Bienne Bözingenfeld/Champ railway station|Biel/Bienne Bözingenfeld/​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 services
["IC 1"] = {
["title"] = "[[城际列车 (瑞士)|IC 1]]",
["color"] = "e43d2e",
["left terminus"] = "Geneva Airport",
["right terminus"] = "St. Gallen",
["icon"] = "[[File:IC 1 logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 2"] = {
["title"] = "[[城际列车 (瑞士)|IC 2]]",
["color"] = "8781bd",
["left terminus"] = "Zürich Hauptbahnhof",
["right terminus"] = "Lugano",
["icon"] = "[[File:IC 2 logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 3"] = {
["title"] = "[[城际列车 (瑞士)|IC 3]]",
["color"] = "00984a",
["left terminus"] = "Basel SBB",
["right terminus"] = "Chur",
["icon"] = "[[File:IC 3 logo.svg|40px|link=城际列车 (瑞士)]]",
},
-- At least for 2023 the IC 4 lost its number
["IC 4"] = {
["title"] = "[[城际列车 (瑞士)|IC]]",
["color"] = "c9a527",
["left terminus"] = "Zürich Hauptbahnhof",
["right terminus"] = "Stuttgart Hauptbahnhof",
["icon"] = "[[File:IC generic logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 5"] = {
["title"] = "[[城际列车 (瑞士)|IC 5]]",
["color"] = "f7941d",
["left terminus"] = {"Geneva Airport", "Lausanne"},
["right terminus"] = "Rorschach",
["icon"] = "[[File:IC 5 logo.svg|40px|link=城际列车 (瑞士)]]",
["types"] = {
["Geneva Airport"] = {
["title"] = "",
["left terminus"] = "Geneva Airport",
["right terminus"] = "Rorschach",
},
["Lausanne"] = {
["title"] = "",
["left terminus"] = "Lausanne",
["right terminus"] = "Zürich Hauptbahnhof",
},
}
},
["IC 6"] = {
["title"] = "[[城际列车 (瑞士)|IC 6]]",
["color"] = "8dc63f",
["left terminus"] = "Basel SBB",
["right terminus"] = "Brig",
["icon"] = "[[File:IC 6 logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 8"] = {
["title"] = "[[城际列车 (瑞士)|IC 8]]",
["color"] = "009bdf",
["left terminus"] = "Brig",
["right terminus"] = "Romanshorn",
["icon"] = "[[File:IC 8 logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 21"] = {
["title"] = "[[城际列车 (瑞士)|IC 21]]",
["color"] = "ffc80b",
["text color"] = "000000",
["left terminus"] = "Basel SBB",
["right terminus"] = "Lugano",
["icon"] = "[[File:IC 21 logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 51"] = {
["title"] = "[[城际列车 (瑞士)|IC 51]]",
["color"] = "b01116",
["left terminus"] = "Biel/Bienne",
["right terminus"] = "Basel SBB",
["icon"] = "[[File:IC 51 logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 61"] = {
["title"] = "[[城际列车 (瑞士)|IC 61]]",
["color"] = "ef59a1",
["left terminus"] = "Basel SBB",
["right terminus"] = "Interlaken Ost",
["icon"] = "[[File:IC 61 logo.svg|40px|link=城际列车 (瑞士)]]",
},
["IC 81"] = {
["title"] = "[[城际列车 (瑞士)|IC 81]]",
["color"] = "6aa2bb",
["left terminus"] = "Interlaken Ost",
["right terminus"] = "Romanshorn",
["icon"] = "[[File:IC 81 logo.svg|40px|link=城际列车 (瑞士)]]",
},
-- InterRegio
["IR 13"] = {
["title"] = "[[区际列车|IR 13]]",
["color"] = "f391bc",
["text color"] = "000000",
["left terminus"] = "Zürich Hauptbahnhof",
["right terminus"] = "Chur",
["icon"] = "[[File:IR 13 logo.svg|40px|link=区际列车]]",
},
["IR 15"] = {
["title"] = "[[区际列车|IR 15]]",
["color"] = "11b895",
["left terminus"] = "Geneva Airport",
["right terminus"] = "Lucerne",
["icon"] = "[[File:IR 15 logo.svg|40px|link=区际列车]]",
},
["IR 16"] = {
["title"] = "[[区际列车|IR 16]]",
["color"] = "a07032",
["left terminus"] = "Bern",
["right terminus"] = "Zürich Hauptbahnhof",
["icon"] = "[[File:IR 16 logo.svg|40px|link=区际列车]]",
},
["IR 26"] = {
["title"] = "[[区际列车|IR 26]]",
["color"] = "af8889",
["left terminus"] = "Basel SBB",
["right terminus"] = "Airolo",
["icon"] = "[[File:IR 26 logo.svg|40px|link=区际列车]]",
},
["IR 27"] = {
["title"] = "[[区际列车|IR 27]]",
["color"] = "5b6e25",
["left terminus"] = "Basel SBB",
["right terminus"] = "Lucerne",
["icon"] = "[[File:IR 27 logo.svg|40px|link=区际列车]]",
},
["IR 36"] = {
["title"] = "[[区际列车|IR 36]]",
["color"] = "ad227a",
["left terminus"] = "Basel SBB",
["right terminus"] = "Zürich Airport",
["icon"] = "[[File:IR 36 logo.svg|40px|link=区际列车]]",
},
["IR 37"] = {
["title"] = "[[区际列车|IR 37]]",
["color"] = "b8da89",
["text color"] = "000000",
["left terminus"] = "Basel SBB",
["right terminus"] = "Zürich Hauptbahnhof",
["icon"] = "[[File:IR 37 logo.svg|40px|link=区际列车]]",
},
["IR 70"] = {
["title"] = "[[区际列车|IR 70]]",
["color"] = "f391bc",
["text color"] = "000000",
["left terminus"] = "Lucerne",
["right terminus"] = "Zürich Hauptbahnhof",
["icon"] = "[[File:IR 70 logo.svg|40px|link=区际列车]]",
},
["IR 75"] = {
["title"] = "[[区际列车|IR 75]]",
["color"] = "754c98",
["left terminus"] = "Lucerne",
["right terminus"] = "Konstanz",
["icon"] = "[[File:IR 75 logo.svg|40px|link=区际列车]]",
},
["IR 90"] = {
["title"] = "[[区际列车|IR 90]]",
["color"] = "007ca3",
["left terminus"] = "Geneva Airport",
["right terminus"] = "Brig",
["icon"] = "[[File:IR 90 logo.svg|40px|link=区际列车]]",
},
["Brig–Domodossola"] = {
["title"] = "[[区际列车]]",
["left terminus"] = "Brig",
["right terminus"] = "Domodossola",
["icon"] = "[[File:SBB IR Logo.svg|20px|link=区际列车]]",
},
-- RegioExpress
["RegioExpress"] = {
["title"] = "[[区际特快]]",
["icon"] = "[[File:SBB RE Logo.svg|20px|link=区际特快]]",
["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", "Geneva Airport"},
["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"] = "[[File:SBB R Logo.svg|20px|link=区域列车 (区域)]]",
["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"] = "[[Oensingen–Balsthal railway line|S22]]",
["color"] = "3b6199",
["text color"] = "FFFFFF",
["left terminus"] = "Oensingen",
["right terminus"] = "Balsthal",
},
-- Seasonal service
["Verbier Express"] = {
["title"] = "韦尔比耶特快",
["left terminus"] = "Annemasse",
["right terminus"] = "Le Châble",
},
},
}
return p