Module:Adjacent stations/Reading Company/sandbox

Documentation for this module may be created at Module:Adjacent stations/Reading Company/sandbox/doc

local cnj = "%1 station (Central Railroad of New Jersey)"
local pa = "%1 station (Pennsylvania)"
local rr = "%1 station (Reading Railroad)"
local septa = "%1 station (SEPTA)"
local septarr = "%1 station (SEPTA Regional Rail)"
local tc = "%1 Transportation Center"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Reading Company|Reading Railroad]]",
	["system icon"] = "",
	["name format"] = "font-family: Arial; background-color: #000080; font-size: 200%; text-transform:uppercase; color: #ffffff; padding: 0.5em; line-height: 0.5; white-space: nowrap; border: 7px solid #A9A9A9; border-top-left-radius: 0.5em; border-top-right-radius: 0.5em; border-bottom-right-radius: 0.5em; border-bottom-left-radius: 0.5em; margin: 0.25em; text-align: center;",
	["infobox station"] = {
		["_header"] = {
			["font-family"] = "Arial",
			["background-color"] = "#000080",
			["font-size"] = "200%",
			["text-transform"] = "uppercase",
			["color"] = "FFFFFF",
			["padding"] = "0.5em",
			["line-height"] = "0.5",
			["white-space"] = "nowrap",
			["border"] = "7px solid #A9A9A9",
			["border-top-left-radius"] = "0.5em",
			["border-top-right-radius"] = "0.5em",
			["border-bottom-left-radius"] = "0.5em",
			["border-bottom-right-radius"] = "0.5em",
			["margin"] = "0.25em",
			["text-align"] = "center"
		}
	},		
	["station format"] = {
		"%1 station",
		["Allegheny"] = septarr,
		["Allentown"] = cnj,
		["Auburn"] = pa,
		["Bethlehem"] = "Bethlehem Union Station",
		["Byers"] = "Byers Station Historic District",
		["Cheltenham"] = septa,
		["Columbia Avenue"] = "Temple University station",
		["County Line"] = septarr,
		["Dock"] = pa,
		["Easton"] = pa,
		["Forest Hills"] = septa,
		["Hamburg"] = pa,
		["Harrisburg"] = tc,
		["Holland"] = septa,
		["Jenkintown"] = "Jenkintown–Wyncote station",
		["Jersey City"] = "Central Railroad of New Jersey Terminal",
		["Lebanon"] = rr,
		["Main Street"] = septa,
		["Meadowbrook"] = septa,
		["Melrose Park"] = septa,
		["Monocacy"] = pa,
		["Newtown"] = septa,
		["Norristown"] = tc,
		["Olney"] = septarr,
		["Penllyn"] = septa,
		["Reading Franklin Street"] = "Franklin Street station (Pennsylvania)",
		["Reading Terminal"] = "Reading Terminal",
		["Reading"] = "Reading Outer station",
		["Rockville"] = pa,
		["Roslyn"] = septa,
		["Slatington"] = rr,
		["Southampton"] = pa,
		["Traymore"] = rr,
		["Tremont"] = rr,
		["Walnut Hill"] = septa,
		["Warminster"] = septa,
		["Westmont"] = pa,
	},
	["lines"] = {
		["_default"] = {
			["color"] = "006400",	
		},
		["Bethlehem Branch"] = {
			["title"] = "[[Bethlehem Branch]]",
			["left terminus"] = "Fern Rock",
			["right terminus"] = "Bethlehem",
		},
		["Colebrookdale Railroad"] = {
			["title"] = "[[Colebrookdale Railroad]]",
			["left terminus"] = "Pottstown",
			["right terminus"] = "Barto",
		},
		["East Penn Branch"] = {
			["title"] = "[[East Pennsylvania Railroad|East Pennsylvania Branch]]",
			["left terminus"] = "Allentown",
			["right terminus"] = "Reading",
		},
		["Main Line"] = {
			["title"] = "[[Manayunk/Norristown Line|Main Line]]",
			["left terminus"] = "Norristown",
			["right terminus"] = "Pottsville",
		},
		["New Hope Branch"] = {
			["title"] = "[[New Hope Branch]]",
			["left terminus"] = "Glenside",
			["right terminus"] = "New Hope",
		},
		["New York Branch"] = {
			["title"] = "[[New York Branch]]",
			["left terminus"] = "Jenkintown",
			["right terminus"] = "Bound Brook",
		},
		["New York Short Line"] = {
			["title"] = "[[New York Short Line]]",
			["left terminus"] = "Wayne Junction",
			["right terminus"] = "Neshaminy Falls",
		},
		["Newtown Branch"] = {
			["title"] = "[[Newtown Branch]]",
			["left terminus"] = "Cheltenham",
			["right terminus"] = "Newtown",
		},
		["Ninth Street Branch"] = {
			["title"] = "[[Ninth Street Branch]]",
			["left terminus"] = "Reading Terminal",
			["right terminus"] = "Fern Rock",
		},
		["Norristown Branch"] = {
			["title"] = "[[Norristown Branch]]",
			["left terminus"] = "North Broad",
			["right terminus"] = "Elm Street",
		},
		["Pickering Valley Railroad"] = {
			["title"] = "[[Pickering Valley Railroad]]",
			["left terminus"] = "Phoenixville",
			["right terminus"] = "Byers",
		},
		["Schyulkill and Lehigh Branch"] = {
			["title"] = "Schyulkill and Lehigh Branch",
			["left terminus"] = "Slatington",
			["right terminus"] = "Reading Franklin Street",
		},
		["Stony Creek Branch"] = {
			["title"] = "[[Stony Creek Branch]]",
			["left terminus"] = "Elm Street",
			["right terminus"] = "Lansdale",
		},
	},
}

return p