Module talk:Adjacent stations/Sound Transit

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

New line numbers[edit]

@Mackensen: I'd like to start using the new numbering scheme for Link lines, but I keep running into errors when trying to add to the module. Would you be able to parse what's wrong with my edit? SounderBruce 06:35, 31 July 2020 (UTC)[reply]

  • @SounderBruce: You've got an HTML comment removing a couple blocks. That's not going to be valid lua syntax. Mackensen (talk) 11:15, 31 July 2020 (UTC)[reply]
  • I implemented some of the changes as a demonstration. You'll want to add aliases when renaming lines so that the existing usages continue to work. Mackensen (talk) 11:25, 31 July 2020 (UTC)[reply]
		["Line 1"] = {
			["title"] = "[[Line 1 (Sound Transit)|Line 1]]",
			["color"] = "3dad4e",
			["left terminus"] = "University of Washington",
			["right terminus"] = "Angle Lake",
			["types"] = {
				["Tacoma"] = {
					["title"] = "[[Tacoma Dome Link Extension|Tacoma Dome Extension]]",
					["note-mid"] = "(2030)",
					["left terminus"] = "Lynnwood City Center",
					["right terminus"] = "Tacoma Dome",
				},
				["Ballard"] = {
					["title"] = "[[Ballard Link Extension|Ballard Extension]]",
					["note-mid"] = "(2035)",
					["left terminus"] = "Ballard",
					["right terminus"] = "Tacoma Dome",
				},
				["Northgate"] = {
					["title"] = "[[Northgate Link Extension|Northgate Extension]]",
					["note-mid"] = "(2021)",
					["left terminus"] = "Northgate",
					["right terminus"] = "Angle Lake",
				}

			}
		},
		["Line 2"] = {
			["title"] = "[[Line 2 (Sound Transit)|Line 2]]",
			["color"] = "09a1db",
			["left terminus"] = "Northgate",
			["right terminus"] = "Redmond Technology",
			["types"] = {
				["Tacoma"] = {
					["title"] = "[[Downtown Redmond Link Extension|Downtown Redmond Extension]]",
					["note-mid"] = "(2024)",
					["left terminus"] = "Northgate",
					["right terminus"] = "Downtown Redmond",
				}
		},
		["Line 3"] = {
			["title"] = "[[Line 3 (Sound Transit)|Line 3]]",
			["color"] = "e04f9b",
			["left terminus"] = "West Seattle",
			["right terminus"] = "Everett",
		},
		["Line 4"] = {
			["title"] = "[[Line 4 (Sound Transit)|Line 4]]",
			["color"] = "9c59a1",
			["left terminus"] = "South Kirkland",
			["right terminus"] = "Issqauah",<!--
		},
		["North"] = {
			["title"] = "[[Sounder commuter rail#North Line|N Line]]",
			["color"] = "9cb6d2",
			["left terminus"] = "Seattle",
			["right terminus"] = "Everett",
		},
		["South"] = {
			["title"] = "[[Sounder commuter rail#South Line|S Line]]",
			["color"] = "9cb6d2",
			["left terminus"] = "Lakewood",
			["right terminus"] = "Seattle",-->
		},
		["Line T"] = {
			["title"] = "[[Line T (Sound Transit)|Line T]]",
			["color"] = "f08932",
			["left terminus"] = "Theater District/South 9th Street",
			["right terminus"] = "Tacoma Dome",
		},

Line icons[edit]

@Mackensen: I need a bit of help adding the line icons to the browse in this module, similar to the setup for {{s-line}} demonstrated at Shoreline South/148th station. The icons themselves are in commons:Category:Sound Transit icons. SounderBruce 05:21, 26 March 2021 (UTC)[reply]

SounderBruce, I just added Line 1 as an example. Mackensen (talk) 10:45, 26 March 2021 (UTC)[reply]