Module:Adjacent stations/Via Rail
Appearance
This is a data module for Module:Adjacent stations. It supports services operated by Via Rail. For The Pas–Pukatawagan train, use Module:Adjacent stations/Keewatin Railway.
Lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Canadian | Canadian |
FF0000 |
| |
Québec City–Windsor Corridor | Corridor |
361b98 |
| |
Jasper–Prince Rupert | Jasper-Prince Rupert or jasper–prince rupert |
ffcf00 |
| |
Kingston–Montreal | Kingston-Montreal |
361b98 |
| |
Montreal–Gaspé | Montreal-Gaspé or montreal-gaspe |
2F9803 |
| |
Montreal–Jonquière | Montreal-Jonquière or montreal–jonquière |
dd0680 |
| |
Montreal–Québec City | Montreal-Québec City or montreal-quebec |
361b98 |
| |
Montreal–Senneterre | Montreal-Senneterre or montreal–senneterre |
cb7100 |
| |
Ocean | Ocean |
0096d7 |
| |
Lua error in Module:Adjacent_stations at line 693: "title" is missing from the data page. | Ottawa-Montreal or fallowfield-montreal |
361b98 |
| |
Ottawa–Québec City | Ottawa-Québec City |
361b98 |
| |
Sarnia–Toronto | Sarnia-Toronto |
361b98 |
| |
Sudbury–White River | Sudbury-White River or sudbury–white river |
66a2dd |
| |
Lua error in Module:Adjacent_stations at line 693: "title" is missing from the data page. | Toronto-Montreal |
361b98 |
| |
Toronto–New York | Toronto-New York |
361b98 |
| |
Toronto–Ottawa | Toronto-Ottawa |
361b98 |
| |
Victoria–Courtenay | Victoria-Courtenay |
01FD2E |
| |
Windsor–Toronto | Windsor-Toronto |
361b98 |
| |
Winnipeg–Churchill | Winnipeg-Churchill or winnipeg–churchill |
00a0a8 |
|
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