Jump to content

Module:Adjacent stations/Via Rail

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mackensen (talk | contribs) at 21:19, 3 February 2019 (Created page with '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...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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"] = "[[File:VIA Rail Canada simplified.svg|18px|link=Via Rail]]",
	["name format"] = "font-size: 150%; font-family:Arial, sans; font-weight: bolder; color: #00080; background-color: #e0e0e0; padding: 0.4em 0;",
	["header background color"] = "323264",
	["header text color"] = "FFD700",
	["system color"] = "361b98",
	["station format"] = {
		"%1 railway station",
		["Aldershot"] = go,
		["Alexandria"] = on,
		["Amherst"] = ns,
		["Bathurst"] = nb,
		["Bonaventure"] = via,
		["Brampton"] = go,
		["Cartier"] = on,
		["Chatham"] = on,
		["Churchill"] = mb,
		["Dorval"] = via,
		["Dunlop"] = mb,
		["Dunsmuir"] = bc,
		["Dunster"] = bc,
		["Dyce"] = mb,
		["Edmonton"] = via,
		["Fallowfield"] = on,
		["Guelph"] = "Guelph Central Station",
		["Georgetown"] = go,
		["Gladstone"] = mb,
		["Guildwood"] = go,
		["Halifax"] = ns,
		["Harvey"] = bc,
		["Hayward"] = bc,
		["Hinton"] = ab,
		["Hope"] = bc,
		["Houston"] = bc,
		["Kingston"] = on,
		["Ilford"] = mb,
		["Langford"] = bc,
		["Leven"] = mb,
		["London"] = on,
		["Malton"] = go,
		["Mikado"] = sk,
		["Montreal"] = "Montreal Central Station",
		["New Carlisle"] = qc,
		["New York"] = "Pennsylvania Station (New York City)",
		["Niagara Falls"] = on,
		["Oakville"] = go,
		["Oshawa"] = go,
		["Paterson"] = mb,
		["Pointe-aux-Trembles"] = via,
		["Quebec City"] = "Gare du Palais",
		["St. Marys"] = on,
		["Stratford"] = on,
		["Sudbury"] = on,
		["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",	
		},
		["Aldershot-Montreal"] = {
			["title"] = "[[Corridor (Via Rail)|Aldershot–Montreal]]",
			["left terminus"] = {"Toronto", "Aldershot"},
			["right terminus"] = "Montreal",
		},
		["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]]",
		},
		["Fallowfield-Montreal"] = {
			["title"] = "[[Corridor (Via Rail)|Fallowfield–Montreal]]",
			["left terminus"] = "Fallowfield",
			["right terminus"] = "Montreal",
		},
		["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-Québec City"] = {
			["title"] = "[[Corridor (Via Rail)|Ottawa–Québec City]]",
			["left terminus"] = "Ottawa",
			["right terminus"] = "Québec City",
		},
		["Pas-Pukatawagan"] = {
			["title"] = "[[Keewatin Railway|The Pas–Pukatawagan]]",
			["left terminus"] = "Pukatawagan",
			["right terminus"] = "The Pas",
		},
		["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-New York"] = {
			["title"] = "[[Maple Leaf (train)|Toronto–New York]]",
			["left terminus"] = "Toronto",
			["right terminus"] = {"New York", ["via"] = "Niagara Falls"},
		},
		["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",
		},
	},
	["aliases"] = {
		["montreal-gaspe"] = "Montreal-Gaspé",
		["montreal-quebec"] = "Montreal-Québec City",
		["the pas-pukatawagan"] = "Pas-Pukatawagan",
	},
}

return p