Jump to content

Module:Adjacent stations/Caltrain

From Wikipedia, the free encyclopedia

local ca = "%1 station (California)"
local caltrain = "%1 station (Caltrain)"
local tc = "%1 Transit Center"

local p = {
	["lang"] = "en-US",
	["system title"] = "[[Caltrain]]",
	["system icon"] = "[[File:Caltrain roundel.svg|13px|link=Caltrain]]",
	["name format"] = "background-color: #ffffff; font-size: 175%; font-family: helvetica; color: black; font-weight: bolder; font-style: bold; padding:5px; border: 2px solid #000000;",
	["header background color"] = "E31837",
	["header text color"] = "FFFFFF",
	["system color"] = "E31837",
	["station format"] = {
		"%1 station",
		["22nd Street"] = caltrain,
		["4th and King"] = "San Francisco 4th and King Street station",
		["4th & King Street"] = "San Francisco 4th and King Street station",
		["Bayshore"] = caltrain,
		["Belmont"] = caltrain,
		["Blossom Hill"] = caltrain,
		["Broadway"] = caltrain,
		["Capitol"] = caltrain,
		["Castro"] = caltrain,
		["College Park"] = caltrain,
		["Hillsdale"] = caltrain,
		["Lawrence"] = caltrain,
		["Mountain View"] = "Downtown Mountain View station",
		["Oakdale"] = "Paul Avenue station#Oakdale station proposal",
		["Pajaro/Watsonville"] = "[[Pajaro/Watsonville station|Pajaro/​Watsonville]]",
		["San Antonio"] = caltrain,
		["San Bruno"] = caltrain,
		["San Francisco"] = "San Francisco 4th and King Street station",
		["San Jose Diridon or College Park"] = "[[San Jose Diridon station|San Jose Diridon]] or [[College Park station (Caltrain)|College Park]]",
		["Santa Clara"] = tc,
		["Santa Clara or College Park"] = "[[Santa Clara Transit Center|Santa Clara]] or [[College Park station (Caltrain)|College Park]]",
		["South San Francisco"] = caltrain,
		["Transbay"] = "Salesforce Transit Center",
		["Salesforce"] = tc,
		["Transbay Transit Center"] = "Salesforce Transit Center",
		["Salesforce Transit Center"] = "Salesforce Transit Center"
	},
	["lines"] = {
		
		-- Current
		["Local"] = {
			["title"] = "[[Caltrain#Services|Local]]",
			["color"] = "FFFFFF",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien"}
		},
		["Limited"] = {
			["title"] = "[[Caltrain#Services|Limited]]",
			["color"] = "94DFE2",
			["left terminus"] = "San Francisco",
			["right terminus"] = "San Jose Diridon"
		},
		["Express"] = {
			["title"] = "[[Caltrain#Services|Express]]",
			["color"] = "F32F29",
			["left terminus"] = "San Francisco",
			["right terminus"] = "San Jose Diridon"
		},
		["Weekend Local"] = {
			["title"] = "[[Caltrain#Services|Weekend Local]]",
			["color"] = "FFFFFF",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien"}
		},
		["South County Connector"] = {
			["title"] = "[[Caltrain#Services|South County Connector]]",
			["color"] = "FFF3D4",
			["left terminus"] = "San Jose Diridon",
			["right terminus"] = "Gilroy"
		},
	
	    -- Former
		["L1"] = {
			["title"] = "[[Caltrain#Train numbering scheme|Local (L1)]]",
			["color"] = "FFFFFF",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien"}
		},
		["L2"] = {
			["title"] = "[[Caltrain#Train numbering scheme|Weekend Local (L2)]]",
			["color"] = "FFFFFF",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien"}
		},
		["L3"] = {
			["title"] = "[[Caltrain#Train numbering scheme|Limited (L3)]]",
			["color"] = "FEEDB8",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien", "Gilroy"}
		},
		["L4"] = {
			["title"] = "[[Caltrain#Train numbering scheme|Limited (L4)]]",
			["color"] = "FEEDB8",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien", "Gilroy"}
		},
		["L5"] = {
			["title"] = "[[Caltrain#Train numbering scheme|Limited (L5)]]",
			["color"] = "FEEDB8",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien"}
		},
		["B7"] = {
			["title"] = "[[Caltrain Express|Baby Bullet (B7)]]",
			["color"] = "E41838",
			["left terminus"] = "San Francisco",
			["right terminus"] = "San Jose Diridon"
		},
	
		-- For stations closed pre-2021
		["Local (former)"] = {
			["title"] = "[[Caltrain#Train numbering scheme|Local]]",
			["color"] = "FFFFFF",
			["left terminus"] = "San Francisco",
			["right terminus"] = {"San Jose Diridon", "Tamien"}
		}
	},
	["aliases"] = {
		["b7"] = "B7",
		["baby"] = "B7",
		["babybullet"] = "B7",
		["bullet"] = "B7",
		["l1"] = "L1",
		["l2"] = "L2",
		["l3"] = "L3",
		["l4"] = "L4",
		["l5"] = "L5",
		["local (former)"] = "Local (former)",
		["local"] = "Local",
		["e-local"] = "Local",
		["w-local"] = "Weekend Local"
	}
}

return p