Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:Adjacent stations/Metrolinx

From Wikipedia, the free encyclopedia

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

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Metrolinx]]",
	["system icon"] = "[[File:Metrolinx 2017 logo.svg|22px|link=Metrolinx]]",
	["system color"] = "000000",
	["name format"] = {
		"",
		["Union Pearson Express"] = "font-size: 150%; font-family:Helvetica, sans; font-weight: bolder; color: #FFFFFF; background-color: #2386C7; padding: 0.4em 0;",
		["Harmonized"] = "font-size: 150%; font-family:Helvetica, sans; font-weight: bolder; color: #FFFFFF; background-color: #211F21; padding: 0.4em 0;",
	},
	["header background color"] = {
		"",
		["Union Pearson Express"] = "2386C7",
		["Harmonized"] = "211F21",
	},
	["header text color"] = {
		"",
		["Union Pearson Express"] = "FFFFFF",
		["Harmonized"] = "FFFFFF",
	},
	["infobox station"] = {
		["Harmonized"] = {
			["_header"] = {
				["font-size"] = "150%",
				["font-family"] = "Helvetica, sans",
				["font-weight"] = "bolder",
				["color"] = "#FFFFFF",
				["background-color"] = "#211F21",
				["padding"] = "0.4em 0"
			},
			["_subheader"] = {
				["background-color"] = "#211F21",
				["color"] = "#FFFFFF",
			}
		}
	},	
	["station format"] = {
		"%1 station",
		["Bloor"] = go,
		["Brampton Gateway"] = "Brampton Gateway Terminal",
		["City Centre"] = "Mississauga City Centre Transit Terminal",
		["County Court"] = mccallion,
		["Dixie"] = miway,
		["Dundas"] = mccallion,
		["Eglinton"] = mccallion,
		["Fairview"] = mccallion,
		["Mineola"] = mccallion,
		["Port Credit"] = go,
		["Robert Speck"] = mccallion,
		["Union"] = "Union Station (Toronto)",
		["Union Station"] = "Union Station (Toronto)",
		["Weston"] = go,
        ["Woodbine"] = go,
	},
	["lines"] = {
		["Hurontario LRT"] = {
			["title"] = "[[Hurontario LRT]]",
			["color"] = "6EB43F",
			["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]]",
			["icon"] = "[[File:UP Express icon 2024.svg|16px|link=Union Pearson Express]]",
			["color"] = "2386C7",
			["left terminus"] = "Pearson Airport",
			["right terminus"] = "Union",
		},
	},
	["aliases"] = {
		["hurontario"] = "Hurontario LRT",
		["mississauga"] = "Mississauga Transitway",
		["upe"] = "Union Pearson Express",
	},
}

return p