模块:Adjacent stations/Mexico City Metro

local mc = "%1 metro station (Mexico City)"
local np = "%1 metro station (Naucalpan)"
local sm = "%1 metro station (State of Mexico)"
local az = "UAM-Azcapotzalco metro station"
local et = "Etiopía / Plaza de la Transparencia metro station"
local fe = "Ferrería/Arena Ciudad de México metro station"
local ga = "Garibaldi / Lagunilla metro station"
local ni = "Niños Héroes / Poder Judicial CDMX metro station"
local vi = "Viveros / Derechos Humanos metro station"
local zo = "Zócalo/Tenochtitlan metro station"

local name_format = "font-size: 185%; font-family: sans-serif; color: white; padding: 5px; line-height: 50%;"

local p = {
	["system title"] = "[[墨西哥城地铁]]",
	["system icon"] = "[[File:Mexico City Metro.svg|15px|link=Mexico City Metro]]",
	["header background color"] = "000000",
	["header text color"] = "FFFFFF", 
	["system color"] = "FF8C00",
	["name format"] = {
		"background-color: #FF8C00; " .. name_format .. " text-transform: uppercase;",
		["1"] = "background-color: #F04E98; " .. name_format,
		["2"] = "background-color: #005EB8; " .. name_format,
		["3"] = "background-color: #AF9800; " .. name_format,
		["4"] = "background-color: #6BBBAE; " .. name_format,
		["5"] = "background-color: #FFD100; " .. name_format,
		["6"] = "background-color: #DA291C; " .. name_format,
	    ["7"] = "background-color: #E87722; " .. name_format,
	    ["8"] = "background-color: #009A44; " .. name_format,
	    ["9"] = "background-color: #512F2E; " .. name_format,
	    ["A"] = "background-color: #981D97; " .. name_format,
	    ["B"] = "background-color: #B1B3B3; " .. name_format,
	    ["12"] = "background-color: #B0A32A; " .. name_format,
	    ["1 2"] = name_format .. " background-image: linear-gradient(to right, #F04E98, #F04E98, #005EB8, #005EB8);",
		["1 3"] = name_format .. " background-image: linear-gradient(to right, #F04E98, #F04E98, #AF9800, #AF9800);",
		["1 4"] = name_format .. "  background-image: linear-gradient(to right, #F04E98, #F04E98, #6BBBAE, #6BBBAE);",
		["1 8"] = name_format .. " background-image: linear-gradient(to right, #F04E98, #F04E98, #009A44, #009A44);",
		["1 B"] = name_format .. "  background-image: linear-gradient(to right, #F04E98, #F04E98, #B1B3B3, #B1B3B3);",
		["1 12"] = name_format .. " background-image: linear-gradient(to right, #F04E98, #F04E98, #B0A32A, #B0A32A);",
		["1 7 9"] = name_format .. " background-image: linear-gradient(to right, #F04E98, #E87722, #E87722, #512F2E);",
		["1 5 9 A"] = name_format .. " background-image: linear-gradient(to right, #F04E98, #FFD100, #512F2E, #981D97);",
		["2 3"] = name_format .. " background-image: linear-gradient(to right, #005EB8, #005EB8, #AF9800, #AF9800);",
		["2 7"] = name_format .. " background-image: linear-gradient(to right, #005EB8, #005EB8, #E87722, #E87722);",
		["2 8"] = name_format .. " background-image: linear-gradient(to right, #005EB8, #005EB8, #009A44, #009A44);",
		["2 12"] = name_format .. " background-image: linear-gradient(to right, #005EB8, #005EB8, #B0A32A, #B0A32A);",
		["2 8 9"] = name_format .. " background-image: linear-gradient(to right, #005EB8, #009A44, #009A44, #512F2E);",
		["3 5"] = name_format .. " background-image: linear-gradient(to right, #AF9800, #AF9800, #FFD100, #FFD100);",
		["3 6"] = name_format .. " background-image: linear-gradient(to right, #AF9800, #AF9800, #DA291C, #DA291C);",
		["3 9"] = name_format .. " background-image: linear-gradient(to right, #AF9800, #AF9800, #512F2E, #512F2E);",
	    ["3 12"] = name_format .. " background-image: linear-gradient(to right, #AF9800, #AF9800, #B0A32A, #B0A32A);",
		["3 B"] = name_format .. " background-image: linear-gradient(to right, #AF9800, #AF9800, #B1B3B3, #B1B3B3);",
		["4 5"] = name_format .. " background-image: linear-gradient(to right, #6BBBAE, #6BBBAE, #FFD100, #FFD100);",
		["4 6"] = name_format .. " background-image: linear-gradient(to right, #6BBBAE, #6BBBAE, #DA291C, #DA291C);",
		["4 8"] = name_format .. " background-image: linear-gradient(to right, #6BBBAE, #6BBBAE, #009A44, #009A44);",
		["4 9"] = name_format .. " background-image: linear-gradient(to right, #6BBBAE, #6BBBAE, #512F2E, #512F2E);",
		["4 B"] = name_format .. " background-image: linear-gradient(to right, #6BBBAE, #6BBBAE, #B1B3B3, #B1B3B3);",
		["5 6"] = name_format .. " background-image: linear-gradient(to right, #FFD100, #FFD100, #DA291C, #DA291C);",
		["5 B"] = name_format .. " background-image: linear-gradient(to right, #FFD100, #FFD100, #B1B3B3, #B1B3B3);",
		["6 7"] = name_format .. " background-image: linear-gradient(to right, #DA291C, #DA291C, #E87722, #E87722);",
		["7 12"] = name_format .. " background-image: linear-gradient(to right, #E87722, #E87722, #B0A32A, #B0A32A);",
		["8 12"] = name_format .. " background-image: linear-gradient(to right, #009A44, #009A44, #B0A32A, #B0A32A);",
		["8 B"] = name_format .. " background-image: linear-gradient(to right, #009A44, #009A44, #B1B3B3, #B1B3B3);",
	},
	["station format"] = {
		"%1站",
		["Aragón"] = "[[阿拉贡站 (墨西哥城地铁)|阿拉贡]]",
		["Azcapotzalco"] = az,
		["Bellas Artes"] = mc,
		["Buenavista"] = "[[布埃纳维斯塔站 (墨西哥城地铁)|布埃纳维斯塔]]",
		["Cuatro Caminos"] = "[[四大街站 (墨西哥城地铁)|四大街]]",
		["Cuauhtémoc"] = mc,
		["Etiopía"] = et,
		["Ferrería"] = fe,
		["Garibaldi"] = ga,
		["General Anaya"] = mc,
		["Hospital General"] = "[[总医院站 (墨西哥城)|总医院]]",
		["Niños Héroes"] = ni,
		["La Paz"] = "[[拉巴斯站 (墨西哥城地铁)|拉巴斯]]",
		["Lázaro Cárdenas"] = mc,
		["Observatorio"] = "[[天文台站|天文台]]",
		["Olímpica"] = "[[奥林匹克站 (墨西哥城地铁)|奥林匹克]]",
		["Pantitlán"] = "[[潘蒂特蘭站|潘蒂特蘭]]",
		["Revolución"] = "[[革命站 (墨西哥城)|革命]]",
		["San Antonio"] = "[[圣安东尼奥站 (墨西哥城)|圣安东尼奥]]",
		["San Joaquín"] = "[[圣华金站 (墨西哥城)|圣华金]]",
		["Sevilla"] = "[[塞维利亚站 (墨西哥城)|塞维利亚]]",
		["Universidad"] = "[[大学站 (墨西哥城)|大学]]",
		["Viveros"] = vi,
		["Zaragoza"] = "[[萨拉戈萨站 (墨西哥城)|萨拉戈萨]]",
		["Zócalo"] = zo,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[墨西哥城地铁%1号线|%1号线]]",
			["icon"] = "[[File:MetroDF Línea %1.svg|16px|alt=]]",
		},
		["1"] = {
			["color"] = "F04E98",
			["left terminus"] = "Observatorio",
			["right terminus"] = "Pantitlán",
		},
		["2"] = {
			["color"] = "005EB8",
			["left terminus"] = "Cuatro Caminos",
			["right terminus"] = "塔斯奎尼亞",
		},
		["3"] = {
			["color"] = "AF9800",
			["left terminus"] = "Indios Verdes",
			["right terminus"] = "Universidad",
		},
		["4"] = {
			["color"] = "6BBBAE",
			["left terminus"] = "馬丁·卡雷拉",
			["right terminus"] = "聖阿尼塔",
		},
		["5"] = {
			["color"] = "FFD100",
			["left terminus"] = "理工學院",
			["right terminus"] = "Pantitlán",
		},
		["6"] = {
			["color"] = "DA291C",
			["left terminus"] = "埃爾·羅薩里奧",
			["right terminus"] = "馬丁·卡雷拉",
		},
	    ["7"] = {
			["color"] = "E87722",
			["left terminus"] = "埃爾·羅薩里奧",
			["right terminus"] = "Barranca del Muerto",
		},
		["8"] = {
			["color"] = "009A44",
			["left terminus"] = "Garibaldi / Lagunilla",
			["right terminus"] = "1917年憲法",
		},
		["9"] = {
			["color"] = "512F2E",
			["left terminus"] = "塔库巴亚",
			["right terminus"] = "Pantitlán",
		},
	    ["A"] = {
	    	["title"] = "[[墨西哥城地铁A线|A线]]",
			["color"] = "981D97",
			["left terminus"] = "Pantitlán",
			["right terminus"] = "La Paz",
		},
	    ["B"] = {
	    	["title"] = "[[墨西哥城地铁B线|B线]]",
			["color"] = "B1B3B3",
			["left terminus"] = "阿兹特克城",
			["right terminus"] = "Buenavista",
		},
	    ["12"] = {
			["color"] = "B0A32A",
			["left terminus"] = "Observatorio",
			["right terminus"] = "特拉胡阿科",
		},
	},
}

return p