Module:Adjacent stations/Toronto Transit Commission

local TO = "%1 station (Toronto)" local stop = "%1 stop"

local p = { ["system title"] = "Toronto Transit Commission", ["system icon"] = "", ["system color"] = "DA251D", ["name format"] = "font-size: 160%; font-family: sans-serif; font-weight: bolder; text-align: left; color: #FFFFFF; background-color: #000000; padding: 0.4em 0.4em 0.4em 0.4em;", ["header background color"] = "C0C0C0", ["station format"] = { ["37th Street"] = stop, ["Aga Khan Park & Museum"] = stop, ["Aga Khan Park"] = "Aga Khan Park & Museum", ["Aga Khan"] = "Aga Khan Park & Museum", ["Bathurst"] = TO, ["Bay Street"] = stop, ["Bayview"] = TO, ["Birchmount"] = stop, ["Bloor"] = "Bloor–Yonge station", ["Cedarvale"] = "Eglinton West station", ["Chester"] = TO, ["Clark"] = 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, ["Galloway"] = stop, ["Golden Mile"] = stop, ["Guildwood Parkway"] = stop, ["Greenwood"] = TO, ["Gunns Loop"] = "%1", ["Hakimi Lebovic"] = stop, ["High Park Loop"] = "%1", ["Humber Loop"] = "%1", ["Ionview"] = stop, ["Islington"] = TO, ["Jane Line 5"] = "Jane", ["King"] = TO, ["Lansdowne"] = TO, ["Lawrence"] = TO, ["Lawrence East new"] = "Lawrence East (future)", ["Long Branch Loop"] = "%1", ["Main Street"] = TO, ["Mason"] = stop, ["Midland"] = TO, ["Midland stop"] = "Midland", ["McCowan stop"] = "McCowan", ["McCowan/&#x200B;Sheppard"] = "Line 2 Bloor–Danforth#New stations", ["Mount Pleasant"] = TO, ["Museum"] = TO, ["Neville Park Loop"] = "%1", ["Oakwood"] = TO, ["O'Connor"] = stop, ["Parliament Street"] = "Parliament Street (Toronto)", ["Pharmacy"] = stop, ["Queen's Park"] = TO, ["Rosedale"] = TO, ["Sentinel"] = stop, ["Sheppard"] = "Sheppard–Yonge", ["Sunnybrook Park"] = stop, ["Union"] = "Union station (TTC)", ["VMC"] = "Vaughan", ["Vaughan"] = "Vaughan", ["Vaughan Metro Centre"] = "Vaughan", ["Vaughan Metropolitan Centre"] = "Vaughan", ["Victoria Park"] = TO, ["Westmore"] = stop, ["Wilson"] = TO, ["Wynford"] = stop, ["Victoria Street"] = stop, ["Yonge"] = "Bloor–Yonge station", ["York Street"] = stop, "%1 station", },	["lines"] = { ["_default"] = { ["color"] = "DA251D", },		-- Current ["1"] = {			["title"] = "Line 1 Yonge–University", ["color"] = "F8C302", ["icon"] = "", ["left terminus"] = "Vaughan Metropolitan Centre", ["right terminus"] = "Finch", },		["2"] = {			["title"] = "Line 2 Bloor–Danforth", ["color"] = "00923F", ["icon"] = "", ["left terminus"] = "Kipling", ["right terminus"] = "Kennedy", },		["4"] = {			["title"] = "Line 4 Sheppard", ["color"] = "A21A68", ["icon"] = "", ["left terminus"] = "Sheppard–Yonge", ["right terminus"] = "Don Mills", },		["501"] = {			["title"] = "501 Queen", ["icon"] = "", ["left terminus"] = "Long Branch Loop", ["right terminus"] = "Neville Park Loop", },		["503"] = {			["title"] = "503 Kingston Rd", ["icon"] = "", ["left terminus"] = "Spadina", ["right terminus"] = "Bingham Loop", },		["504"] = {			["title"] = "504 King", ["icon"] = "", ["left terminus"] = {"Dundas West", "Dufferin Gate Loop"}, ["right terminus"] = {"Distillery Loop", "Broadview"}, },		["504A"] = { ["title"] = "504A King", ["icon"] = "", ["left terminus"] = "Dundas West", ["right terminus"] = "Distillery Loop", },		["504B"] = { ["title"] = "504B King", ["icon"] = "", ["left terminus"] = "Dufferin Gate Loop", ["right terminus"] = "Broadview", },		["505"] = {			["title"] = "505 Dundas", ["icon"] = "", ["left terminus"] = "Dundas West", ["right terminus"] = "Broadview", },		["506"] = {			["title"] = "506 Carlton", ["icon"] = "", ["left terminus"] = "High Park Loop", ["right terminus"] = "Main Street", },		["507"] = {			["title"] = "507 Long Branch", ["icon"] = "", ["left terminus"] = "Long Branch Loop", ["right terminus"] = "Humber Loop", },		["508"] = {			["title"] = "508 Lake Shore", ["icon"] = "", ["left terminus"] = "Long Branch Loop", ["right terminus"] = "Parliament Street", },		["509"] = {			["title"] = "509 Harbourfront", ["icon"] = "", ["left terminus"] = "Exhibition Loop", ["right terminus"] = "Union", },		["510"] = {			["title"] = "510 Spadina", ["icon"] = "", ["left terminus"] = "Spadina", ["right terminus"] = "Union", },		["511"] = {			["title"] = "511 Bathurst", ["icon"] = "", ["left terminus"] = "Exhibition Loop", ["right terminus"] = "Bathurst", },		["512"] = {			["title"] = "512 St. Clair", ["icon"] = "", ["left terminus"] = "Gunns Loop", ["right terminus"] = "St. Clair", },		-- Under construction ["5"] = {			["title"] = "Line 5 Eglinton", ["color"] = "FF7D24", ["icon"] = "", ["left terminus"] = "Mount Dennis", ["right terminus"] = "Kennedy", ["note-mid"] = "(opens 2024)", },		["6"] = {			["title"] = "Line 6 Finch West", ["color"] = "8A999A", ["icon"] = "", ["left terminus"] = "Humber College", ["right terminus"] = "Finch West", ["note-mid"] = "(opens 2024)", },		["2E"] = { ["title"] = "Scarborough extension", ["color"] = "7EC49A", ["icon"] = "", ["left terminus"] = "Kipling", ["right terminus"] = "McCowan/&#x200B;Sheppard", ["note-mid"] = "(opens 2030)", },		["O"] = { ["title"] = "Ontario Line", ["color"] = "31A1DB", ["icon"] = "", ["left terminus"] = "Exhibition", ["right terminus"] = "Science Centre", ["note-mid"] = "(opens 2030)", },		["5W"] = { ["title"] = "Eglinton (west extension)", ["color"] = "FF9955", ["icon"] = "", ["left terminus"] = "Renforth", ["right terminus"] = "Kennedy", ["note-mid"] = "(opens 2030)", },		-- Former ["3"] = {			["title"] = "Line 3 Scarborough", ["color"] = "31A1DB", ["icon"] = "", ["left terminus"] = "Kennedy", ["right terminus"] = "McCowan", },		-- Active proposals ["1N"] = { ["title"] = "Yonge North extension", ["color"] = "FFEB81", ["icon"] = "", ["left terminus"] = "Vaughan Metropolitan Centre", ["right terminus"] = "High Tech", ["note-mid"] = "(opens 2030/2031)", },		["7"] = {			["title"] = "Eglinton East", ["color"] = "A5DBA7", ["icon"] = "", ["left terminus"] = "Kennedy", ["right terminus"] = "McCowan/Sheppard", ["note-mid"] = "(opens 2034)", },		["WW"] = { ["title"] = "Waterfront West", ["color"] = "0088AA", ["icon"] = "", ["note-mid"] = "(opening TBD)", },		["4W"] = { ["title"] = "Sheppard (future expansion)", ["color"] = "D173B8", ["icon"] = "", ["left terminus"] = "Sheppard West", ["right terminus"] = "McCowan/Sheppard", ["note-mid"] = "(opening TBD)", },		-- Inactive proposals ["J"] = { ["title"] = "Jane", ["color"] = "FB71B5", ["icon"] = "", ["left terminus"] = "Pioneer Village", ["right terminus"] = "Jane", ["note-mid"] = "(inactive proposal)", },		["DM"] = { ["title"] = "Don Mills", ["color"] = "D20C13", ["icon"] = "", ["left terminus"] = "Highway 7", ["right terminus"] = "Pape", ["note-mid"] = "(inactive proposal)", },		-- Cancelled proposals ["RL"] = { ["title"] = "Relief Line", ["color"] = "000000", ["icon"] = "", ["left terminus"] = "Osgoode", ["right terminus"] = "Pape", ["note-mid"] = "(cancelled)", },		["SE"] = { ["title"] = "Sheppard East", ["color"] = "A5DBA7", ["icon"] = "", ["left terminus"] = "Don Mills", ["right terminus"] = "Morningside", ["note-mid"] = "(cancelled)", },		["SM"] = { ["title"] = "Scarborough Malvern", ["color"] = "552200", ["icon"] = "", ["left terminus"] = "Kennedy", ["right terminus"] = "Sheppard", ["note-mid"] = "(cancelled)", }	},	["aliases"] = { ["yonge–university"] = "1", ["yu"] = "1", ["bloor–danforth"] = "2", ["bd"] = "2", ["sheppard"] = "4", ["eglinton"] = "5", ["e"] = "5", ["finch west"] = "6", ["fw"] = "6", ["sse"] = "2E", ["2 extension"] = "2E", ["ontario line"] = "O", ["ontario"] = "O", ["ew"] = "5W", ["eglinton west"] = "5W", ["scarborough"] = "3", ["srt"] = "3", ["yne"] = "1N", ["yonge north"] = "1N", ["1 extension"] = "1N", ["1e"] = "1N", ["yn"] = "1N", ["eglinton east"] = "7", ["ee"] = "7", ["waterfront west"] = "WW", ["4 expansion"] = "4W", ["sw"] = "4W", ["don mills"] = "DM", ["jane"] = "J", ["relief line"] = "RL", ["sheppard east"] = "SE", ["scarborough malvern"] ="SM" }, }

return p