Module:Adjacent stations/Metrolinx

From blackwiki
< Module:Adjacent stations
Revision as of 19:06, 21 February 2020 by blackwiki>J5701
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 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",
		["Dixie"] = miway,
		["Pearson Airport"] = "Toronto Pearson Terminal 1 station",
		["Port Credit"] = go,
		["Union Station"] = "Union Station (Toronto)",
		["Weston"] = go,
	},
	["lines"] = {
		["Hurontario LRT"] = {
			["title"] = "[[Hurontario LRT]]",
			["color"] = "026894",
			["left terminus"] = "Brampton Gateway",
			["right terminus"] = "Port Credit",
		},
		["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"] = {
		["mississauga"] = "Mississauga Transitway",
		["upe"] = "Union Pearson Express",
	},
}

return p