Module:Adjacent stations/Via Rail/sandbox
Appearance
This is the module sandbox page for Module:Adjacent stations/Via Rail (diff). |
This is a data module for Module:Adjacent stations. It supports services operated by Via Rail/sandbox. For The Pas–Pukatawagan train, use Module:Adjacent stations/Keewatin Railway.
Lines
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
The 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 |
| |
Ottawa–Montreal | 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 |
| |
Toronto–Montreal | Toronto-Montreal |
361b98 |
| |
Maple Leaf | Toronto-New York |
361b98 |
| |
Toronto–Ottawa | Toronto-Ottawa |
361b98 |
| |
Victoria–Courtenay | Victoria-Courtenay |
a0ce66 |
| |
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 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"] = "[[Cedarvale station (British Columbia)|Cedarvale]]",
["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