Jump to content

Module:Adjacent stations/BLS

From Wikipedia, the free encyclopedia

local p = {
	["system title"] = "[[BLS AG|BLS]]",
	["system icon"] = "[[File:BLS AG logo.svg|20px|link=BLS AG]]",
	["station format"] = {
		"%1 railway station",
	},
	["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"] = "a0e100",
	["header text color"] = "0028a0",
	["lines"] = {
		["_default"] = {
			["color"] = "093c84",	
			["icon"] =  "[[File:BLS AG logo.svg|20px|link=BLS AG]]",
		},
		-- IR (InterRegio)
		["IR 17"] = {
			["title"] = "[[InterRegio|IR 17]]",
			["color"] = "25539c",
			["left terminus"] = "Bern",
			["right terminus"] = "Olten",
			["icon"] = "[[File:IR 17 logo.svg|40px|link=InterRegio]]",
		},
		["IR 65"] = {
			["title"] = "[[InterRegio|IR 65]]",
			["color"] = "007dbe",
			["left terminus"] = "Biel/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"] = "[[RegioExpress|RE1]]",
			["left terminus"] = "Bern",
			["right terminus"] = {"Brig", "Domodossola", "Zweisimmen"},
			["types"] = {
				["Lötschberg"] = {
					["title"] = "",
					["right terminus"] = {"Brig", "Domodossola"},
				},
				["Domodossola"] = {
					["title"] = "",
					["right terminus"] = "Domodossola",
				},			
			},
		},
		["RE2"] = {	
			["title"] = "[[RegioExpress|RE2]]",
			["left terminus"] = "Brig",
			["right terminus"] = "Domodossola",
			["types"] = {
				["Visp"] = {
					["title"] = "",
					["left terminus"] = "Visp",
				},
			},
		},
		["RE7"] = {
			["title"] = "[[RegioExpress|RE7]]",
			["left terminus"] = "Bern",
			["right terminus"] = "Lucerne",
			["types"] = {
				["S7"] = {
					["title"] = "",
					["left terminus"] = {"Bern", "Willisau", "Langenthal"},
				},
			},
		},		
		["RE8"] = {
			["title"] = "[[RegioExpress|RE8]]",
			["left terminus"] = "Zweisimmen",
			["right terminus"] = "Spiez",
		},	
		["RE9"] = {
			["title"] = "[[RegioExpress|RE9]]",
			["left terminus"] = "Spiez",
			["right terminus"] = "Interlaken Ost",
		},	
		["RE11"] = {
			["title"] = "[[RegioExpress|RE11]]",
			["color"] = "c5c5c5",
			["left terminus"] = "Biel/Bienne",
			["right terminus"] = "Brig",
			["note-mid"] = "Weekends only",
			["types"] = {
				["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