Module:Adjacent stations/Via Rail

local ab = "%1 station (Alberta)" local bc = "%1 station (British Columbia)" local go = "%1 GO Station" local mb = "%1 station (Manitoba)" local ns = "%1 station (Nova Scotia)" local nb = "%1 station (New Brunswick)" local on = "%1 station (Ontario)" local qc = "%1 station (Quebec)" local sk = "%1 station (Saskatchewan)" local via = "%1 station (Via Rail)"

local p = { ["lang"] = "en-US", ["system title"] = "Via Rail", ["system icon"] = "", ["name format"] = "font-size: 150%; font-family:Arial, sans; font-weight: bolder; color: #ffffff; background-color: #1e3c78; text-transform: uppercase; padding: 0.4em 0;", ["header background color"] = "4B4F54", ["header text color"] = "FFCC00", ["system color"] = "FFCC00", ["station format"] = { "%1 station", ["Agassiz"] = bc, ["Ahuntsic"] = via, ["Aldershot"] = go, ["Alexandria"] = on, ["Amherst"] = ns, ["Bathurst"] = nb, ["Belleville"] = on, ["Bonaventure"] = via, ["Brampton"] = go, ["Canora"] = sk, ["Canyon"] = via, ["Carleton"] = qc, ["Cartier"] = on, ["Chatham"] = on, ["Chelmsford"] = on, ["Churchill"] = mb, ["Dalton"] = on, ["Devon"] = on, ["Dorval"] = via, ["Dunlop"] = mb, ["Dunsmuir"] = bc, ["Dunster"] = bc, ["Dyce"] = mb, ["Edmonton"] = via, ["Esher"] = on, ["Fallowfield"] = on, ["Guelph"] = "Guelph Central Station", ["Georgetown"] = go, ["Gladstone"] = mb, ["Glencoe"] = on, ["Guildwood"] = go, ["Halifax"] = ns, ["Harvey"] = bc, ["Hayward"] = bc, ["Hinton"] = ab, ["Hope"] = bc, ["Houston"] = bc, ["Kingston"] = on, ["Ilford"] = mb, ["Joliette"] = via, ["Langford"] = bc, ["Laurier"] = mb, ["Leven"] = mb, ["London"] = on, ["Malton"] = go, ["McGregor"] = bc, ["Mikado"] = sk, ["Montreal"] = "Montreal Central Station", ["Musk"] = on, ["Nanaimo"] = via, ["New Carlisle"] = qc, ["New York"] = "Pennsylvania Station (New York City)", ["Niagara Falls"] = on, ["Nicholson"] = on, ["Oakville"] = go, ["Oshawa"] = go, ["Pacific"] = bc, ["Palmer"] = bc, ["Paterson"] = mb, ["Pointe-aux-Trembles"] = via, ["Quebec City"] = "Gare du Palais", ["Ramsey"] = on, ["St. Marys"] = on, ["Stratford"] = on, ["Sudbury"] = on, ["Thompson"] = mb, ["Togo"] = sk, ["Toronto"] = "Union Station (Toronto)", ["Truro"] = ns, ["Usk"] = bc, ["Vancouver"] = "Pacific Central Station", ["Victoria"] = bc, ["Wellington"] = bc, ["Wivenhoe"] = mb, ["Windsor"] = on, ["Winnipeg"] = "Union Station (Winnipeg)", ["Woodstock"] = on, ["Wyoming"] = on, },	["lines"] = { ["_default"] = { ["color"] = "361b98", },		["Canadian"] = { ["title"] = "Canadian", ["color"] = "FF0000", ["left terminus"] = "Vancouver", ["right terminus"] = "Toronto", },		["Corridor"] = { ["title"] = "Québec City–Windsor Corridor", },		["Jasper-Prince Rupert"] = { ["title"] = "Jasper–Prince Rupert", ["color"] = "ffcf00", ["left terminus"] = "Prince Rupert", ["right terminus"] = "Jasper", },		["Kingston-Montreal"] = { ["title"] = "Kingston–Montreal", ["left terminus"] = "Kingston", ["right terminus"] = "Montreal", },		["Montreal-Gaspé"] = { ["title"] = "Montreal–Gaspé", ["color"] = "2F9803", ["left terminus"] = "Montreal", ["right terminus"] = "Gaspé", },		["Montreal-Jonquière"] = { ["title"] = "Montreal–Jonquière", ["color"] = "dd0680", ["left terminus"] = "Montreal", ["right terminus"] = "Jonquière", },		["Montreal-Québec City"] = { ["title"] = "Montreal–Québec City", ["left terminus"] = "Montreal", ["right terminus"] = "Quebec City", },		["Montreal-Senneterre"] = { ["title"] = "Montreal–Senneterre", ["color"] = "cb7100", ["left terminus"] = "Montreal", ["right terminus"] = "Senneterre", },		["Ocean"] = { ["title"] = "Ocean", ["color"] = "0096d7", ["left terminus"] = "Montreal", ["right terminus"] = "Halifax", },		["Ottawa-Montreal"] = { ["title"] = "Ottawa–Montreal", ["left terminus"] = {"Ottawa", "Fallowfield"}, ["right terminus"] = "Montreal", },		["Ottawa-Québec City"] = { ["title"] = "Ottawa–Québec City", ["left terminus"] = "Ottawa", ["right terminus"] = "Quebec City", },		["Sarnia-Toronto"] = { ["title"] = "Sarnia–Toronto", ["left terminus"] = "Sarnia", ["right terminus"] = "Toronto", },		["Sudbury-White River"] = { ["title"] = "Sudbury–White River", ["color"] = "66a2dd", ["left terminus"] = "White River", ["right terminus"] = "Sudbury", },		["Toronto-Montreal"] = { ["title"] = "Toronto–Montreal", ["left terminus"] = "Toronto", ["right terminus"] = "Montreal", },		["Toronto-New York"] = { ["title"] = "Toronto– New York", ["note-mid"] = "Maple Leaf", ["left terminus"] = "Toronto", ["right terminus"] = {"New York", ["via"] = "Niagara Falls"}, ["types"] = { ["Reversed"] = { ["title"] = "", ["left terminus"] = {"New York", ["via"] = "Niagara Falls"}, ["right terminus"] = "Toronto", },			},		},		["Toronto-Ottawa"] = { ["title"] = "Toronto–Ottawa", ["left terminus"] = "Toronto", ["right terminus"] = "Ottawa", },		["Victoria-Courtenay"] = { ["title"] = "Victoria–Courtenay", ["color"] = "01FD2E", ["left terminus"] = "Victoria", ["right terminus"] = "Courtenay", },		["Windsor-Toronto"] = { ["title"] = "Windsor–Toronto", ["left terminus"] = "Windsor", ["right terminus"] = "Toronto", },		["Winnipeg-Churchill"] = { ["title"] = "Winnipeg–Churchill", ["color"] = "00a0a8", ["left terminus"] = "Churchill", ["right terminus"] = "Winnipeg", },	},	["aliases"] = { ["aldershot-montreal"] = "Toronto-Montreal", ["fallowfield-montreal"] = "Ottawa-Montreal", ["jasper–prince rupert"] = "Jasper-Prince Rupert", ["montreal-gaspe"] = "Montreal-Gaspé", ["montreal–jonquière"] = "Montreal-Jonquière", ["montreal-quebec"] = "Montreal-Québec City", ["montreal–senneterre"] = "Montreal-Senneterre", ["sudbury–white river"] = "Sudbury-White River", ["winnipeg–churchill"] = "Winnipeg-Churchill", }, }

return p