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

local il = "%1 station (Illinois)"
local metra = "%1 station (Metra)"
local tc = "%1 Transportation Center"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Metra]]",
	["system icon"] = "[[File:Metramlogo.svg|13px]]",
	["system color"] = "246eab",
	["name format"] = "font-size: 150%; font-family:Helvetica, sans; font-weight: bolder; line-height: 100%; color: #FFFFFF; background-color: #246eab; padding: 4px;",
	["header background color"] = "246eab",
	["station format"] = {
		"%1 station",
		["5th Street"] = il,
		["18th Street"] = il,
		["63rd Street"] = metra,
		["67th Street"] = il,
		["95th Street/CSU"] = "95th Street/Chicago State University station",
		["Abbott's Platform"] = "%1",
		["Antioch"] = il,
		["Ashburn"] = il,
		["Aurora"] = tc,
		["Balmoral Park"] = "[[Balmoral Park, Illinois|Balmoral Park]]",
		["Bellwood"] = metra,
		["Belmont"] = metra,
		["Belmont Avenue"] = {
			"Belmont Avenue station",
			["Union Pacific/North"] = "Belmont Avenue station (C&NW)",
		},
		["Berkeley"] = il,
		["Berwyn"] = metra,
		["Blue Island"] = "Blue Island–Vermont Street station",
		["Brookfield"] = il,
		["Bryn Mawr"] = metra,
		["Calumet"] = il,
		["Cary"] = metra,
		["Cheltenham"] = metra,
		["Chicago"] = "[[Chicago Union Station|Union Station]]",
		["Cicero"] = metra,
		["Clyde"] = il,
		["College Avenue"] = il,
		["Cumberland"] = metra,
		["Elgin"] = il,
		["Elmhurst"] = il,
		["Fairview Avenue"] = il,
		["Forest Glen"] = il,
		["Geneva"] = il,
		["Glenn"] = il,
		["Halsted Street"] = {
			"Halsted Street station",
			["Heritage Corridor"] = "Halsted Street station (Heritage Corridor)",
		},
		["Harvard"] = metra,
		["Harvey"] = il,
		["Highland Park"] = il,
		["Hollywood"] = il,
		["Irving Park"] = metra,
		["Ivanhoe"] = il,
		["Jefferson Park"] = "Jefferson Park Transit Center",
		["Joliet"] = tc,
		["Kedzie"] = metra,
		["Kenilworth"] = il,
		["Kenmore"] = il,
		["Lake Forest"] = {
			["Milwaukee District/North"] = "Lake Forest station (Milwaukee District)",
			["Union Pacific/North"] = "Lake Forest station (Union Pacific)",
		},
		["LaSalle"] = "[[LaSalle Street Station|LaSalle Street]]",
		["Lathrop"] = il,
		["Lockport"] = il,
		["Mannheim"] = il,
		["Maplewood"] = il,
		["Mars"] = il,
		["Maywood"] = il,
		["Melrose Park"] = il,
		["Millennium Station"] = "%1",
		["Mont Clare"] = il,
		["Oak Park"] = metra,
		["Ogilvie"] = tc,
		["Orland Park"] = "[[Orland Park 143rd Street station|Orland Park]]",
		["Park Ridge"] = il,
		["Randolph"] = "[[Millennium Station|Randolph Street]]",
		["Riverdale"] = il,
		["Riverside"] = il,
		["Rockford"] = "[[Rockford Illinois|Rockford]]",
		["Romeoville"] = metra,
		["Rondout"] = il,
		["Rosemont"] = metra,
		["Roosevelt Road"] = "[[Museum Campus/11th Street station|Museum Campus/11th Street]]",
		["South Chicago"] = "South Chicago (93rd Street) station",
		["State Street"] = il,
		["Summit"] = il,
		["Union Station"] = "Chicago Union Station",
		["Washington Street"] = il,
		["Western Avenue"] = {
			"Western Avenue station (Milwaukee District)",
			["BNSF Railway"] = "Western Avenue station (BNSF Railway)",
			["SouthWest Service"] = "Western Avenue station (Norfolk Southern Line)",
		},
		["Westmont"] = il,
		["Wheaton"] = "Wheaton station (Union Pacific)",
		["Wheeling"] = il,
		["Willow Springs"] = il,
		["Woodstock"] = il,
		["Wrightwood"] = metra,
	},
	["lines"] = {
		["BNSF Railway"] = {
			["title"] = "[[BNSF Line|BNSF]]",
			["color"] = "43b02a",
			["left terminus"] = "Aurora",
			["right terminus"] = "Chicago",
		},
		["Heritage Corridor"] = {
			["title"] = "[[Heritage Corridor]]",
			["color"] = "862041",
			["left terminus"] = "Joliet",
			["right terminus"] = "Chicago",
		},
		["Milwaukee District/North"] = {
			["title"] = "[[Milwaukee District North Line|Milwaukee District North]]",
			["color"] = "e57200",
			["left terminus"] = "Fox Lake",
			["right terminus"] = "Chicago",
		},
		["Milwaukee District/West"] = {
			["title"] = "[[Milwaukee District West Line|Milwaukee District West]]",
			["color"] = "f1be48",
			["left terminus"] = "Big Timber Road",
			["right terminus"] = "Chicago",
		},
		["Metra Electric"] = {
			["title"] = "[[Metra Electric District|Metra Electric]]",
			["color"] = "fe5000",
			["left terminus"] = {"University Park", "South Chicago", "Blue Island"},
			["right terminus"] = "Millennium Station",
			["types"] = {
				["Blue Island"] = {
					["title"] = "Blue Island Branch",
					["color"] = "c5e9ea",
					["background color"] = "",
					["left terminus"] = "Blue Island",
					["right terminus"] = "Millennium Station",
				},
				["Main Line & Blue Island"] = {
					["title"] = "Main Line & Blue Island Branch",
					["left terminus"] = {"University Park", "Blue Island"},
					["right terminus"] = "Millennium Station",
				},
				["Main Line"] = {
					["title"] = "Main Line",
					["left terminus"] = "University Park",
					["right terminus"] = "Millennium Station",
				},
				["South Chicago"] = {
					["title"] = "South Chicago Branch",
					["color"] = "dfdcd4",
					["background color"] = "",
					["left terminus"] = "Millennium Station",
					["right terminus"] = "South Chicago",
				},
				["South Chicago old"] = {
					["title"] = "South Chicago Branch",
					["left terminus"] = "Randolph",
					["right terminus"] = "91st Street (South Chicago)",
				}
			}
		},
		["North Central"] = {
			["title"] = "[[North Central Service]]",
			["color"] = "9063cd",
			["left terminus"] = "Antioch",
			["right terminus"] = "Chicago",
		},
		["Rock Island"] = {
			["title"] = "[[Rock Island District|Rock Island]]",
			["color"] = "da291c",
			["left terminus"] = "Joliet",
			["right terminus"] = "LaSalle",
			["types"] = {
				["Beverly Branch"] = {
					["title"] = "Beverly Branch",
					["color"] = "717c7d",
					["background color"] = "",
					["left terminus"] = "Joliet",
					["right terminus"] = "LaSalle",
				},
			},
		},
		["Rockford Service"] = {
			["title"] = "[[Rockford Intercity Passenger Rail]]",
			["color"] = "004b87",
			["left terminus"] = "Rockford",
			["right terminus"] = "Chicago",
		},
		["SouthEast Service"] = {
			["title"] = "[[SouthEast Service]]",
			["color"] = "004b87",
			["left terminus"] = "Balmoral Park",
			["right terminus"] = "LaSalle",
		},
		["SouthWest Service"] = {
			["title"] = "[[SouthWest Service]]",
			["color"] = "005eb8",
			["left terminus"] = "Manhattan",
			["right terminus"] = "Chicago",
		},
		["Union Pacific/North"] = {
			["title"] = "[[Union Pacific North Line|Union Pacific North]]",
			["color"] = "00843d",
			["left terminus"] = "Kenosha",
			["right terminus"] = "Ogilvie",
		},
		["Union Pacific/Northwest"] = {
			["title"] = "[[Union Pacific Northwest Line|Union Pacific Northwest]]",
			["color"] = "fedd00",
			["left terminus"] = {"Harvard", "McHenry"},
			["right terminus"] = "Ogilvie",
			["types"] = {
				["Harvard"] = {
					["title"] = "Harvard Branch",
					["left terminus"] = "Harvard",
					["right terminus"] = "Ogilvie",
				},
				["McHenry"] = {
					["title"] = "McHenry Branch",
					["left terminus"] = "McHenry",
					["right terminus"] = "Ogilvie",
				}
			}
		},
		["Union Pacific/West"] = {
			["title"] = "[[Union Pacific West Line|Union Pacific West]]",
			["color"] = "ffb1bb",
			["left terminus"] = "Elburn",
			["right terminus"] = "Ogilvie",
		},
	},
	["aliases"] = {
		["bnsf"] = "BNSF Railway",
		["hc"] = "Heritage Corridor",
		["heritage"] = "Heritage Corridor",
		["mdn"] = "Milwaukee District/North",
		["mdw"] = "Milwaukee District/West",
		["me"] = "Metra Electric",
		["nc"] = "North Central",
		["ri"] = "Rock Island",
		["irp"] = "Rockford Serivce",
		["se"] = "SouthEast Service",
		["southeast"] = "SouthEast Service",
		["sw"] = "SouthWest Service",
		["southwest"] = "SouthWest Service",
		["upn"] = "Union Pacific/North",
		["upnw"] = "Union Pacific/Northwest",
		["upw"] = "Union Pacific/West",
	}
}

return p