Module:Adjacent stations/Toronto Transit Commission

Documentation for this module may be created at Module:Adjacent stations/Toronto Transit Commission/doc

local TO = "%1 station (Toronto)"
local stop = "%1 stop"
local EW = "Line 5 Eglinton#Eglinton West LRT"
local fw = "Line 6 Finch West"

local p = {
	["system title"] = "[[Toronto Transit Commission]]",
	["system icon"] = "[[File:Logo of the Toronto Transit Commission.svg|18px|link=Toronto Transit Commission]]",
	["system color"] = "DB2017",
	["name format"] = "font-size: 160%; font-family: sans-serif; font-weight: bolder; text-align: left; color: #FFF; background-color: #000; padding: 0.4em 0.4em 0.4em 0.4em;",
	["header background color"] = "c0c0c0",
	["station format"] = {
		["Aga Khan Park & Museum"] = stop,
		["Aga Khan Park"] = "[[Aga Khan Park & Museum stop|Aga Khan Park & Museum]]",
		["Aga Khan"] = "[[Aga Khan Park & Museum stop|Aga Khan Park & Museum]]",
		["Bathurst"] = TO,
		["Bayview"] = TO,
		["Birchmount"] = stop,
		["Bloor"] = "Bloor–Yonge station",
		["Cedarvale"] = "Eglinton West station",
		["Chester"] = TO,
		["College"] = TO,
		["Danforth Avenue"] = TO,
		["Distillery Loop"] = "%1",
		["Distillery"] =  "[[Distillery Loop]]",
		["Downsview"] = "[[Sheppard West station|Sheppard West]]",
		["Dufferin Gate Loop"] = "%1",
		["Dufferin Gate"] = "[[Dufferin Gate Loop]]",
		["Dundas"] = TO,
		["Exhibition Loop"] = "Exhibition Loop",
		["Exhibition"] = "Exhibition GO Station",
		["Forest Hill"] = TO,
		["Golden Mile"] = stop,
		["Greenwood"] = TO,
		["Gunns Loop"] = "%1",
		["Hakimi Lebovic"] = stop,
		["High Park Loop"] = "%1",
		["Ionview"] = stop,
		["Islington"] = TO,
		["Jane"] = {
			"%1 station",
			["5W"] = "Line 5 Eglinton#Eglinton West LRT",
		},
		["Jane and Finch"] = fw,
		["King"] = TO,
		["Lansdowne"] = TO,
		["Lawrence"] = TO,
		["Main Street"] = TO,
		["Martin Grove"] = EW,
		["Midland"] = TO,
		["Mount Pleasant"] = TO,
		["Museum"] = TO,
		["O'Connor"] = stop,
		["Oakwood"] = TO,
		["Pharmacy"] = stop,
		["Queen's Park"] = TO,
		["Rosedale"] = TO,
		["Sentinel"] = fw,
		["Sheppard East"] = "Line 2 Bloor–Danforth#Scarborough subway",
		["Sheppard"] = "[[Sheppard–Yonge station|Sheppard–Yonge]]",
		["Sloane"] = stop,
		["Sunnybrook Park"] = stop,
		["Union"] = "Union station (TTC)",
		["VMC"] = "[[Vaughan Metropolitan Centre station|Vaughan]]",
		["Vaughan"] = "[[Vaughan Metropolitan Centre station|Vaughan]]",
		["Vaughan Metro Centre"] =  "[[Vaughan Metropolitan Centre station|Vaughan]]",
		["Vaughan Metropolitan Centre"] = "[[Vaughan Metropolitan Centre station|Vaughan]]",
		["Victoria Park"] = TO,
		["Westmore"] = fw,
		["Wilson"] = TO,
		["Wynford"] = stop,
		["Yonge"] = "Bloor–Yonge station",
		"%1 station",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "DB2017",	
		},
		["1"] = {
			["title"] = "[[Line 1 Yonge–University|Yonge–University]]",
			["color"] = "FFCB0C",
			["icon"] = "[[File:TTC - Line 1 - Yonge-University-Spadina line.svg|16px|link=Line 1 Yonge–University]]",
			["left terminus"] = "Vaughan Metropolitan Centre",
			["right terminus"] = "Finch",
		},
		["2"] = {
			["title"] = "[[Line 2 Bloor–Danforth|Bloor–Danforth]]",
			["color"] = "16A753",
			["icon"] = "[[File:TTC - Line 2 - Bloor-Danforth line.svg|16px|link=Line 2 Bloor–Danforth]]",
			["left terminus"] = "Kipling",
			["right terminus"] = "Kennedy",
		},
		["2A"] = {
			["title"] = "[[Line 2 Bloor–Danforth#Scarborough Subway Extension|Scarborough Extension]]",
			["color"] = "44B875",
			["icon"] = "[[File:TTC - Line 2 - Bloor-Danforth line.svg|16px|link=Line 2 Bloor–Danforth]]",
			["left terminus"] = "Kipling",
			["right terminus"] = "Sheppard East",
			["note-mid"] = "(opens 2030)",
		},
		["3"] = {
			["title"] = "[[Line 3 Scarborough|Scarborough]]",
			["color"] = "1F99D5",
			["icon"] = "[[File:TTC - Line 3 - Scarborough RT line.svg|16px|link=Line 3 Scarborough]]",
			["left terminus"] = "Kennedy",
			["right terminus"] = "McCowan",
		},
		["4"] = {
			["title"] = "[[Line 4 Sheppard|Sheppard]]",
			["color"] = "B32078",
			["icon"] = "[[File:TTC - Line 4 - Sheppard line.svg|16px|link=Line 4 Sheppard]]",
			["left terminus"] = "Sheppard–Yonge",
			["right terminus"] = "Don Mills",
		},
		["5"] = {
			["title"] = "[[Line 5 Eglinton|Eglinton]]",
			["color"] = "F87005",
			["icon"] = "[[File:TTC - Line 5.svg|16px|link=Line 5 Eglinton]]",
			["left terminus"] = "Mount Dennis",
			["right terminus"] = "Kennedy",
			["note-mid"] = "(opens 2024)",
		},
		["5W"] = {
			["title"] = "[[Line 5 Eglinton#Eglinton West LRT|West extension]]",
			["color"] = "F98C36",
			["icon"] = "[[File:TTC - Line 5.svg|16px|link=Line 5 Eglinton]]",
			["left terminus"] = "Renforth",
			["right terminus"] = "Kennedy",
			["note-mid"] = "(opens 2030)",
		},
		["6"] = {
			["title"] = "[[Line 6 Finch West|Finch West]]",
			["color"] = "888888",
			["icon"] = "[[File:TTC - Line 6.svg|16px|link=Line 6 Finch West]]",
			["left terminus"] = "Humber College",
			["right terminus"] = "Finch West",
			["note-mid"] = "(opens 2023)",
		},
		["SE"] = {
			["title"] = "[[Sheppard East LRT|Sheppard East]]",
			["color"] = "A3D6A7",
			["icon"] = "[[File:TTC - SE.svg|16px|link=Sheppard East LRT]]",
			["left terminus"] = "Don Mills",
			["right terminus"] = "Morningside",
			["note-mid"] = "(cancelled)",
		},
		["O"] = {
			["title"] = "[[Ontario Line]]",
			["color"] = "1F99D5",
			["left terminus"] = "Exhibition",
			["right terminus"] = "Science Centre",
			["note-mid"] = "(opens 2030)",
		},
		["501"] = {
			["title"] = "[[501 Queen]]",
			["left terminus"] = "Long Branch Loop",
			["right terminus"] = "Neville Park Loop",
		},
		["504A"] = {
			["title"] = "[[504 King|504A King]]",
			["left terminus"] = "Dundas West",
			["right terminus"] = "Distillery Loop",
		},
		["504B"] = {
			["title"] = "[[504 King|504B King]]",
			["left terminus"] = "Dufferin Gate Loop",
			["right terminus"] = "Broadview",
		},
		["505"] = {
			["title"] = "[[505 Dundas]]",
			["left terminus"] = "Dundas West",
			["right terminus"] = "Broadview",
		},
		["506"] = {
			["title"] = "[[506 Carlton]]",
			["left terminus"] = "High Park Loop",
			["right terminus"] = "Main Street",
		},
		["509"] = {
			["title"] = "[[509 Harbourfront]]",
			["left terminus"] = "Exhibition Loop",
			["right terminus"] = "Union",
		},
		["510"] = {
			["title"] = "[[510 Spadina]]",
			["left terminus"] = "Spadina",
			["right terminus"] = "Union",
		},
		["511"] = {
			["title"] = "[[511 Bathurst]]",
			["left terminus"] = "Exhibition Loop",
			["right terminus"] = "Bathurst",
		},
		["512"] = {
			["title"] = "[[512 St. Clair]]",
			["left terminus"] = "Gunns Loop",
			["right terminus"] = "St. Clair",
		},
		["Jane"] = {
			["title"] = "[[Jane LRT]]",
			["color"] = "ef73ab",
		},
		["Relief Line"] = {
			["title"] = "[[Relief Line (Toronto)|Relief Line]]",
			["color"] = "000000",
		},
		["Malvern"] = {
			["title"] = "[[Scarborough Malvern LRT]]",
			["color"] = "552200",
		},
		["Yonge North"] = {
			["title"] = "[[Line 1 Yonge–University#Yonge North extension|Yonge North extension]]",
			["color"] = "f0e68c",
		},
	},
	["aliases"] = {
		["yonge–university"] = "1",
		["bloor–danforth"] = "2",
		["2 extension"] = "2A",
		["scarborough"] = "3",
		["sheppard"] = "4",
		["eglinton"] = "5",
		["eglinton west"] = "5W",
		["finch west"] = "6",
		["sheppard east"] = "SE",
		["ontario line"] = "O",
		["ontario"] = "O",
	},
}

return p