Module:Adjacent stations/NJ Transit

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

local hblr = "%1 station (Hudson–Bergen Light Rail)"
local nj = "%1 station (New Jersey)"
local njt = "%1 station (NJ Transit)"
local nlr = "%1 station (Newark Light Rail)"
local ny = "%1 station (New York)"
local raw = "%1"
local river = "%1 station (River Line)"
local trc = "%1 Transit Center"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[NJ Transit]]",
	["system icon"] = "[[File:NJT logo.svg|18px|link=NJ Transit]]",
	["name format"] = {
		"font-size: 200%; font-family:Helvatica, 'Liberation Sans', Arial, sans; font-weight: bolder; line-height: 150%; color:white;background-color:#000000; border-top: 7px solid #A9A9A9",
		["Former"] = "font-size: 200%; text-transform:uppercase; font-family:Helvatica, 'Liberation Sans', Arial, sans; font-weight: bolder; line-height: 110%; color:white;background-color:#A0522D;",
		["Newark Light Rail"] = "font-family:Helvetica;background-color:#006400;text-transform:nowrap;text-align:center;font-size:160%;color:white;padding:4px;line-height:95%",
	},
	["header background color"] = {
		"000000",
		["Former"] = "A0522D",
	},
	["station format"] = {
		"%1 station",
		["2nd Street"] = hblr,
		["8th Street"] = hblr,
		["22nd Street"] = hblr,
		["34th Street"] = hblr,
		["36th Street"] = river,
		["45th Street"] = hblr,
		["91st Street"] = hblr,
		["Allendale"] = njt,
		["Andover"] = njt,
		["Aquarium"] = river,
		["Arlington"] = njt,
		["Atlantic City"] = "Atlantic City Rail Terminal",
		["Bridgewater"] = njt,
		["Broadway"] = njt,
		["Chatham"] = njt,
		["Cherry Hill"] = njt,
		["Clifton"] = njt,
		["Convent Station"] = "Convent Station (NJ Transit)",
		["Dover"] = njt,
		["Elizabeth"] = njt,
		["Emerson"] = njt,
		["Essex Street"] = {
			hblr,
			["Pascack Valley"] = njt,
		},
		["Exchange Place"] = hblr,
		["Florence"] = river,
		["Garfield"] = njt,
		["Gladstone"] = njt,
		["Grant Avenue"] = njt,
		["Grove Street"] = {
			nlr,
			["Morristown"] = njt,
			["Gladstone"] = njt,
		},
		["Hamilton"] = njt,
		["Hampton"] = njt,
		["Harrison"] = njt,
		["Hawthorne"] = njt,
		["Highland Avenue"] = njt,
		["Hillsdale"] = njt,
		["Hoboken"] = {
			"Hoboken Terminal",
			["8th Street-Hoboken"] = "Hoboken Terminal#Light rail",
			["Bayonne Flyer"] = "Hoboken Terminal#Light rail",
			["Hoboken-Tonnelle"] = "Hoboken Terminal#Light rail",
		},
		["Jersey Avenue"] = {
			"Jersey Avenue station",
			["8th Street-Hoboken"] = hblr,
			["West Side-Tonnelle"] = hblr,
		},
		["Lebanon"] = njt,
		["Linden"] = njt,
		["Madison"] = njt,
		["Middletown"] = njt,
		["Mountain Station"] = raw,
		["Mountain View"] = njt,
		["Murray Hill"] = njt,
		["New York"] = "[[Pennsylvania Station (New York City)|New York Penn Station]]",
		["Newark Airport"] = "[[Newark Liberty International Airport Station|Newark Liberty Int'l Airport]]",
		["Newark Penn"] = "[[Newark Penn Station]]",
		["Newport"] = hblr,
		["Orange"] = njt,
		["Orange Street"] = nlr,
		["Park Avenue"] = nlr,
		["Park Ridge"] = njt,
		["Passaic"] = njt,
		["Pennsauken"] = trc,
		["Philadelphia"] = "30th Street Station",
		["Port Imperial"] = "Weehawken Port Imperial#Light rail",
		["Princeton"] = njt,
		["Ramsey Main Street"] = "[[Ramsey station (NJ Transit)|Ramsey Main Street]]",
		["Ramsey"] = njt,
		["Riverside"] = river,
		["Scranton"] = "Lackawanna Transit Center",
		["Secaucus Junction"] = raw,
		["Secaucus"] = "Secaucus Junction",
		["Spring Valley"] = ny,
		["Stirling"] = njt,
		["Summit"] = njt,
		["Trenton"] = trc,
		["Tuckahoe"] = nj,
		["Union"] = njt,
		["Walnut Street"] = njt,
		["Walter Rand Transportation Center"] = raw,
		["Washington Park"] = nlr,
		["Washington Street"] = nlr,
		["Wayne Route 23"] = trc,
		["Wesmont"] = njt,
		["Westfield"] = njt,
		["Westwood"] = njt,
		["Woodbridge"] = njt,
	},
	["lines"] = {
		["8th Street-Hoboken"] = {
			["title"] = "[[8th Street–Hoboken]]",
			["color"] = "00A5E3",
			["left terminus"] = "8th Street",
			["right terminus"] = "Hoboken",
		},
		["ACES"] = {
			["title"] = "[[Atlantic City Express Service]]",
			["color"] = "005DAA",
			["left terminus"] = "Atlantic City",
			["right terminus"] = "New York",
		},
		["Atlantic City"] = {
			["title"] = "[[Atlantic City Line]]",
			["color"] = "005DAA",
			["left terminus"] = "Philadelphia",
			["right terminus"] = "Atlantic City",
		},
		["Bayonne Flyer"] = {
			["title"] = "''[[Bayonne Flyer]]''",
			["color"] = "00A5E3",
			["left terminus"] = "8th Street",
			["right terminus"] = "Hoboken",
		},
		["Bergen County"] = {
			["title"] = "[[Bergen County Line]]",
			["color"] = "B9C9DF",
			["left terminus"] = "Suffern",
			["right terminus"] = "Hoboken",
		},
		["Broad Street"] = {
			["title"] = "[[Newark Light Rail#Broad Street Extension|Broad Street – Newark Penn]]",
			["color"] = "ffcf06",
			["left terminus"] = "Newark Penn",
			["right terminus"] = "Newark Broad Street",
		},
		["Boonton"] = {
			["title"] = "[[Montclair-Boonton Line|Boonton Line]]",
			["color"] = "8B0000",
			["left terminus"] = "Hackettstown",
			["right terminus"] = "Hoboken",
		},
		["Gladstone"] = {
			["title"] = "[[Gladstone Branch]]",
			["color"] = "A2D5AE",
			["left terminus"] = "Gladstone",
			["right terminus"] = {"New York", "Hoboken"},
		},
		["Grove Street"] = {
			["title"] = "[[Newark Light Rail#Newark City Subway 2|Grove Street – Newark Penn]]",
			["color"] = "00a7e5",
			["left terminus"] = "Grove Street",
			["right terminus"] = "Newark Penn",
		},
		["Hoboken-Tonnelle"] = {
			["title"] = "[[Hoboken–Tonnelle]]",
			["color"] = "008C2E",
			["left terminus"] = "Hoboken",
			["right terminus"] = "Tonnelle Avenue",
		},
		["Lackawanna Cut-Off"] = {
			["title"] = "[[Lackawanna Cut-Off (NJ Transit)|Lackawanna Cut-Off]]",
			["color"] = "f48aa4",
			["left terminus"] = "Andover",
			["right terminus"] = {"New York", "Hoboken"},
		},
		["Main"] = {
			["title"] = "[[Main Line (NJ Transit)|Main Line]]",
			["color"] = "FFCF01",
			["left terminus"] = "Suffern",
			["right terminus"] = "Hoboken",
		},
		["Meadowlands"] = {
			["title"] = "[[Meadowlands Rail Line]]",
			["color"] = "B7A673",
			["left terminus"] = "Meadowlands",
			["right terminus"] = "Hoboken",
		},
		["Montclair"] = {
			["title"] = "[[Montclair-Boonton Line|Montclair Branch]]",
			["color"] = "00A94F",
			["left terminus"] = "Bay Street",
			["right terminus"] = "Hoboken",
		},
		["Montclair-Boonton"] = {
			["title"] = "[[Montclair-Boonton Line]]",
			["color"] = "E66B5B",
			["left terminus"] = "Hackettstown",
			["right terminus"] = {"New York", "Hoboken"},
		},
		["Morristown"] = {
			["title"] = "[[Morristown Line]]",
			["color"] = "00A94F",
			["left terminus"] = "Hackettstown",
			["right terminus"] = {"New York", "Hoboken"},
		},
		["North Jersey Coast"] = {
			["title"] = "[[North Jersey Coast Line]]",
			["color"] = "00A4E4",
			["left terminus"] = "Bay Head",
			["right terminus"] = {"New York", "Hoboken"},
		},
		["Northeast Corridor"] = {
			["title"] = "[[Northeast Corridor Line]]",
			["color"] = "EF3E42",
			["left terminus"] = "Trenton",
			["right terminus"] = "New York",
		},
		["Pascack Valley"] = {
			["title"] = "[[Pascack Valley Line]]",
			["color"] = "8e258d",
			["left terminus"] = "Spring Valley",
			["right terminus"] = "Hoboken",
		},
		["Princeton"] = {
			["title"] = "[[Princeton Branch]]",
			["color"] = "EF3E42",
			["left terminus"] = "Princeton",
			["right terminus"] = "Princeton Junction",
		},
		["Raritan Valley"] = {
			["title"] = "[[Raritan Valley Line]]",
			["color"] = "FAA634",
			["left terminus"] = "High Bridge",
			["right terminus"] = {"New York", "Hoboken"},
		},
			["Raritan Valley Phillipsburg"] = {
			["title"] = "[[Raritan Valley Line]]",
			["color"] = "FAA634",
			["left terminus"] = "Phillipsburg",
			["right terminus"] = "Newark Penn",
		},
		["River"] = {
			["title"] = "[[River Line (NJ Transit)|River Line]] ",
			["color"] = "00A5E3",
			["left terminus"] = "Entertainment Center",
			["right terminus"] = "Trenton",
		},
		["West Side-Tonnelle"] = {
			["title"] = "[[West Side–Tonnelle]]",
			["color"] = "FFCF01",
			["left terminus"] = "West Side Avenue",
			["right terminus"] = "Tonnelle Avenue",
		},
	},
	["aliases"] = {
		["8th street–hoboken"] = "8th Street-Hoboken",
		["hoboken–tonnelle"] = "Hoboken-Tonnelle",
		["west side–tonnelle"] = "West Side-Tonnelle",
	},
}

return p