Module:Adjacent stations/Los Angeles Metro Rail

local a = "%1 station (A Line)"
local metro = "%1 station (Los Angeles Metro)"
local mr = "%1 station (Metro Rail)"
local segw = "%1 station (Southeast Gateway Line)"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Los Angeles Metro Rail|Metro Rail]]",
	["system icon"] = "[[File:LAMetroLogo.svg|15px|link=Los Angeles Metro Rail]]",
	["name format"] = "font-size: 160%; padding:8px; background-color:black; color:white; font-family: Helvetica, Arial, sans-serif; font-weight: bolder;",
	["header background color"] = "000000",
	["header text color"] = "FFFFFF",
	["system color"] = "000000",
	["station format"] = {
		"%1 station",
		["1st Street"] = metro,
		["5th Street"] = metro,
		["7th Street/Metro Center"] = "[[7th Street/Metro Center station|7th Street/​Metro Center]]",
		["17th Street/SMC"] = "[[17th Street/SMC station|17th Street/​SMC]]",
		["17th Street/SMC Parking"] = "[[17th Street/SMC station|17th Street/​SMC]]",
		["26th Street/Bergamot"] = "[[26th Street/Bergamot station|26th Street/​Bergamot]]",
		["103rd Street/Watts Towers"] = "[[103rd Street/Watts Towers station|103rd Street/​Watts Towers]]",
		["Arleta"] = metro,
		["Atlantic"] = metro,
		["Avalon"] = metro,
		["Aviation/Century"] = "[[Aviation/Century station|Aviation/​Century]]",
		["Aviation/Imperial"] = "[[Aviation/LAX station|Aviation/​Imperial]]",
		["Azusa"] = "APU/Citrus College station",
		["Carson"] = metro,
		["Century City/Constellation"] = "[[Century City/Constellation station|Century City/​Constellation]]",
		["Chatsworth"] = "Chatsworth station",
		["Chinatown"] = metro,
		["Civic Center/Grand Park"] = "[[Civic Center/Grand Park station|Civic Center/​Grand Park]]",
		["Claremont"] = "Claremont station (California)",
		["Douglas"] = metro,
		["East Los Angeles"] = "Atlantic station (Los Angeles Metro)",
		["El Monte"] = "El Monte Station",
		["El Monte Station"] = "El Monte Station",
		["Expo/Crenshaw"] = "[[Expo/Crenshaw station|Expo/​Crenshaw]]",
		["Expo Park/USC"] = "[[Expo Park/USC station|Expo Park/​USC]]",
		["Fairview Heights"] = metro,
		["Firestone"] = {
			"%1 station",
			["SEGW"] = segw,
		},
		["Florence"] = metro,
		["Harbor Beacon"] = "Harbor Beacon Park & Ride",
		["Harbor Gateway"] = "Harbor Gateway Transit Center",
		["Harbor Gateway Transit Center"] = "Harbor Gateway Transit Center",
		["Hawthorne/Lennox"] = "[[Hawthorne/Lennox station|Hawthorne/​Lennox]]",
		["Highland Park"] = metro,
		["Hollywood/Highland"] = "[[Hollywood/Highland station|Hollywood/​Highland]]",
		["Hollywood/Western"] = "[[Hollywood/Western station|Hollywood/​Western]]",
		["Hyde Park"] = metro,
		["Indiana"] = metro,
		["La Cienega/Jefferson"] = "[[La Cienega/Jefferson station|La Cienega/​Jefferson]]",
		["Lake"] = metro,
		["Laurel Canyon"] = mr,
		["La Brea/Santa Monica"] = "[[La Brea/Santa Monica station|La Brea/​Santa Monica]]",
		["Long Beach"] = "Downtown Long Beach station",
		["Manchester"] = metro,
		["Mariposa"] = metro,
		["Martin Luther King Jr."] = metro,
		["Montclair"] = "Montclair Transcenter",
		["Montclair Transcenter"] = "Montclair Transcenter",
		["Nordhoff"] = mr,
		["Norwalk"] = metro,
		["Norwalk/Santa Fe Springs"] = "Norwalk/Santa Fe Springs station",
		["Pacific Coast Highway"] = a,
		["Pomona"] = "Pomona–North station",
		["Pomona–North"] = "Pomona–North station",
		["Redondo Beach Transit Center"] = "Redondo Beach Transit Center",
		["Roscoe"] = mr,
		["Santa Monica"] = "Downtown Santa Monica station",
		["Saticoy Street"] = "Van Nuys station",
		["Sherman Way"] = mr,
		["Slauson"] = a,
		["Torrance Transit Center"] = "Torrance Transit Center",
		["Sylmar/San Fernando"] = "Sylmar/San Fernando station",
		["Union Station"] = "Union Station (Los Angeles)",
		["Universal City/Studio City"] = "[[Universal City/Studio City station|Universal City/​Studio City]]",
		["Van Nuys"] = metro,
		["Van Nuys Metrolink"] = "Van Nuys station",
		["Vermont/Beverly"] = "[[Vermont/Beverly station|Vermont/​Beverly]]",
		["Vermont/Santa Monica"] = "[[Vermont/Santa Monica station|Vermont/​Santa Monica]]",
		["Victory"] = metro,
		["Washington"] = metro,
		["Woodley"] = metro,
		["Woodman"] = mr,
		-- Breaking spaces
		["Westlake/MacArthur Park"] = "[[Westlake/MacArthur Park station|Westlake/​MacArthur Park]]",
		["Westchester/Veterans"] = "[[Westchester/Veterans station|Westchester/​Veterans]]",
		["Westwood/Rancho Park"] = "[[Westwood/Rancho Park station|Westwood/​Rancho Park]]",
		["Willowbrook/Rosa Parks"] = "[[Willowbrook/Rosa Parks station|Willowbrook/​Rosa Parks]]",
		["Wilshire/La Brea"] = "[[Wilshire/La Brea station|Wilshire/La Brea]]",
		["Wilshire/Normandie"] = "[[Wilshire/Normandie station|Wilshire/​Normandie]]",
		["Wilshire/Vermont"] = "[[Wilshire/Vermont station|Wilshire/​Vermont]]",
		["Wilshire/Western"] = "[[Wilshire/Western station|Wilshire/Western]]",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 Line (Los Angeles Metro)|%1 Line]]",
			["icon"] = "[[File:LACMTA Circle %1 Line.svg|17px|link=%1 Line (Los Angeles Metro)|alt=%1 Line]]",
		},
	
		-- Current
		["A"] = {
			["color"] = "0072BC",
			["left terminus"] = "Azusa",
			["right terminus"] = "Long Beach",
			["types"] = {
				["West-East"] = {
					["title"] = "",
					["left terminus"] = "Long Beach",
					["right terminus"] = "Azusa",
					["note-mid"] = "",
				}
			}
		},
		["B"] = {
			["color"] = "E3131B",
			["left terminus"] = "North Hollywood",
			["right terminus"] = "Union Station",
		},
		["C"] = {
			["color"] = "58A738",
			["left terminus"] = "Aviation/Century",
			["right terminus"] = "Norwalk",
		},
		["D"] = {
			["color"] = "A05DA5",
			["left terminus"] = "Wilshire/Western",
			["right terminus"] = "Union Station",
		},
		["E"] = {
			["color"] = "F7B618",
			["left terminus"] = "Santa Monica",
			["right terminus"] = "East Los Angeles",
		},
		["K"] = {
			["color"] = "E96BB0",
			["left terminus"] = "Expo/Crenshaw",
			["right terminus"] = "Redondo Beach",
			["types"] = {
				["northern segment"] = {
					["title"] = "",
					["left terminus"] = "Expo/Crenshaw",
					["right terminus"] = "Westchester/Veterans",
					["note-mid"] = "''northern segment''",
				},
				["southern segment"] = {
					["title"] = "",
					["left terminus"] = "Aviation/Century",
					["right terminus"] = "Redondo Beach",
					["note-mid"] = "''southern segment''",
				}
			}
		},
	
		-- Former
		["L"] = {
			["color"] = "F7B618",
			["left terminus"] = "Atlantic",
			["right terminus"] = "APU/Citrus College",
		},
	
		-- Future
		["ESFV"] = {
			["title"] = "[[East San Fernando Valley Light Rail Transit Project]]",
			["icon"] = "[[File:LAMetroLogo.svg|15px|link=Los Angeles Metro Rail]]",
			["color"] = "059FA9",
			["left terminus"] = "Van Nuys/San Fernando",
			["right terminus"] = "Van Nuys",
		},
		["SEGW"] = {
			["title"] = "[[Southeast Gateway Line]]",
			["icon"] = "[[File:LAMetroLogo.svg|15px|link=Los Angeles Metro Rail]]",
			["color"] = "BA80B3",
			["left terminus"] = "Slauson",
			["right terminus"] = "Pioneer",
		},
	},
	["aliases"] = {
		["blue"] = "A",
		["red"] = "B",
		["green"] = "C",
		["purple"] = "D",
		["expo"] = "E",
		["crenshaw"] = "K",
		["gold"] = "L",
		["wsab"] = "SEGW",
		["wsa"] = "SEGW",
	}
}
return p