Module:Adjacent stations/Rodalies de Catalunya

local s = "%1 railway station"

local p = {
	["system title"] = "[[Rodalies de Catalunya]]",
	["system icon"] = "[[File:Rodalies de Catalunya.svg|16px|link=Rodalies de Catalunya]]",
	["station format"] = {
		"%1 railway station",
		  ["Airport"] = "[[Airport T2 station|Barcelona–El Prat Airport]]",
		  ["Barcelona Arc de Triomf"] = "Arc de Triomf station",
		  ["Barcelona–El Prat Airport"] = "Airport T2 station",
		  ["Barcelona Estació de França"] = "Barcelona França railway station",
		  ["Barcelona La Sagrera-Meridiana"] = "La Sagrera-Meridiana station",
		  ["Barcelona Passeig de Gràcia"] = "Passeig de Gràcia station",
		  ["Barcelona Plaça de Catalunya"] = "Plaça de Catalunya station",
		  ["Barcelona El Clot-Aragó"] = "El Clot-Aragó railway station",
		  ["Barcelona Sant Andreu Arenal"] = "Sant Andreu Arenal railway station",
		  ["Barcelona Sant Andreu Comtal"] = "Sant Andreu Comtal railway station",
		  ["Barcelona Torre del Baró"] = "Torre del Baró railway station",
		  ["Cerbère"] = "Gare de Cerbère",
		  ["Latour-de-Carol-Enveitg"] = "Gare de Latour-de-Carol-Enveitg",
	},
	["lines"] = {
		["_default"] = {
			["title"] = "[[%1 (Rodalies de Catalunya)|%1]]",
			["color"] = "EEEEEE",
		},
		["R1"] = {
			["title"] = "[[R1–RG1 (Rodalies de Catalunya)|R1]]",
			["color"] = "4499D4",
			["icon"] = "[[File:R1 barcelona.svg|16px|alt=]]",
			["left terminus"] = "Molins de Rei",
			["right terminus"] = "Maçanet-Massanes",
		},
		["RG1"] = {
			["title"] = "[[R1–RG1 (Rodalies de Catalunya)|RG1]]",
			["color"] = "007DC3",
			["icon"] = "[[File:RG1 girona.svg|16px|alt=]]",
			["left terminus"] = "L'Hospitalet de Llobregat",
			["right terminus"] = "Portbou",
		},
		["R2"] = {
			["color"] = "009900",
			["icon"] = "[[File:R2 barcelona.svg|16px|alt=]]",
			["left terminus"] = "Castelldefels",
			["right terminus"] = "Granollers Centre",
		},
		["R2N"] = {
			["title"] = "[[R2 (Rodalies de Catalunya)|R2 Nord]]",
			["color"] = "99C83E",
			["icon"] = "[[File:R2N barcelona.svg|16px|alt=]]",
			["left terminus"] = "Barcelona–El Prat Airport",
			["right terminus"] = "Maçanet-Massanes",
		},
		["R2S"] = {
			["title"] = "[[R2 (Rodalies de Catalunya)|R2 Sud]]",
			["color"] = "00642E",
			["icon"] = "[[File:R2S barcelona.svg|16px|alt=]]",
			["left terminus"] = "Sant Vicenç de Calders",
			["right terminus"] = "Barcelona Estació de França",
		},
		["R3"] = {
			["color"] = "FF131A",
			["icon"] = "[[File:R3 barcelona.svg|16px|alt=]]",
			["left terminus"] = "L'Hospitalet de Llobregat",
			["right terminus"] = "Latour-de-Carol-Enveitg",
		},
		["R4"] = {
			["color"] = "FF9221",
			["icon"] = "[[File:R4 barcelona.svg|16px|alt=]]",
			["left terminus"] = "Sant Vicenç de Calders",
			["right terminus"] = "Manresa",
		},
		["R7"] = {
			["color"] = "BD7DB5",
			["icon"] = "[[File:R7 barcelona.svg|16px|alt=]]",
			["left terminus"] = "Barcelona Sant Andreu Arenal",
			["right terminus"] = "Cerdanyola Universitat",
		},
		["R8"] = {
			["color"] = "9B1987",
			["icon"] = "[[File:R8 barcelona.svg|16px|alt=]]",
			["left terminus"] = "Martorell",
			["right terminus"] = "Granollers Centre",
		},
		["R10"] = {
			["color"] = "930030",
			["icon"] = "[[File:R10 barcelona.svg|16px|alt=]]",
			["left terminus"] = "Barcelona–El Prat Airport",
			["right terminus"] = "Barcelona Estació de França",
		},
		["R11"] = {
			["color"] = "0064A5",
			["icon"] = "[[File:R11 Rodalies de Catalunya.svg|16px|alt=]]",
			["left terminus"] = "Barcelona Sants",
			["right terminus"] = "Cerbère",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Cerbère",
					["right terminus"] = "Barcelona Sants",
				}
			}
		},
		["R12"] = {
			["color"] = "FFDC00",
			["icon"] = "[[File:R12 Rodalies de Catalunya.svg|16px|alt=]]",
			["left terminus"] = "L'Hospitalet de Llobregat",
			["right terminus"] = "Lleida Pirineus",
			["types"] = {
				["reverse"] = {
					["title"] = "",
					["left terminus"] = "Lleida Pirineus",
					["right terminus"] = "L'Hospitalet de Llobregat",
				}
			}
		},
		["R13"] = {
			["color"] = "E52E87",
			["icon"] = "[[File:R13 Rodalies de Catalunya.svg|16px|alt=]]",
			["left terminus"] = "Lleida Pirineus",
			["right terminus"] = "Barcelona Estació de França",
		},
		["R14"] = {
			["color"] = "675199",
			["icon"] = "[[File:R14 Rodalies de Catalunya.svg|16px|alt=]]",
			["left terminus"] = "Lleida Pirineus",
			["right terminus"] = "Barcelona Estació de França",
		},
		["R15"] = {
			["color"] = "9A8A76",
			["icon"] = "[[File:R15 Rodalies de Catalunya.svg|16px|alt=]]",
			["left terminus"] = "Riba-roja d'Ebre",
			["right terminus"] = "Barcelona Estació de França",
		},
		["R16"] = {
			["color"] = "AF0036",
			["icon"] = "[[File:R16 Rodalies de Catalunya.svg|16px|alt=]]",
			["left terminus"] = {"Ulldecona-Alcanar-La Sénia","Tortosa"},
			["right terminus"] = "Barcelona Estació de França",
		},
		["R17"] = {
			["color"] = "E97300",
			["icon"] = "[[File:R17 Rodalies de Catalunya.svg|16px|alt=]]",
			["left terminus"] = "Port Aventura",
			["right terminus"] = "Barcelona Estació de França",
		},
		["RT1"] = {
			["color"] = "35BDB2",
			["icon"] = "[[File:RT1 tarragona.svg|16px|alt=]]",
			["left terminus"] = "Reus",
			["right terminus"] = "Tarragona",
		},
		["RT2"] = {
			["color"] = "DC87B9",
			["icon"] = "[[File:RT2 tarragona.svg|16px|alt=]]",
			["left terminus"] = "Tarragona",
			["right terminus"] = "L'Arboç",
		},
		["RL1"] = {
			["color"] = "6B8E23",
			["left terminus"] = "Lleida Pirineus",
			["right terminus"] = "Balaguer",
		},
		["RL2"] = {
			["color"] = "32CD32",
			["left terminus"] = "Lleida Pirineus",
			["right terminus"] = "La Pobla de Segur",
		},
	}
	
}
	
return p;