Difference between revisions of "Module:Adjacent stations/New York City Subway"

From blackwiki
Jump to navigation Jump to search
blackwiki>Cards84664
blackwiki>Cards84664
Line 23: Line 23:
 
["BSA Local"] = {
 
["BSA Local"] = {
 
["title"] = "[[File:NYCS-bull-trans-1-Std.svg|48px|link=1 (New York Subway service)]]",
 
["title"] = "[[File:NYCS-bull-trans-1-Std.svg|48px|link=1 (New York Subway service)]]",
 +
["color"] = "EE352E",
 +
["left terminus"] = " ",
 +
["right terminus"] = " ",
 +
["circular"] = true,
 +
},
 +
["BSA"] = {
 +
["title"] = "{{left|[[File:NYCS-bull-trans-1-Std.svg|48px|link=1 (New York Subway service)]]}}",
 
["color"] = "EE352E",
 
["color"] = "EE352E",
 
["left terminus"] = " ",
 
["left terminus"] = " ",

Revision as of 00:19, 21 April 2020

This is a data module for Module:Adjacent stations. It supports services operated by the New York City Subway.

Lines

Template:Rail template doc Template:Rail template doc


local sta = "%1 station"
local NYCS = "%1 (New York City Subway)"
local BSA = "%1 (IRT Broadway–Seventh Avenue Line)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[New York City Subway|NYCS]]",
	["system icon"] = "[[File:MTA NYC logo.svg|16px|link=New York City Subway|alt=New York City Subway]]",
	["station format"] = {
		sta,
		["79th Street"] = BSA,
		["96th Street"] = BSA,
		["103rd Street"] = BSA,
	},
	["lines"] = {
		["BSA Express"] = {
			["title"] = "[[File:NYCS-bull-trans-2-Std.svg|32px|link=2 (New York Subway service)]] [[File:NYCS-bull-trans-3-Std.svg|32px|link=3 (New York Subway service)]]</big>",
			["color"] = "EE352E",
			["left terminus"] = "&nbsp;",
			["right terminus"] = "&nbsp;",
			["circular"] = true,
		},
		["BSA Local"] = {
			["title"] = "[[File:NYCS-bull-trans-1-Std.svg|48px|link=1 (New York Subway service)]]",
			["color"] = "EE352E",
			["left terminus"] = "&nbsp;",
			["right terminus"] = "&nbsp;",
			["circular"] = true,
		},
		["BSA"] = {
			["title"] = "{{left|[[File:NYCS-bull-trans-1-Std.svg|48px|link=1 (New York Subway service)]]}}",
			["color"] = "EE352E",
			["left terminus"] = "&nbsp;",
			["right terminus"] = "&nbsp;",
			["circular"] = true,
		},
	},
}

return p