Module:Adjacent stations/BLS: Difference between revisions

Content deleted Content added
++
m added default text colour
 
(35 intermediate revisions by 3 users not shown)
Line 1:
local p = {
["system title"] = "[[BLS AG|BLS]]",
["system icon"] = "[[File:BLS AG logo.svg|20px|link=BLS AG]]",
["station format"] = {
"%1 railway station",
Line 9:
["header text color"] = "0028a0",
["lines"] = {
["RegioExpress_default"] = {
["titlecolor"] = "[[RegioExpress]]093c84",
["text color"] = "003d7eFFFFFF",
["icon"] = "[[File:BLS AG logo.svg|20px|link=BLS AG]]",
},
-- IR (InterRegio)
["Bern-LucerneIR 17"] = {
["title"] = "Bern[[InterRegio|IR to Lucerne17]]",
["color"] = "25539c",
["left terminus"] = "ZweisimmenBern",
["right terminus"] = "Interlaken OstOlten",
["icon"] = "[[File:IR 17 logo.svg|40px|link=InterRegio]]",
},
["IR 65"] = {
["title"] = "[[InterRegio|IR 65]]",
["color"] = "007dbe",
["rightleft terminus"] = "Hasle-RüegsauBiel/Bienne",
["right terminus"] = "Bern",
["icon"] = "[[File:IR 65 logo.svg|40px|link=InterRegio]]",
},
["IR 66"] = {
["title"] = "[[InterRegio|IR 66]]",
["color"] = "1eb2b3",
["left terminus"] = "La Chaux-de-Fonds",
["right terminus"] = "Bern",
["icon"] = "[[File:IR 66 logo.svg|40px|link=InterRegio]]",
},
-- RE (RegioExpress)
["RE1"] = {
["title"] = "Spiez to Interlaken[[RegioExpress|RE1]]",
["left terminus"] = "Bern",
["right terminus"] = {"Brig", "Domodossola", "Zweisimmen"},
["types"] = {
["Bern-DomodossolaLötschberg"] = {
["title"] = "''Lötschberger''",
["leftright terminus"] = {"BernBrig", "Domodossola"},
},
["Spiez-InterlakenDomodossola"] = {
["title"] = "Thun to Solothurn",
["right terminus"] = "Domodossola",
},
},
["Bern-Lucerne"] = {
},
["title"] = "Bern to Lucerne",
["left terminusRE2"] = "Bern",{
["right terminustitle"] = "Lucerne[[RegioExpress|RE2]]",
["color"] = "c5c5c5",
},
["Laleft Chaux-de-Fonds-Bernterminus"] = {"Brig",
["titleright terminus"] = "La Chaux-de-Fonds to BernDomodossola",
["left terminustypes"] = "La Chaux-de-Fonds",{
["right terminusVisp"] = "Bern",{
} ["title"] = "",
["Zweisimmen-Interlakenleft terminus"] = {"Visp",
["title"] = "Zweisimmen to Interlaken",
["left terminus"] = "Zweisimmen",
["right terminus"] = "Interlaken Ost",
},
},
},
["RegioRE7"] = {
["title"] = "[[Regio (Swiss railway train)RegioExpress|RegioRE7]]",
["colorleft terminus"] = "bcbdc0Bern",
["right terminus"] = "Lucerne",
["types"] = {
["Konolfingen–Hasle-RüegsauS7"] = {
["title"] = "Konolfingen to Hasle-Rüegsau",
["left terminus"] = {"KonolfingenBern", "Willisau", "Langenthal"},
["right terminus"] = "Hasle-Rüegsau",
},
},
["Spiez-Interlaken"] = {
},
["title"] = "Spiez to Interlaken",
["left terminusRE8"] = "Spiez",{
["right terminustitle"] = "Interlaken Ost[[RegioExpress|RE8]]",
["titleleft terminus"] = "Zweisimmen to Interlaken",
},
["Thun-Konolfingenright terminus"] = {"Spiez",
},
["title"] = "Thun to Konolfingen",
["left terminusRE9"] = "Thun",{
["right terminustitle"] = "Konolfingen[[RegioExpress|RE9]]",
["left terminus"] = "Spiez",
},
["Thun-Solothurnright terminus"] = {"Interlaken Ost",
},
["title"] = "Thun to Solothurn",
["left terminusRE11"] = "Thun",{
["right terminustitle"] = "Solothurn[[RegioExpress|RE11]]",
["color"] = "c5c5c5",
},
["Zweisimmen-Bernleft terminus"] = {"Biel/Bienne",
["titleright terminus"] = "Zweisimmen to BernBrig",
["left terminusnote-mid"] = "ZweisimmenWeekends only",
["right terminustypes"] = "Bern",{
["Zollikofen"] = {
},
}, ["title"] = "",
["left terminus"] = "Brig",
["right terminus"] = "Biel/Bienne",
},
},
},
},
-- R (Regio)
["R11"] = {
["title"] = "[[Regio (Swiss railway train)|R11]]",
["color"] = "818281",
["left terminus"] = "Zweisimmen",
["right terminus"] = "Bern",
},
["R12"] = {
["title"] = "[[Regio (Swiss railway train)|R12]]",
["color"] = "818281",
["left terminus"] = "Spiez",
["right terminus"] = "Frutigen",
},
-- GPX (GoldenPass Express)
["GPX"] = {
["title"] = "''[[GoldenPass Express]]''",
["color"] = "172a4c",
["left terminus"] = "Montreux",
["right terminus"] = "Interlaken Ost",
},
}
}
local sb = require('Module:Adjacent stations/Lucerne S-Bahn')
local sb_lines = {
"7",
}
 
for _, v in pairs(sb_lines) do
p["lines"][v] = sb["lines"][v]
 
end
 
return p