Module:Adjacent stations/Metrolinx

From blackwiki
Jump to navigation Jump to search

This is a data module for Module:Adjacent stations. It supports services in Greater Toronto Area operated by the Metrolinx, including the Union Pearson Express, Mississauga Transitway, and the planned Hurontario LRT. For commuter rail services in the region, see Module:Adjacent stations/GO Transit. For other bus services on the transitway, see Module:Adjacent stations/MiWay.

Lines

Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc


local go = "%1 GO Station"
local miway = "%1 station (MiWay)"
local hulrt = "Hurontario LRT"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Metrolinx]]",
	["system icon"] = "",
	["system color"] = "000000",
	["name format"] = {
		"",
		["Union Pearson Express"] = "font-size: 150%; font-family:Helvetica, sans; font-weight: bolder; color: #FFFFFF; background-color: #4c4807; padding: 0.4em 0;",
	},
	["header background color"] = {
		"",
		["Union Pearson Express"] = "948a4c",
	},
	["header text color"] = {
		"",
		["Union Pearson Express"] = "FFFFFF",		
	},
	["station format"] = {
		"%1 station",
		["Bloor"] = go,
		["Brampton Gateway"] = "Brampton Gateway Terminal",
		["City Centre"] = "Mississauga City Centre Transit Terminal",
		["County Court"] = hulrt,
		["Dixie"] = miway,
		["Dundas"] = hulrt,
		["Eglinton"] = hulrt,
		["Fairview"] = hulrt,
		["Mineola"] = hulrt,
		["Pearson Airport"] = "Toronto Pearson Terminal 1 station",
		["Port Credit"] = go,
		["Robert Speck"] = hulrt,
		["Union Station"] = "Union Station (Toronto)",
		["Weston"] = go,
	},
	["lines"] = {
		["Hurontario LRT"] = {
			["title"] = "[[Hurontario LRT]]",
			["color"] = "026894",
			["left terminus"] = "Brampton Gateway",
			["right terminus"] = "Port Credit",
			["note-mid"] = "(opens 2024)",
		},
		["Mississauga Transitway"] = {
			["title"] = "[[Mississauga Transitway]]",
			["color"] = "026894",
			["left terminus"] = "Winston Churchill",
			["right terminus"] = "Renforth",
		},
		["Union Pearson Express"] = {
			["title"] = "[[Union Pearson Express]]",
			["color"] = "948a4c",
			["left terminus"] = "Pearson Airport",
			["right terminus"] = "Union Station",
		},
	},
	["aliases"] = {
		["hurontario"] = "Hurontario LRT",
		["mississauga"] = "Mississauga Transitway",
		["upe"] = "Union Pearson Express",
	},
}

return p