Module:Adjacent stations/Port Authority of Allegheny County

local paac = "%1 station (PAAC)"
local prt = "%1 station (Pittsburgh Regional Transit)"
local south_busway = "South Busway#%1"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Pittsburgh Regional Transit#History|Port Authority of Allegheny County]]",
	["system icon"] = "",
	["name format"] = "font-size: 160%; font-family:sans-serif; font-weight: bolder; color: #FFFFFF; background-color: #005EB8;  padding: 0.4em 4px;",
	["header background color"] = "005EB8",
	["header text color"] = "FFFFFF",
	["station format"] = {
		"%1 station",
		["Allegheny"] = prt,
		["Allen"] = prt,
		["Ansonia"] = paac,
		["Arlington"] = prt,
		["Bell"] = prt,
		["Braddock"] = "Braddock, Pennsylvania",
		["Carnegie"] = prt,
		["Central"] = south_busway,
		["Coast"] = paac,
		["Dorchester"] = prt,
		["East Liberty"] = prt,
		["Edgebrook"] = paac,
		["Fallowfield"] = prt,
		["First Avenue"] = prt,
		["Gateway"] = prt,
		["Glenbury"] = south_busway,
		["Grant Street"] = "Grant Street Station",
		["Haberman"] = prt,
		["Highland"] = prt,
		["Homewood"] = prt,
		["Inglewood"] = paac,
		["Killarney"] = prt,
		["Latimer"] = paac,
		["Library"] = prt,
		["Logan"] = prt,
		["Memorial Hall"] = prt,
		["Munroe"] = prt,
		["North Side"] = prt,
		["Park"] = paac,
		["Penn Station"] = "Union Station (Pittsburgh)#Light rail station",
		["Pioneer"] = south_busway,
		["Poplar"] = prt,
		["Port Vue-Liberty"] = "Port Vue, Pennsylvania",
		["Potomac"] = prt,
		["Roanoke"] = prt,
		["Roslyn"] = prt,
		["Santa Barbara"] = paac,
		["South Bank"] = prt,
		["South Park"] = prt,
		["St. Anne's"] = prt,
		["Traymore"] = paac,
        ["Versailles"] = "Versailles, Pennsylvania",
		["Westfield"] = prt,
		["Wilkinsburg"] = prt,
		["Willow"] = prt,
		["Wood Street"] = prt,
	},
	["lines"] = {
		["42S"] = {
			["title"] = "[[Red Line (Pittsburgh)#History|42 South Hills Village]]",
			["color"] = "ec1b24",
			["left terminus"] = "Gateway",
			["right terminus"] = "South Hills Village",
			["note-mid"] = "via Beechview",
		},
		["47D"] = {
			["title"] = "[[47D Drake]]",
			["color"] = "0088ce",
			["left terminus"] = "Gateway",
			["right terminus"] = "Drake",
			["types"] = {
				["Gateway"]	= {
					["title"] = "",
					["left terminus"] = "Gateway",
					["right terminus"] = "Drake",
					["note-mid"] = "1984–1993",
				},
				["Castle Shannon"] = {
					["title"] = "",
					["left terminus"] = "Castle Shannon",
					["right terminus"] = "Drake",
					["note-mid"] = "1993–1999",
				},
			},
		},
		["47L"] = {
			["title"] = "[[Silver Line (Pittsburgh)#History|47L Library]]",
			["color"] = "0088ce",
			["left terminus"] = "Gateway",
			["right terminus"] = "Library",
			["note-mid"] = "via Overbrook",
		},
		["47S"] = {
			["title"] = "[[Blue Line (Pittsburgh)#History|47S South Hills Village]]",
			["color"] = "0088ce",
			["left terminus"] = "Gateway",
			["right terminus"] = "South Hills Village",
			["note-mid"] = "via Overbrook",
		},
		["Blue Line"] = {
			["title"] = "[[Blue Line (Pittsburgh)|Blue Line]]",
			["left terminus"] = "Allegheny",
			["types"] = {
				["Library"] = {
					["color"] = "0088ce",
					["right terminus"] = "Library",
				},	
				["South Hills Village"] = {
					["color"] = "77b6e4",
					["right terminus"] = "South Hills Village",
					["note-mid"] = "via Overbrook",
				},	
			},
		},
		["Brown Line"] = {
			["title"] = "[[Brown Line (Pittsburgh)|Brown Line]]",
			["color"] = "ad7a4c",
			["left terminus"] = "Gateway",
			["right terminus"] = "South Hills Junction",
		},
		["PATrain"] = {
			["title"] = "[[PATrain]]",
			["color"] = "835C3B",
			["left terminus"] = "Grant Street",
			["right terminus"] = "Versailles",
		},
		["Red"] = {
			["title"] = "[[Red Line (Pittsburgh)|Red Line]]",
			["color"] = "ec1b24",
			["left terminus"] = "Allegheny",
			["right terminus"] = "South Hills Village",
		},
		["Red Line"] = {
			["title"] = "[[Red Line (Pittsburgh)|Red Line]]",
			["left terminus"] = "Allegheny",
			["types"] = {
				["Castle Shannon"] = {
					["color"] = "ec1b24",
					["right terminus"] = "Overbrook Junction",
				},
				["Overbrook Junction"] = {
					["color"] = "ec1b24",
					["right terminus"] = {"Overbrook Junction", "South Hills Village"},
					["note-mid"] = "via Beechview",
				},
				["South Hills Village"] = {
					["color"] = "f48465",
					["right terminus"] = "South Hills Village",
					["note-mid"] = "via Beechview",
				},
			},
		},
	},
}

return p