Module:Adjacent stations/Philippine National Railways

local pnr = "%1 station (PNR)"
local c = { SYS = "ff9900",
			NSCR = "FF0000" }
local p = {
	["system title"] = "[[Philippine National Railways|PNR]]",
	["station format"] = {
		"%1 station",
		["Alabang or Mamatid"] = {
			"[[Alabang station|Alabang]]",
			"[[Mamatid station|Mamatid]]"
		},
		["Alabang, Mamatid or Calamba"] = {
			"[[Alabang station|Alabang]]",
			"[[Mamatid station|Mamatid]]",
			"[[Calamba station|Calamba]]"
		},
		["5th Avenue"] = "[[%1 station (PNR)|%1 station]]",
		["10th Avenue"] = "[[%1 station (PNR)|%1 station]]",
		["San Fernando"] = "%1 station (Pampanga)",
		["San Pablo"] = pnr,
		["Santa Rosa"] = pnr,
		["Buendia"] = pnr,
		["Blumentritt"] = pnr,
		["College"] = pnr,
		["EDSA"] = pnr,
		["Vito Cruz"] = pnr,
	},
	["lines"] = {
		["_default"] = {
			["title"] = "''[[%1]]''",
			["color"] =c.SYS,
		},
		["Bicol"] = {
			["title"] = "[[PNR South Main Line#Bicol Commuter|Bicol Commuter]]",
			["left terminus"] = "Tagkawayan",
			["right terminus"] = "Legazpi"
		},
		["BicolExpress"] = {
			["title"] = "[[PNR South Main Line#Bicol Express|Bicol Express]]",
			["left terminus"] = "Tutuban",
			["right terminus"] = "Legazpi"
		},
		["Metro Commuter North Shuttle"] = {
			["title"] = "[[PNR Metro Commuter Line#Shuttle Service|North Shuttle]]",
			["left terminus"] = "Governor Pascual",
			["right terminus"] = "Bicutan"
		},
		["Metro Commuter North"] = {
			["title"] = "[[PNR Metro Commuter Line|Metro North Commuter]]",
			["left terminus"] = "Governor Pascual",
			["right terminus"] = "Tutuban"
		},
		["Isarog"] = {
			["title"] = "[[Philippine National Railways#Isarog Limited|Isarog Limited]]",
			["left terminus"] = "Tutuban",
			["right terminus"] = "Naga"
		},
		["Mayon"] = {
			["title"] = "[[Philippine National Railways#Mayon Limited|Mayon Limited]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["MetroCommuter"] = {
			["title"] = "[[PNR Metro Commuter Line|Metro South Commuter]]",
			["left terminus"] = "Tutuban",
			["right terminus"] = "IRRI"
		},
		["Commex"] = {
			["title"] = "''[[Commex]]''",
			["left terminus"] = "Tutuban",
			["right terminus"] = "IRRI"
		},
		["North"] = {
			["title"] = "[[Philippine National Railways#Intercity services|Northrail]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["South"] = {
			["title"] = "[[Philippine National Railways#Intercity services|Southrail]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["Airport Limited Express"] = {
			["title"] = "[[North–South Commuter Railway#Services|''Airport Limited Express'']]",
			["left terminus"] = "Clark International Airport",
			["right terminus"] = "Alabang"
		},
		["NSCRCIC"] = {
			["color"] = c.NSCR,
			["title"] = "[[North–South Commuter Railway#Services|NSCR Commuter]]",
			["left terminus"] = "Clark International Airport",
			["right terminus"] = "Calamba"
		},
		["NSCRMAC"] = {
			["color"] = c.NSCR,
			["title"] = "[[North–South Commuter Railway#Services|NSCR Commuter]]",
			["left terminus"] = "Tutuban",
			["right terminus"] = "Calamba"
		},
		["NSCRMAN"] = {
			["color"] = c.NSCR,
			["title"] = "[[North–South Commuter Railway#Services|NSCR Commuter]]",
			["left terminus"] = "New Clark City",
			["right terminus"] = "Tutuban"
		},
		["NSCECIC"] = {
			["color"] = c.NSCR,
			["title"] = "[[North–South Commuter Railway#Services|Commuter Express]]",
			["left terminus"] = "Clark International Airport",
			["right terminus"] = "Calamba"
		},
		["NSCEMAC"] = {
			["color"] = c.NSCR,
			["title"] = "[[North–South Commuter Railway#Services|Commuter Express]]",
			["left terminus"] = "Tutuban",
			["right terminus"] = "Calamba"
		},
		["NSCEMAN"] = {
			["color"] = c.NSCR,
			["title"] = "[[North–South Commuter Railway#Services|Commuter Express]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["SLHRBDA"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH Local]]",
			["left terminus"] = "?",
			["right terminus"] = "Daraga"
		},
		["SLHRBDB"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH Local]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["SLHRBDL"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH Local]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["SLHRBDM"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH Local]]",
			["left terminus"] = "?",
			["right terminus"] = "?"
		},
		["SLHRSMB"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH Local]]",
			["left terminus"] = "?",
			["right terminus"] = "Batangas Passenger Terminal"
		},
		["SLHRSML"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH Local]]",
			["left terminus"] = "?",
			["right terminus"] = "Lucena"
		},
		["SLHRSMM"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH Local]]",
			["left terminus"] = "?",
			["right terminus"] = "Matnog"
		},
		["SLHXBDA"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH ''Bicol Express'']]",
			["left terminus"] = "?",
			["right terminus"] = "Daraga"
		},
		["SLHXBDM"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH ''Bicol Express'']]",
			["left terminus"] = "?",
			["right terminus"] = "Matnog"
		},
		["SLHXSMM"] = {
			["title"] = "[[PNR South Long Haul#Services|SLH ''Bicol Express'']]",
			["left terminus"] = "?",
			["right terminus"] = "Matnog"
		},
	},
	["aliases"] = {
		["caloocantutuban"] = "Metro Commuter North",
		["caloocan"] = "Metro Commuter North Shuttle"
	}
}

return p