Module:Adjacent stations/Canadian National Railway

local cn = "%1 station (Canadian National Railway)"
local ns = "%1 station (Nova Scotia)"
local wc = "Winnipeg–Churchill train"
local kry = "Keewatin Railway"
local p = {
	["lang"] = "en-US",
	["system title"] = "[[Canadian National Railway]]",
	["name format"] = {
		"",
		["Algoma Central"] = "font-size: 150%; font-family: sans-serif; font-weight: bolder; line-height: 100%; color:#fff579; background-color:#990000; padding: 0.4em 0 0.4em 0;",
	},
	["header text color"] = {
		"",
		["Algoma Central"] = "990000",
	},
	["station format"] = {
		"%1 station",
		["Ahuntsic"] = "Ahuntsic station (Via Rail)",
		["Aldershot"] = "Aldershot GO Station",
		["Allandale"] = "Allandale Waterfront GO Station",
		["Allens"] = cn,
		["Alliance"] = cn,
		["Alpha"] = cn,
		["Amsterdam"] = cn,
		["Appin"] = cn,
		["Atikameg Lake"] = wc,
		["Atik"] = "Keewatin Railway",
		["Auburn"] = cn,
		["Aurora"] = "Aurora GO Station",
		["Bayview"] = cn,
		["Beachville"] = cn,
		["Belleville"] = "Belleville station (Ontario)",
		["Belmont"] = cn,
		["Beresford"] = cn,
		["Berlin"] = "Berlin station (New Hampshire)",
		["Birmingham"] = cn,
		["Blackwater"] = cn,
		["Brampton"] = "Brampton GO Station",
		["Brentwood"] = cn,
		["Bridge Street"] = cn,
		["Bridgar"] = wc,
		["Burlington"] = "Burlington GO Station",
		["Calgary"] = "St. Mary's Parish Hall",
		["Canora"] = "Canora station (Saskatchewan)",
		["Cardinal"] = cn,
		["Carlton"] = cn,
		["Cedars"] = cn,
		["Champion"] = cn,
		["Charlotte"] = "Charlotte station (Michigan Central Railroad)",
		["Churchill"] = "Churchill station (Manitoba)",
		["Clarkson"] = "Clarkson GO Station",
		["Cochrane"] = "Cochrane station (Ontario)",
		["Colby"] = cn,
		["Collingwood"] = cn,
		["Concord"] = cn,
		["Copetown"] = cn,
		["Croydon"] = cn,
		["D'Arcy"] = "D'Arcy, British Columbia#Facilities",
		["Danby"] = cn,
		["Decker Lake"] = cn,
		["Detroit"] = "Brush Street Station",
		["Dixie"] = cn,
		["Dorchester"] = cn,
		["Downsview"] = cn,
		["Dundas"] = "Dundas station (Dundas, Ontario)",
		["Dyce"] = "Dyce station (Manitoba)",
		["Eastwood"] = cn,
		["Edmonton"] = "CN Tower (Edmonton)",
		["Entwistle"] = cn,
		["Erwood"] = cn,
		["Evans"] = cn,
		["Falmouth"] = cn,
		["Flint"] = "Flint station (Michigan)",
		["Floral Park"] = cn,
		["Frankford"] = cn,
		["Fredericksburg"] = cn,
		["Freshford"] = cn,
		["Gananoque Junction"] = "Gananoque station",
		["Gaspé"] = "Gaspé station",
		["Girard"] = cn,
		["Glencairn"] = cn,
		["Greenbush"] = cn,
		["Greenfield"] = cn,
		["Guilford"] = cn,
		["Halifax"] = "Halifax station (Nova Scotia)",
		["Halcrow"] = wc,
		["Hamilton"] = "LIUNA Station",
		["Harvey"] = cn,
		["Hilden"] = cn,
		["Hudson Bay Junction"] = "Hudson Bay station",
		["Hyde Park"] = "Hyde Park station (Ontario)",
		["Jordan"] = cn,
		["Kettle Rapids"] = wc,
		["King"] = "King City GO Station",
		["Kingston"] = "Kingston, Ontario, outer station ruins",
		["Kingston (outer)"] = "Kingston, Ontario, outer station ruins",
		["Knockholt"] = cn,
		["Knox"] = cn,
		["Lachine"] = cn,
		["Laird"] = cn,
		["Lakeview"] = cn,
		["Lansdowne"] = cn,
		["Lansing"] = "Grand Trunk Western station (Lansing)",
		["Laurier"] = "Laurier, Manitoba#Railway station",
		["Leaside"] = cn,
		["Leven"] = wc,
		["Limehouse"] = cn,
		["Lillooet"] = "Lillooet#Railway",
		["London"] = "London station (Ontario)",
		["Longueuil"] = cn,
		["Maitland"] = cn,
		["Malton"] = "Malton GO Station",
		["Marden"] = cn,
		["Marysville"] = cn,
		["Matapédia"] = "Matapédia station",
		["McKinnon"] = cn,
		["Mikado"] = "Mikado station (Saskatchewan)",
		["Montreal"] = "Montreal Central Station",
		["Montreal CP"] = "Windsor Station (Montreal)",
		["Morse"] = cn,
		["Mount Royal"] = "Ville-de-Mont-Royal station",
		["Murray"] = cn,
		["New Carlisle"] = "New Carlisle station (Quebec)",
		["New Mills"] = cn,
		["New Westminster"] = cn,
		["Newbury"] = cn,
		["Newcastle"] = cn,
		["Newmarket"] = "Newmarket GO Station",
		["Newport"] = cn,
		["Niagara Falls, Ontario"] = "Niagara Falls station (Ontario)",
		["North Bay"] = cn,
		["Northwood"] = cn,
		["Oban"] = cn,
		["Ogilvie"] = cn,
		["Ottawa"] = "Senate of Canada Building",
		["Oxford"] = cn,
		["Pacific"] = "Pacific station (British Columbia)",
		["Parkdale"] = "Parkdale station (Toronto)",
		["Paterson"] = "Paterson station (Manitoba)",
		["Patterson"] = cn,
		["Petersburg"] = cn,
		["Portland"] = "Portland station (Grand Trunk)",
		["Portage la Prairie"] = cn,
		["Prospector"] = "Keewatin Railway",
		["Rawebb"] = wc,
		["Rayleigh"] = cn,
		["Regina"] = "Casino Regina",
		["Richmond"] = "Richmond station (Quebec)",
		["Richmond Hill"] = "Richmond Hill GO Station",
		["Rideau"] = cn,
		["Riverdale"] = "Riverdale station (Toronto)",
		["Rosedale"] = cn,
		["Runnymede"] = cn,
		["Seneca"] = cn,
		["Seton Portage"] = "Seton Portage#Access",
		["South Bend"] = "Union Station (South Bend, Indiana)",
		["Saint-Constant"] = cn,
		["Shalalth"] = "Shalalth#Railway shuttle",
		["Staunton"] = cn,
		["St. Johns"] = "Saint-Jean-d'Iberville station",
		["St. Joseph"] = cn,
		["St. Marys"] = "St. Marys station (Ontario)",
		["St. Pauls"] = cn,
		["St. Thomas"] = cn,
		["Ste Anne de Bellevue"] = "Sainte-Anne-de-Bellevue station",
		["Stratford"] = "Stratford station (Ontario)",
		["Stirling"] = cn,
		["Styal"] = cn,
		["Sudbury"] = cn,
		["Summit"] = cn,
		["Sunnyside"] = "Sunnyside station (Toronto)",
		["Suspension Bridge"] = "Niagara Falls station (New York)",
		["Sydney"] = "Sydney station (Canada)",
		["Tavistock"] = cn,
		["Tenby"] = cn,
		["Thompson"] = "Thompson station (Manitoba)",
		["Tidal"] = wc,
		["Toronto"] = "Union Station (Toronto)",
		["Trenton"] = cn,
		["Truro"] = ns,
		["Upton"] = cn,
		["Vancouver"] = "Pacific Central Station",
		["Vaudreuil"] = cn,
		["Wanstead"] = "Wanstead station (Ontario)",
		["Waterloo"] = cn,
		["Watford"] = "Watford station (Ontario)",
		["West Toronto"] = "West Toronto Diamond#Canadian National",
		["Weston"] = "Weston GO Station",
		["Westport"] = cn,
		["Whitby"] = "Whitby Junction station",
		["Willow Grove"] = cn,
		["Windsor"] = cn,
		["Winnipeg"] = "Union Station (Winnipeg)",
		["Woodstock"] = "Woodstock station (Ontario)",
		["Wyoming"] = "Wyoming station (Ontario)",
		["Yarmouth"] = "Yarmouth station (Maine)",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "DA291C",	
		},
		["Agawa Canyon Tour"] = {
			["title"] = "[[Algoma Central Railway#Agawa Canyon Tour Train|Agawa Canyon Tour Train]]",
			["color"] = "DA291C",
			["left terminus"] = "Sault Ste. Marie",
			["right terminus"] = "Agawa Canyon",
		},
		["Algoma Central"] = {
			["title"] = "[[Algoma Central Railway]]",
			["color"] = "DA291C",
			["left terminus"] = "Sault Ste. Marie",
			["right terminus"] = "Hearst",
		},
		["Kaoham Shuttle"] = {
			["title"] = "[[Kaoham Shuttle]]",
			["color"] = "AAAAAA",
			["left terminus"] = "Seton Portage",
			["right terminus"] = "Lillooet",
		},
		["Main"] = {
			["title"] = "Main Line",
			["color"] = "000000",
			["left terminus"] = "Vancouver",
			["right terminus"] = "Montreal",
		},
		["Grand Trunk Main"] = {
			["title"] = "[[Grand Trunk Railway]]<br/><small>Main Line</small>",
			["color"] = "000000",
			["left terminus"] = "Sarnia",
			["right terminus"] = "Montreal",
		},
		["Central Ontario Main"] = {
			["title"] = "[[Central Ontario Railway]] <small>Main Line</small>",
			["color"] = "000000",
			["left terminus"] = "Picton",
			["right terminus"] = "Maynooth",
		},
		["Alonsa-Portage la Prairie"] = {
			["title"] = "[[Alonsa]] – [[Portage la Prairie]]",
			["color"] = "000000",
			["left terminus"] = "Alonsa",
			["right terminus"] = "Portage la Prairie",
		},
		["Barrys Bay-Ottawa"] = {
			["title"] = "[[Barrys Bay, Ontario|Barrys Bay]] – [[Ottawa]]",
			["color"] = "000000",
			["left terminus"] = "Barrys Bay",
			["right terminus"] = "Ottawa",
		},
		["Bathurst-Tracadie"] = {
			["title"] = "[[Bathurst, New Brunswick|Bathurst]] – [[Tracadie, New Brunswick|Tracadie]]",
			["color"] = "000000",
			["left terminus"] = "Bathurst",
			["right terminus"] = "Tracadie",
		},
    	["Bodo-Unity"] = {
    		["title"] = "[[Bodo, Alberta|Bodo]] – [[Unity, Saskatchewan|Unity]]",
			["color"] = "000000",
			["left terminus"] = "Bodo",
			["right terminus"] = "Unity",
    	},
		["Cabot Branch"] = {
			["title"] = "Cabot Branch",
			["color"] = "000000",
			["left terminus"] = "Portage la Prairie",
			["right terminus"] = "Winnipeg",
		},
		["Calgary-Edmonton via Big Valley"] = {
			["title"] = "[[Calgary]] – [[Edmonton]] via [[Big Valley, Alberta|Big Valley]]",
			["color"] = "000000",
			["left terminus"] = "Calgary",
			["right terminus"] = "Edmonton",
		},
		["Calgary-Edmonton via Mirror"] = {
			["title"] = "[[Calgary]] – [[Edmonton]] via [[Mirror, Alberta|Mirror]]",
			["color"] = "000000",
			["left terminus"] = "Calgary",
			["right terminus"] = "Edmonton",
		},
		["Calgary-Winnipeg"] = {
			["title"] = "[[Calgary]] – [[Winnipeg]]",
			["color"] = "000000",
			["left terminus"] = "Calgary",
			["right terminus"] = "Winnipeg",
		},
		["Canora-Wroxton"] = {
			["title"] = "[[Canora, Saskatchewan|Canora]] – [[Wroxton, Saskatchewan|Wroxton]]",
			["color"] = "000000",
			["left terminus"] = "Canora",
			["right terminus"] = "Wroxton",
		},
		["Capreol-Toronto"] = {
			["title"] = "[[Capreol]] – [[Toronto]]",
			["color"] = "000000",
			["left terminus"] = "Capreol",
			["right terminus"] = "Toronto",
		},
		["Carruthers-Biggar"] = {
			["title"] = "Carruthers – [[Biggar, Saskatchewan|Biggar]]",
			["color"] = "000000",
			["left terminus"] = "Carruthers",
			["right terminus"] = "Biggar",
		},
		["Central Vermont"] = {
			["title"] = "[[Central Vermont Railway|Central Vermont]] Route",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = "East Alburgh",
		},
		["Chambord-Dolbeau"] = {
			["title"] = "[[Chambord, Quebec|Chambord]] – [[Dolbeau, Quebec|Dolbeau]]",
			["color"] = "000000",
			["left terminus"] = "Dolbeau",
			["right terminus"] = "Chambord",
		},
		["Coteau-Cantic"] = {
			["title"] = "[[Chambord, Quebec|Chambord]] – [[Dolbeau, Quebec|Dolbeau]]",
			["color"] = "000000",
			["left terminus"] = "Dolbeau",
			["right terminus"] = "Chambord",
		},
		["Edmonton-Alliance"] = {
			["title"] = "[[Edmonton]] – [[Alliance, Alberta|Alliance]]",
			["color"] = "000000",
			["left terminus"] = "Edmonton",
			["right terminus"] = "Alliance",
		},
		["Edmonton-Athabaska"] = {
			["title"] = "[[Edmonton]] – [[Athabasca, Alberta|Athabaska]]",
			["color"] = "000000",
			["left terminus"] = "Edmonton",
			["right terminus"] = "Athabaska",
		},
		["Edmonton-Heinsburg"] = {
			["title"] = "[[Edmonton]] – [[Heinsburg]]",
			["color"] = "000000",
			["left terminus"] = "Edmonton",
			["right terminus"] = "Heinsburg",
		},
		["Edmonton-Winnipeg via North Battleford and Regina"] = {
			["title"] = "[[Edmonton]] – [[Winnipeg]] via [[North Battleford]] and [[Regina, Saskatchewan|Regina]]",
			["color"] = "000000",
			["left terminus"] = "Edmonton",
			["right terminus"] = "Winnipeg",
		},
		["Edmundston-Campbellton"] = {
			["title"] = "[[Edmundston]] – [[Campbellton, New Brunswick|Campbellton]]",
			["color"] = "000000",
			["left terminus"] = "Edmundston",
			["right terminus"] = "Campbellton",
		},
		["Fredericton-Newcastle"] = {
			["title"] = "[[Fredericton, New Brunswick|Fredericton]] – [[Newcastle, New Brunswick|Newcastle]]",
			["color"] = "000000",
			["left terminus"] = "Fredericton",
			["right terminus"] = "Newcastle",
		},
		["Goderich-London"] = {
			["title"] = "[[Goderich, Ontario|Goderich]] – [[London, Ontario|London]]",
			["color"] = "000000",
			["left terminus"] = "Goderich",
			["right terminus"] = "London",
		},
		["Goderich-Stratford"] = {
			["title"] = "[[Goderich, Ontario|Goderich]] – [[Stratford, Ontario|Stratford]]",
			["color"] = "000000",
			["left terminus"] = "Goderich",
			["right terminus"] = "Stratford",
		},
		["Gypsumville-Winnipeg"] = {
			["title"] = "[[Gypsumville]] – [[Winnipeg]]",
			["color"] = "000000",
			["left terminus"] = "Gypsumville",
			["right terminus"] = "Winnipeg",
		},
		["Hamilton-Allandale"] = {
			["title"] = "[[Hamilton, Ontario|Hamilton]] – [[Barrie|Allandale]]",
			["color"] = "000000",
			["left terminus"] = "Hamilton",
			["right terminus"] = "Allandale",
		},
		["Hearst-Cochrane"] = {
			["title"] = "[[Hearst, Ontario|Hearst]] – [[Cochrane, Ontario|Cochrane]]",
			["color"] = "000000",
			["left terminus"] = "Hearst",
			["right terminus"] = "Cochrane",
		},
		["Hemaruka-Biggar"] = {
			["title"] = "[[Hemaruka, Alberta|Hemaruka]] – [[Biggar, Saskatchewan|Biggar]]",
			["color"] = "000000",
			["left terminus"] = "Hemaruka",
			["right terminus"] = "Biggar",
		},
		["Hudson Bay Junction-Arborfield via Chelan"] = {
			["title"] = "[[Hudson Bay, Saskatchewan|Hudson Bay Junction]] – [[Arborfield, Saskatchewan|Arborfield]] via [[Chelan, Saskatchewan|Chelan]]",
			["color"] = "000000",
			["left terminus"] = "Arborfield",
			["right terminus"] = "Hudson Bay Junction",
		},
		["Hudson Bay Junction-Flin Flon"] = {
			["title"] = "[[Hudson Bay, Saskatchewan|Hudson Bay Junction]] – [[Flin Flon]]",
			["color"] = "000000",
			["left terminus"] = "Hudson Bay Junction",
			["right terminus"] = "Flin Flon",
		},
		["Hudson Bay Railway"] = {
			["title"] = "[[Hudson Bay Railway (1910)|Hudson Bay Railway]]",
			["color"] = "000000",
			["left terminus"] = "Churchill",
			["right terminus"] = "The Pas",
		},
		["Humboldt-Carrot River"] = {
			["title"] = "[[Humboldt, Saskatchewan|Humboldt]] – [[Carrot River, Saskatchewan|Carrot River]]",
			["color"] = "000000",
			["left terminus"] = "Humboldt",
			["right terminus"] = "Carrot River",
		},
		["Kamloops Branch"] = {
			["title"] = "Kamloops Branch",
			["color"] = "000000",
			["left terminus"] = "Kamloops Junction",
			["right terminus"] = "Kelowna",
		},
		["Lewiston Branch"] = {
			["title"] = "Lewiston Branch",
			["color"] = "000000",
			["left terminus"] = "Danville Junction",
			["right terminus"] = "Lewiston",
		},
		["London-Stratford"] = {
			["title"] = "[[London, Ontario|London]] – [[Stratford, Ontario|Stratford]]",
			["color"] = "000000",
			["left terminus"] = "London",
			["right terminus"] = "Stratford",
		},
		["London-Detroit"] = {
			["title"] = "[[London, Ontario|London]] – [[Detroit]]",
			["color"] = "000000",
			["left terminus"] = "Detroit",
			["right terminus"] = "London",
		},
		["Matapedia-Gaspe"] = {
			["title"] = "[[Matapédia, Quebec|Matapédia]] – [[Gaspé, Quebec|Gaspé]]",
			["color"] = "000000",
			["left terminus"] = "Matapédia",
			["right terminus"] = "Gaspé",
		},
		["McGivney-Moncton"] = {
			["title"] = "[[McGivney, New Brunswick|McGivney]] – [[Moncton]]",
			["color"] = "000000",
			["left terminus"] = "McGivney",
			["right terminus"] = "Moncton",
		},
		["Meaford-Allandale"] = {
			["title"] = "[[Meaford, Ontario|Meaford]] – [[Barrie|Allandale]]",
			["color"] = "000000",
			["left terminus"] = "Meaford",
			["right terminus"] = "Allandale",
		},
		["Moncton-Buctouche"] = {
			["title"] = "[[Moncton]] – [[Grand-Bouctouche|Buctouche]]",
			["color"] = "000000",
			["left terminus"] = "Moncton",
			["right terminus"] = "Buctouche",
		},
		["Moncton-Point Du Chene"] = {
			["title"] = "[[Moncton]] – [[Pointe-du-Chêne, New Brunswick|Point Du Chene]]",
			["color"] = "000000",
			["left terminus"] = "Moncton",
			["right terminus"] = "Point Du Chene",
		},
		["Montreal-Fort Covington"] = {
			["title"] = "[[Montreal]] – [[Fort Covington]]",
			["color"] = "000000",
			["left terminus"] = "Fort Covington",
			["right terminus"] = "Montreal",
		},
		["Montreal-Lac Remi"] = {
			["title"] = "[[Montreal]] – [[Lac Remi]]",
			["color"] = "000000",
			["left terminus"] = "Lac Remi",
			["right terminus"] = "Montreal",
		},
		["Montreal-Moncton"] = {
			["title"] = "[[Montreal]] – [[Moncton]]",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = "Moncton",
		},
		["Montreal-Ottawa"] = {
			["title"] = "[[Montreal]] – [[Ottawa]]<br/><small>''Semi-local stops''</small>",
			["color"] = "000000",
			["left terminus"] = "Ottawa",
			["right terminus"] = "Montreal",
		},
		["Montreal-Portland"] = {
			["title"] = "[[Montreal]] – [[Portland, Maine|Portland]]",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = "Portland",
		},
		["Montreal-Rawdon"] = {
			["title"] = "[[Montreal]] – [[Rawdon, Quebec|Rawdon]]<br/><small>''Local stops''</small>",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = "Rawdon",
		},
		["Montreal-Richmond"] = {
			["title"] = "[[Montreal]] – [[Richmond, Quebec|Richmond]]<br/><small>''Local stops''</small>",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = "Richmond",
		},
		["Montreal-Riviere a Pierre"] = {
			["title"] = "[[Montreal]] – [[Rivière-à-Pierre]]",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = "Rivière-à-Pierre",
		},
		["Montreal-Vaudreuil"] = {
			["title"] = "[[Montreal]] – [[Vaudreuil, Quebec|Vaudreuil]]<br/><small>''Local stops''</small>",
			["color"] = "000000",
			["left terminus"] = "Vaudreuil",
			["right terminus"] = "Montreal",
		},
		["Montreal-Victoriaville"] = {
			["title"] = "[[Montreal]] – [[Victoriaville]]",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = "Victoriaville",
		},
		["Nakina-Hearst"] = {
			["title"] = "[[Nakina, Ontario|Nakina]] – [[Hearst, Ontario|Hearst]]",
			["color"] = "000000",
			["left terminus"] = "Nakina",
			["right terminus"] = "Hearst",
		},
		["Napanee-Ottawa"] = {
			["title"] = "[[Napanee, Ontario|Napanee]] – [[Ottawa]]",
			["color"] = "000000",
			["left terminus"] = "Napanee",
			["right terminus"] = "Ottawa",
		},
		["Neidpath-Regina"] = {
			["title"] = "[[Neidpath, Saskatchewan|Neidpath]] – [[Regina, Saskatchewan|Regina]]",
			["color"] = "000000",
			["left terminus"] = "Neidpath",
			["right terminus"] = "Regina",
		},
		["Newcastle-Loggieville"] = {
			["title"] = "[[Newcastle, New Brunswick|Newcastle]] – [[Loggieville, New Brunswick|Loggieville]]",
			["color"] = "000000",
			["left terminus"] = "Newcastle",
			["right terminus"] = "Loggieville",
		},
		["Niagara Falls-Toronto"] = {
			["title"] = "[[Niagara Falls, New York|Niagara Falls]] – [[Toronto]]<br/><small>''Local stops''</small>",
			["color"] = "000000",
			["left terminus"] = "Suspension Bridge",
			["right terminus"] = "Toronto",
		},
		["North Bay-Toronto"] = {
			["title"] = "[[North Bay, Ontario|North Bay]] – [[Toronto]]",
			["color"] = "000000",
			["left terminus"] = "North Bay",
			["right terminus"] = "Toronto",
		},
		["North Battleford-Winnipeg via Swan River and Hallboro"] = {
			["title"] = "[[North Battleford]] – [[Winnipeg]] via [[Swan River, Manitoba|Swan River]] and [[Municipality of North Cypress – Langford|Hallboro]]",
			["color"] = "000000",
			["left terminus"] = "North Battleford",
			["right terminus"] = "Winnipeg",
		},
		["Norway Branch"] = {
			["title"] = "Norway Branch",
			["color"] = "000000",
			["left terminus"] = "Norway",
			["right terminus"] = "South Paris",
		},
		["Owen Sound-Hamilton"] = {
			["title"] = "[[Owen Sound, Ontario|Owen Sound]] – [[Hamilton, Ontario|Hamilton]]",
			["color"] = "000000",
			["left terminus"] = "Owen Sound",
			["right terminus"] = "Hamilton",
		},
		["Parry Sound-Algonquin Park"] = {
			["title"] = "[[Parry Sound]] – [[Algonquin Park]]",
			["color"] = "000000",
			["left terminus"] = "Parry Sound",
			["right terminus"] = "Algonquin Park",
		},
		["Penetang-Allandale"] = {
			["title"] = "[[Penetanguishene|Penetang]] – [[Barrie|Allandale]]",
			["color"] = "000000",
			["left terminus"] = "Penetang",
			["right terminus"] = "Allandale",
		},
		["Prince Albert-Watrous"] = {
			["title"] = "[[Prince Albert, Saskatchewan|Prince Albert]] – [[Watrous, Saskatchewan|Watrous]]",
			["color"] = "000000",
			["left terminus"] = "Prince Albert",
			["right terminus"] = "Watrous",
		},
		["Prince Rupert-Jasper"] = {
			["title"] = "[[Prince Rupert, British Columbia|Prince Rupert]] – [[Jasper, Alberta|Jasper]]",
			["color"] = "000000",
			["left terminus"] = "Prince Rupert",
			["right terminus"] = "Jasper",
		},
		["Quebec-Chicoutimi"] = {
			["title"] = "[[Quebec City|Quebec]] – [[Chicoutimi, Quebec|Chicoutimi]]",
			["color"] = "000000",
			["left terminus"] = "Chicoutimi",
			["right terminus"] = "Quebec",
		},
		["Quebec-Cochrane"] = {
			["title"] = "[[Quebec City|Quebec]] – [[Cochrane, Ontario|Cochrane]]",
			["color"] = "000000",
			["left terminus"] = "Cochrane",
			["right terminus"] = "Quebec",
		},
		["Quebec-McGivney"] = {
			["title"] = "[[Quebec City|Quebec]] – [[McGivney, New Brunswick|McGivney]]",
			["color"] = "000000",
			["left terminus"] = "Quebec",
			["right terminus"] = "McGivney",
		},
		["Radville-Maryfield"] = {
			["title"] = "[[Radville, Saskatchewan|Radville]] – [[Maryfield, Saskatchewan|Maryfield]]",
			["color"] = "000000",
			["left terminus"] = "Radville",
			["right terminus"] = "Maryfield",
		},
		["Regina-Hudson Bay Junction"] = {
			["title"] = "[[Regina, Saskatchewan|Regina]] – [[Hudson Bay Junction]]",
			["color"] = "000000",
			["left terminus"] = "Regina",
			["right terminus"] = "Hudson Bay Junction",
		},
		["Regina-Weyburn"] = {
			["title"] = "[[Regina, Saskatchewan|Regina]] – [[Weyburn]]",
			["color"] = "000000",
			["left terminus"] = "Regina",
			["right terminus"] = "Weyburn",
		},
		["Richmond-Quebec"] = {
			["title"] = "[[Richmond, Quebec|Richmond]] – [[Quebec City|Quebec]]<br/><small>''Local stops''</small>",
			["color"] = "000000",
			["left terminus"] = "Richmond",
			["right terminus"] = "Quebec",
		},
		["Sackville-Cape Tormentine"] = {
			["title"] = "[[Sackville, New Brunswick|Sackville]] – [[Cape Tormentine, New Brunswick|Cape Tormentine]]",
			["color"] = "000000",
			["left terminus"] = "Sackville",
			["right terminus"] = "Cape Tormentine",
		},
		["Saskatoon-Carlton"] = {
			["title"] = "[[Saskatoon]] – [[Carlton, Saskatchewan|Carlton]]",
			["color"] = "000000",
			["left terminus"] = "Saskatoon",
			["right terminus"] = "Carlton",
		},
		["Saskatoon-Prince Albert"] = {
			["title"] = "[[Saskatoon]] – [[Prince Albert, Saskatchewan|Prince Albert]]",
			["color"] = "000000",
			["left terminus"] = "Saskatoon",
			["right terminus"] = "Prince Albert",
		},
		["Saskatoon-Regina 1964"] = {
			["title"] = "[[Saskatoon]] – [[Regina, Saskatchewan|Regina]]",
			["color"] = "000000",
			["left terminus"] = "Saskatoon",
			["right terminus"] = "Prince Albert",
		},
		["Sherridon-Cranberry Portage"] = {
			["title"] = "[[Sherridon]] – [[Cranberry Portage]]",
			["color"] = "000000",
			["left terminus"] = "Sherridon",
			["right terminus"] = "Cranberry Portage",
		},
		["St. Eustache-sur-le-Lac"] = {
			["title"] = "St. Eustache-sur-le-Lac services",
			["color"] = "000000",
			["left terminus"] = {"St. Eustache-sur-le-Lac", "Hawkesburg"},
			["right terminus"] = "Montreal",
		},
		["St. John-Halifax"] = {
			["title"] = "[[St. John, New Brunswick|St. John]] – [[Halifax, Nova Scotia|Halifax]]",
			["color"] = "000000",
			["left terminus"] = "St. John",
			["right terminus"] = "Halifax",
		},
		["St. Johns"] = {
			["title"] = "St. Johns services",
			["color"] = "000000",
			["left terminus"] = "Montreal",
			["right terminus"] = {"Waterloo", "Rouses Point"}
		},
		["St. Thomas-Hamilton"] = {
			["title"] = "[[St. Thomas, Ontario|St. Thomas]] – [[Hamilton, Ontario|Hamilton]]",
			["color"] = "000000",
			["left terminus"] = "St. Thomas",
			["right terminus"] = "Hamilton",
		},
		["Sarnia-Toronto"] = {
			["title"] = "[[Sarnia, Ontario|Sarnia]] – [[Toronto]]<br/><small>via Lucan Crossing</small>",
			["color"] = "000000",
			["left terminus"] = "Sarnia",
			["right terminus"] = "Toronto",
		},
		["Stratford-Fort Erie"] = {
			["title"] = "[[Stratford, Ontario|Stratford]] – [[Fort Erie, Ontario|Fort Erie]]",
			["color"] = "000000",
			["left terminus"] = "Stratford",
			["right terminus"] = "Fort Erie",
		},
		["Sudbury Branch"] = {
			["title"] = "Sudbury Branch",
			["color"] = "000000",
			["left terminus"] = "Sudbury",
			["right terminus"] = "Sudbury Junction",
		},
		["Thompson Branch"] = {
			["title"] = "Thompson Branch",
			["color"] = "000000",
			["left terminus"] = "Thompson",
			["right terminus"] = "Sipiwesk",
			["note-mid"] = "opened 1958",
		},
		["Toronto-Belleville"] = {
			["title"] = "[[Toronto]] – [[Belleville, Ontario|Belleville]] <small>via Peterboro</small>",
			["color"] = "000000",
			["left terminus"] = "Toronto",
			["right terminus"] = "Belleville",
		},
		["Toronto-Port Hope"] = {
			["title"] = "[[Toronto]] –<br/>[[Port Hope, Ontario|Port Hope]] <small>via Peterboro</small>",
			["color"] = "000000",
			["left terminus"] = "Toronto",
			["right terminus"] = "Port Hope",
		},
		["Truro-Sydney"] = {
			["title"] = "[[Truro, Nova Scotia|Truro]] – [[Sydney, Nova Scotia|Sydney]]",
			["color"] = "000000",
			["left terminus"] = "Truro",
			["right terminus"] = "Sydney",
		},
		["Westport-Brockville"] = {
			["title"] = "[[Westport, Ontario|Westport]] – [[Brockville, Ontario|Brockville]]",
			["color"] = "000000",
			["left terminus"] = "Westport",
			["right terminus"] = "Brockville",
		},
		["Weyburn-Radville"] = {
			["title"] = "[[Weyburn]] – [[Radville, Saskatchewan|Radville]]",
			["color"] = "000000",
			["left terminus"] = "Weyburn",
			["right terminus"] = "Radville",
		},
		["Whitecourt-Edmonton"] = {
			["title"] = "[[Whitecourt]] – [[Edmonton]]",
			["color"] = "000000",
			["left terminus"] = "Whitecourt",
			["right terminus"] = "Edmonton",
		},
		["Winnipeg-Port Arthur"] = {
			["title"] = "[[Winnipeg]] – [[Port Arthur, Ontario|Port Arthur]]",
			["color"] = "000000",
			["left terminus"] = "Winnipeg",
			["right terminus"] = "Port Arthur",
		},
		["Winnipeg-Victoria Beach"] = {
			["title"] = "[[Winnipeg]] – [[Victoria Beach, Manitoba|Victoria Beach]]",
			["color"] = "000000",
			["left terminus"] = "Winnipeg",
			["right terminus"] = "Victoria Beach",
		},
		["Winnipegosis-Rorketon"] = {
			["title"] = "[[Winnipegosis]] – [[Rorketon]]",
			["color"] = "000000",
			["left terminus"] = "Winnipegosis",
			["right terminus"] = "Rorketon",
		},
	},
}

return p