Module:Adjacent stations/Los Angeles Metro Rail

From blackwiki
Jump to navigation Jump to search

This is a data module for Module:Adjacent stations. It supports services operated by the Los Angeles Metro Rail.

Lines

Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc

*Usage note: Metro changed all line names from colors to letters in late 2019. While the line letter should be used in all cases, for backwards compatibility the old color names will continue to work (e.g. "blue" or "A"). The displayed name and color will be the same regardless of which is used.

Template:Rail template doc


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

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"] = "666666",
	["header text color"] = "FFFFFF", 
	["station format"] = {
		"%1 station",
		["1st Street"] = metro,
		["5th Street"] = metro,
		["Arleta"] = metro,
		["Atlantic"] = metro,
		["Avalon"] = metro,
		["Chinatown"] = metro,
		["Claremont"] = metro,
		["Douglas"] = metro,
		["Fairview Heights"] = metro,
		["Florence"] = metro,
		["Highland Park"] = metro,
		["Hyde Park"] = metro,
		["Indiana"] = metro,
		["Lake"] = metro,
		["Laurel Canyon"] = mr,
		["Mariposa"] = metro,
		["Martin Luther King Jr."] = metro,
		["Montclair"] = "Montclair Transcenter",
		["Nordhoff"] = mr,
		["Norwalk"] = metro,
		["Pacific Coast Highway"] = a,
		["Pomona–North"] = "Pomona (North) station",
		["Roscoe"] = mr,
		["Sherman Way"] = mr,
		["Slauson"] = a,
		["Union Station"] = "Union Station (Los Angeles)",
		["Van Nuys"] = metro,
		["Victory"] = metro,
		["Washington"] = metro,
		["Woodley"] = metro,
		["Woodman"] = mr,
		-- Breaking spaces
		["Westlake/MacArthur Park"] = "[[Westlake/MacArthur Park station|Westlake/​MacArthur Park]]",
	},
	["lines"] = {
		["A"] = {
			["title"] = "[[A Line (Los Angeles Metro)|A Line]]",
			["color"] = "0072bc",
			["left terminus"] = "Downtown Long Beach",
			["right terminus"] = "7th Street/Metro Center",
		},
		["B"] = {
			["title"] = "[[B Line (Los Angeles Metro)|B Line]]",
			["color"] = "e3131b",
			["left terminus"] = "North Hollywood",
			["right terminus"] = "Union Station",
		},
		["C"] = {
			["title"] = "[[C Line (Los Angeles Metro)|C Line]]",
			["color"] = "58a738",
			["left terminus"] = "Redondo Beach",
			["right terminus"] = "Norwalk",
		},
		["D"] = {
			["title"] = "[[D Line (Los Angeles Metro)|D Line]]",
			["color"] = "a05da5",
			["left terminus"] = "Wilshire/Western",
			["right terminus"] = "Union Station",
		},
		["E"] = {
			["title"] = "[[E Line (Los Angeles Metro)|E Line]]",
			["color"] = "5bc2e7",
			["left terminus"] = "Downtown Santa Monica",
			["right terminus"] = "7th Street/Metro Center",
		},
		["K"] = {
			["title"] = "[[Crenshaw/LAX Line]]",
			["color"] = "908100",
			["left terminus"] = "Expo/Crenshaw",
			["right terminus"] = "Aviation/Century",
		},
		["L"] = {
			["title"] = "[[L Line (Los Angeles Metro)|L Line]]",
			["color"] = "fdb913",
			["left terminus"] = "Atlantic",
			["right terminus"] = "APU/Citrus College",
		},
		["ESFV"] = {
			["title"] = "[[East San Fernando Valley Transit Corridor]]",
			["color"] = "2da8b1",
			["left terminus"] = "Sylmar/San Fernando",
			["right terminus"] = "Van Nuys",
		},
		["WSA"] = {
			["title"] = "[[West Santa Ana Branch Transit Corridor]]",
			["color"] = "9f4592",
			["left terminus"] = "Slauson",
			["right terminus"] = "Pioneer",
		},
	},
	["aliases"] = {
		["blue"] = "A",
		["red"] = "B",
		["green"] = "C",
		["purple"] = "D",
		["expo"] = "E",
		["crenshaw"] = "K",
		["gold"] = "L",
	}
}

return p