Module:Adjacent stations/NJ Transit/sandbox
Appearance
This is the module sandbox page for Module:Adjacent stations/NJ Transit (diff). |
This is a data module for Module:Adjacent stations. It supports services operated by NJ Transit/sandbox, including NJ Transit Rail Operations and Light rail in New Jersey. For Port Jervis Line, use Module:Adjacent stations/Metro-North Railroad.
Lines
[edit]Commuter rail
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
ACES | ACES |
54A8DD |
| |
Atlantic City Line | Atlantic City |
005DAA |
| |
Bergen County Line | Bergen County |
B9C9DF |
| |
Boonton Line | Boonton |
8B0000 |
| |
Gladstone Branch | Gladstone |
A2D5AE |
| |
Lackawanna Cut-Off | Lackawanna Cut-Off |
f48aa4 |
| |
Main Line | Main |
FFCF01 |
| |
Meadowlands Rail Line | Meadowlands |
B7A673 |
| |
Montclair Branch | Montclair |
00A94F |
| |
Montclair-Boonton Line | Montclair-Boonton |
E66B5B |
| |
Morristown Line | Morristown |
00A94F |
| |
North Jersey Coast Line | North Jersey Coast |
00A4E4 |
| |
Northeast Corridor Line | Northeast Corridor |
EF3E42 |
| |
Pascack Valley Line | Pascack Valley |
8e258d |
| |
Princeton Branch | Princeton |
EF3E42 |
| |
Raritan Valley Line | Raritan Valley |
FAA634 |
|
Light rail
[edit]Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
8th Street–Hoboken | 8th Street-Hoboken or 8th street–hoboken |
00A5E3 |
| |
Bayonne Flyer | Bayonne Flyer |
00A5E3 |
| |
Broad Street – Newark Penn | Broad Street |
ffcf06 |
| |
Glassboro–Camden Line | Glassboro–Camden |
A2BE58 |
| |
Grove Street – Newark Penn | Grove Street |
00a7e5 |
| |
Hoboken–Tonnelle | Hoboken-Tonnelle or hoboken–tonnelle |
008C2E |
| |
Passaic–Bergen–Hudson Transit | Passaic–Bergen–Hudson Transit |
FFCF01 |
| |
River Line | River |
00A5E3 |
| |
West Side–Tonnelle | West Side-Tonnelle or west side–tonnelle |
FFCF01 |
|
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",
},
["infobox station"] = {
["_header"] = {
["font-size"] = "200%",
["font-family"] = "Helvetica, 'Liberation Sans', Arial, sans",
["font-weight"] = "bolder",
["line-height"] = "150%",
["color"] = "#FFFFFF",
["background-color"] = "#000000",
["border-top"] = "7px solid #A9A9A9"
},
["_subheader"] = {
["background-color"] = "#000000"
},
["Former"] = {
["_header"] = {
["text-transform"] = "uppercase",
["line-height"] = "110%",
["background-color"] = "#A0522D",
},
["_subheader"] = {
["background-color"] = "#A0522D"
}
},
["Newark Light Rail"] = {
["_header"] = {
["font-size"] = "160%",
["font-family"] = "Helvetica",
["text-transform"] = "nowrap",
["text-align"] = "center",
["line-height"] = "95%",
["background-color"] = "#006400",
["padding"] = "4px"
}
}
},
["station format"] = {
"%1 station",
["36th Street"] = river,
["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,
["Dover"] = njt,
["Emerson"] = njt,
["Essex Street"] = njt,
["Florence"] = river,
["Gladstone"] = njt,
["Grove Street"] = nlr,
["Hamilton"] = njt,
["Hampton"] = njt,
["Harrison"] = njt,
["Hawthorne"] = njt,
["Highland Avenue"] = njt,
["Hillsdale"] = njt,
["Hoboken"] = "Hoboken Terminal",
["Lebanon"] = njt,
["Linden"] = njt,
["Madison"] = njt,
["Middletown"] = 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"] = "[[Pennsylvania Station (Newark)|Newark Penn Station]]",
["Orange"] = njt,
["Orange Street"] = nlr,
["Park Avenue"] = nlr,
["Park Ridge"] = njt,
["Passaic"] = njt,
["Pennsauken"] = trc,
["Philadelphia"] = "30th Street Station",
["Princeton"] = njt,
["Ramsey Main Street"] = "[[Ramsey station (NJ Transit)|Ramsey Main Street]]",
["Ramsey"] = njt,
["Riverside"] = river,
["Scranton"] = njt,
["Secaucus Junction"] = raw,
["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"] = {
["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",
},
["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",
},
["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"] = "FFFFFF",
["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"},
},
["River"] = {
["title"] = "[[River Line (New Jersey Transit)|River Line]] ",
["color"] = "00A5E3",
["left terminus"] = "Entertainment Center",
["right terminus"] = "Trenton",
},
},
}
return p