Module:Adjacent stations/NJ Transit/sandbox
< Module:Adjacent stations | NJ Transit
Revision as of 18:38, 8 July 2021 by Zoran (talk | contribs) (Moved page from wikipedia:en:Module:Adjacent stations/NJ Transit/sandbox)
Documentation for this module may be created at Module:Adjacent stations/NJ Transit/sandbox/doc
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