Module:Adjacent stations/Via Rail

MyWikiBiz, Author Your Legacy — Saturday November 16, 2024
Jump to navigationJump to search
local ab = "%1 station (Alberta)"
local bc = "%1 station (British Columbia)"
local cn = "%1 station (Canadian National)"
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"] = "[[File:VIA Rail Canada simplified.svg|18px|link=Via Rail]]",
	["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,
		["Cedarvale"] = bc,
		["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)",
		["New Westminster"] = cn,
		["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 (train)|Canadian]]''",
			["color"] = "FF0000",
			["left terminus"] = "Vancouver",
			["right terminus"] = "Toronto",
		},
		["Corridor"] = {
			["title"] = "[[Québec City–Windsor Corridor (Via Rail)|Québec City–Windsor Corridor]]",
		},
		["Jasper-Prince Rupert"] = {
			["title"] = "[[Jasper–Prince Rupert train|Jasper–Prince Rupert]]",
			["color"] = "ffcf00",
			["left terminus"] = "Prince Rupert",
			["right terminus"] = "Jasper",
		},
		["Kingston-Montreal"] = {
			["title"] = "[[Corridor (Via Rail)|Kingston–Montreal]]",
			["left terminus"] = "Kingston",
			["right terminus"] = "Montreal",
		},
		["Montreal-Gaspé"] = {
			["title"] = "[[Montreal–Gaspé train|Montreal–Gaspé]]",
			["color"] = "2F9803",
			["left terminus"] = "Montreal",
			["right terminus"] = "Gaspé",
		},
		["Montreal-Jonquière"] = {
			["title"] = "[[Montreal–Jonquière train|Montreal–Jonquière]]",
			["color"] = "dd0680",
			["left terminus"] = "Montreal",
			["right terminus"] = "Jonquière",
		},
		["Montreal-Québec City"] = {
			["title"] = "[[Corridor (Via Rail)|Montreal–Québec City]]",
			["left terminus"] = "Montreal",
			["right terminus"] = "Quebec City",
		},
		["Montreal-Senneterre"] = {
			["title"] = "[[Montreal–Senneterre train|Montreal–Senneterre]]",
			["color"] = "cb7100",
			["left terminus"] = "Montreal",
			["right terminus"] = "Senneterre",
		},
		["Ocean"] = {
			["title"] = "''[[Ocean (train)|Ocean]]''",
			["color"] = "0096d7",
			["left terminus"] = "Montreal",
			["right terminus"] = "Halifax",
		},
		["Ottawa-Montreal"] = {
			["title"] = "[[Corridor (Via Rail)|Ottawa–Montreal]]",
			["left terminus"] = {"Ottawa", "Fallowfield"},
			["right terminus"] = "Montreal",
		},
		["Ottawa-Québec City"] = {
			["title"] = "[[Corridor (Via Rail)|Ottawa–Québec City]]",
			["left terminus"] = "Ottawa",
			["right terminus"] = "Quebec City",
		},
		["Sarnia-Toronto"] = {
			["title"] = "[[Corridor (Via Rail)|Sarnia–Toronto]]",
			["left terminus"] = "Sarnia",
			["right terminus"] = "Toronto",
		},
		["Sudbury-White River"] = {
			["title"] = "[[Sudbury–White River train|Sudbury–White River]]",
			["color"] = "66a2dd",
			["left terminus"] = "White River",
			["right terminus"] = "Sudbury",
		},
		["Toronto-Montreal"] = {
			["title"] = "[[Corridor (Via Rail)|Toronto–Montreal]]",
			["left terminus"] = "Toronto",
			["right terminus"] = "Montreal",
		},
		["Toronto-New York"] = {
			["title"] = "[[Québec City–Windsor Corridor (Via Rail)|Toronto–<br/>New York]]",
			["note-mid"] = "''[[Maple Leaf (train)|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"] = "[[Corridor (Via Rail)|Toronto–Ottawa]]",
			["left terminus"] = "Toronto",
			["right terminus"] = "Ottawa",
		},
		["Victoria-Courtenay"] = {
			["title"] = "[[Victoria–Courtenay train|Victoria–Courtenay]]",
			["color"] = "01FD2E",
			["left terminus"] = "Victoria",
			["right terminus"] = "Courtenay",
		},
		["Windsor-Toronto"] = {
			["title"] = "[[Corridor (Via Rail)|Windsor–Toronto]]",
			["left terminus"] = "Windsor",
			["right terminus"] = "Toronto",
		},
		["Winnipeg-Churchill"] = {
			["title"] = "[[Winnipeg–Churchill train|Winnipeg–Churchill]]",
			["color"] = "00a0a8",
			["left terminus"] = "Churchill",
			["right terminus"] = "Winnipeg",
		},
		["Super Continental"] = {
			["title"] = "''[[Super Continental]]''",
			["color"] = "228C22",
			["left terminus"] = "Vancouver",
			["right terminus"] = "Toronto",
		},
	},
	["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