Module:Adjacent stations/Buenos Aires Underground

local stations = {
	premetro = "[[%1 (Buenos Aires Premetro)|%1]]",
	line_b = "[[%1 (Line B Buenos Aires Underground)|%1]]",
	line_c = "[[%1 (Line C Buenos Aires Underground)|%1]]",
	line_d = "[[%1 (Line D Buenos Aires Underground)|%1]]",
	line_e = "[[%1 (Line E Buenos Aires Underground)|%1]]",
	line_g = "[[%1 (Line G Buenos Aires Underground)|%1]]",
	line_h = "[[%1 (Line H Buenos Aires Underground)|%1]]",
}

local p = {
	["system title"] = "[[Buenos Aires Underground]]",
	["system icon"] = "[[File:Subte gcba logo.png|20px|link=Buenos Aires Underground]]",
	["name format"] = "font-size: 180%; font-family: sans; font-weight: bolder; line-height: 100%; color: #00589D; background-color: transparent;",
	["header background color"] = "00589D",
	["station format"] = {
		"%1 (Buenos Aires Underground)",
		["Ana Díaz"] = stations.premetro,
		["Ana María Janer"] = stations.premetro,
		["Balbastro"] = stations.premetro,
		["Callao"] = {
			["B"] = stations.line_b,
			["D"] = stations.line_d,
		},
		["Cecilia Grierson"] = stations.premetro,
		["Centro Cívico"] = stations.premetro,
		["Constitución"] = {
			["C"] = stations.line_c,
			["E"] = stations.line_e,
		},
		["Escalada"] = stations.premetro,
		["Fernández de la Cruz"] = stations.premetro,
		["Fátima"] = stations.premetro,
		["Gabino Ezeiza"] = stations.premetro,
		["General Savio"] = stations.premetro,
		["Independencia"] = {
			["C"] = stations.line_c,
			["E"] = stations.line_e,
		},
		["Intendente Saguier"] = stations.premetro,
		["Larrazabal"] = stations.premetro,
		["Mariano Acosta"] = stations.premetro,
		["Nicolás Descalzi"] = stations.premetro,
		["Parque de la Ciudad"] = stations.premetro,
		["Pola"] = stations.premetro,
		["Presidente Illia"] = stations.premetro,
		["Pueyrredón"] = {
			["B"] = stations.line_b,
			["D"] = stations.line_d,
		},
		["Retiro"] = {
			["C"] = stations.line_c,
			["E"] = stations.line_e,
			["G"] = stations.line_g,
			["H"] = stations.line_h,
		},
		["Somellera"] = stations.premetro,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[Line %1 (Buenos Aires Underground)|Line %1]]",
			["icon"] = "[[File:Línea %1 (SBASE) bullet.svg|20px]]",
		},
		["A"] = {
			["color"] = "00aeda",
			["left terminus"] = "San Pedrito",
			["right terminus"] = "Plaza de Mayo",
		},
		["B"] = {
			["color"] = "ee4035",
			["left terminus"] = "Juan Manuel de Rosas",
			["right terminus"] = "Leandro N. Alem",
		},
		["C"] = {
			["color"] = "0067b2",
			["left terminus"] = "Retiro",
			["right terminus"] = "Constitución",
		},
		["D"] = {
			["color"] = "008067",
			["left terminus"] = "Congreso de Tucumán",
			["right terminus"] = "Catedral",
		},
		["E"] = {
			["color"] = "6c2180",
			["left terminus"] = "Plaza de los Virreyes",
			["right terminus"] = "Retiro",
		},
		["F"] = {
			["color"] = "b21e39",
		},
		["G"] = {
			["color"] = "f386a2",
		},
		["H"] = {
			["color"] = "ffde00",
			["left terminus"] = "Facultad de Derecho",
			["right terminus"] = "Hospitales",
		},
		["I"] = {
			["color"] = "f47734",
		},
		["P"] = {
			["title"] = "[[Premetro (Buenos Aires)|Premetro]]",
			["color"] = "fbac23",
			["left terminus"] = {"General Savio", "Centro Cívico"},
			["right terminus"] = "Intendente Saguier",
		},
		["text"] = {
			["color"] = "00589d",   -- Metro logo color 
		},
	},
	["aliases"] = {
		["a"] = "A",
		["line a"] = "A",
		["b"] = "B",
		["line b"] = "B",
		["c"] = "C",
		["line c"] = "C",
		["d"] = "D",
		["line d"] = "D",
		["e"] = "E",
		["line e"] = "E",
		["f"] = "F",
		["line f"] = "F",
		["g"] = "G",
		["line g"] = "G",
		["h"] = "H",
		["line h"] = "H",
		["i"] = "I",
		["line i"] = "I",
		["p"] = "P",
		["premetro"] = "P",
		["e2"] = "P",
		["line p"] = "P",
		["logoblue"] = "text",
	},
}

return p