Module:Adjacent stations/Toronto Transit Commission

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"] = "", ["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", ["Aga Khan"] = "Aga Khan Park & Museum", ["Bathurst"] = TO, ["Bayview"] = TO, ["Birchmount"] = stop, ["Bloor"] = "Bloor–Yonge station", ["Chester"] = TO, ["College"] = TO, ["Danforth Avenue"] = TO, ["Distillery Loop"] = "%1", ["Distillery"] = "Distillery Loop", ["Downsview"] = "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", },		["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", ["Sloane"] = stop, ["Sunnybrook Park"] = stop, ["Union"] = "Union station (TTC)", ["VMC"] = "Vaughan", ["Vaughan"] = "Vaughan", ["Vaughan Metro Centre"] = "Vaughan", ["Vaughan Metropolitan Centre"] = "Vaughan", ["Victoria Park"] = TO, ["Westmore"] = fw, ["Wilson"] = TO, ["Wynford"] = stop, ["Yonge"] = "Bloor–Yonge station", "%1 station", },	["lines"] = { ["_default"] = { ["color"] = "DB2017", },		["1"] = {			["title"] = "Yonge–University", ["color"] = "FFCB0C", ["icon"] = "", ["left terminus"] = "Vaughan Metropolitan Centre", ["right terminus"] = "Finch", },		["2"] = {			["title"] = "Bloor–Danforth", ["color"] = "16A753", ["icon"] = "", ["left terminus"] = "Kipling", ["right terminus"] = "Kennedy", },		["2A"] = { ["title"] = "Scarborough Extension", ["color"] = "44B875", ["icon"] = "", ["left terminus"] = "Kipling", ["right terminus"] = "Sheppard East", ["note-mid"] = "(opens 2030)", },		["3"] = {			["title"] = "Scarborough", ["color"] = "1F99D5", ["icon"] = "", ["left terminus"] = "Kennedy", ["right terminus"] = "McCowan", },		["4"] = {			["title"] = "Sheppard", ["color"] = "B32078", ["icon"] = "", ["left terminus"] = "Sheppard–Yonge", ["right terminus"] = "Don Mills", },		["5"] = {			["title"] = "Eglinton", ["color"] = "F87005", ["icon"] = "", ["left terminus"] = "Mount Dennis", ["right terminus"] = "Kennedy", ["note-mid"] = "(opens 2022)", },		["5W"] = { ["title"] = "West extension", ["color"] = "F98C36", ["icon"] = "", ["left terminus"] = "Renforth", ["right terminus"] = "Kennedy", ["note-mid"] = "(opens 2030)", },		["6"] = {			["title"] = "Finch West", ["color"] = "888888", ["icon"] = "", ["left terminus"] = "Humber College", ["right terminus"] = "Finch West", ["note-mid"] = "(opens 2023)", },		["SE"] = { ["title"] = "Sheppard East", ["color"] = "A3D6A7", ["icon"] = "", ["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"] = "504A King", ["left terminus"] = "Dundas West", ["right terminus"] = "Distillery Loop", },		["504B"] = { ["title"] = "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", ["color"] = "000000", },		["Malvern"] = { ["title"] = "Scarborough Malvern LRT", ["color"] = "552200", },		["Yonge North"] = { ["title"] = "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