Module:Adjacent stations/BART
Appearance
![]() | This Lua module is used on approximately 260 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
This is a data module for Module:Adjacent stations. It supports services operated by BART.
Active lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Coliseum–Oakland International Airport Line | OAK |
D5CFA3 |
| |
Dublin/Pleasanton–Daly City Line | Blue |
0099CC |
| |
Berryessa/North San José–Daly City Line | Green |
339933 |
| |
Berryessa/North San José–Richmond Line | Orange |
FF9933 |
| |
Richmond–Millbrae + SFO Line | Red |
FF0000 |
| |
Antioch–SFO + Millbrae Line | Yellow |
FFFF33 |
| |
Antioch–SFO + Millbrae Line (eBART) | eBART |
FFFF33 |
|
Future lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Santa Clara–Daly City Line | Green-2030 or green2030 |
339933 |
| |
Santa Clara–Richmond Line | Orange-2030 or orange2030 |
FF9933 |
|
Former lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
SFO–Millbrae Line | Purple |
C463C5 |
| |
Dublin/Pleasanton–MacArthur Line | Blue-Sunday or bluesunday |
0099CC |
| |
Dublin/Pleasanton–Millbrae Line | Blue-Millbrae |
0099CC |
| |
Dublin/Pleasanton–SFO/Millbrae Line | Blue-SFO-Millbrae |
0099CC |
| |
Dublin/Pleasanton–SFO Line | Blue-SFO |
0099CC |
|
local bart = "%1 station (BART)"
local ca = "%1 station (California)"
local p = {
["lang"] = "en-US",
["system title"] = "[[Bay Area Rapid Transit]]",
["system icon"] = "[[File:Bart compact logo.svg|18px|link=Bay Area Rapid Transit]]",
["name format"] = "font-family:Helvetica;background-color:#FFFFFF;text-align:left;border: 2px solid #000000;font-size:185%;color:black;padding:6px;line-height:95%;text-align: center",
["header background color"] = "009BDA",
["header text color"] = "ffffff",
["system color"] = "009BDA",
["station format"] = {
"%1 station",
["12th Street old"] = "[[12th Street Oakland City Center station|Oakland City Center/12th Street]]",
["28th Street/Little Portugal"] = "[[28th Street/Little Portugal station|28th Street/Little Portugal]]",
["Antioch"] = bart,
["Ashby"] = bart,
["Berkeley old"] = "[[Downtown Berkeley station|Berkeley]]",
["Berryessa"] = "[[Berryessa/North San José station|Berryessa/North San José]]",
["Berryessa/North San José"] = "[[Berryessa/North San José station|Berryessa/North San José]]",
["Berryessa/North San Jose"] = "[[Berryessa/North San José station|Berryessa/North San José]]",
["Calaveras"] = "Silicon Valley BART extension#Berryessa extension",
["Civic Center old"] = "[[Civic Center/UN Plaza station|Civic Center]]",
["Civic Center"] = "[[Civic Center/UN Plaza station|Civic Center/UN Plaza]]",
["Civic Center/UN Plaza"] = "[[Civic Center/UN Plaza station|Civic Center/UN Plaza]]",
["Coliseum"] = "Oakland Coliseum station",
["Concord"] = bart,
["Diridon"] = "San Jose Diridon station",
["Doolittle"] = "Doolittle Maintenance and Storage Facility",
["Downtown San Jose"] = "[[Downtown San Jose station|Downtown San Jose]]",
["Dublin/Pleasanton"] = "[[Dublin/Pleasanton station|Dublin/Pleasanton]]",
["Fremont"] = bart,
["Hayward"] = bart,
["Irvington"] = bart,
["Lafayette"] = bart,
["MacArthur"] = bart,
["North Concord/Martinez"] = "[[North Concord/Martinez station|North Concord/Martinez]]",
["Oakland West old"] = "[[West Oakland station|Oakland West]]",
["Pittsburg/Bay Point"] = "[[Pittsburg/Bay Point station|Pittsburg/Bay Point]]",
["Pleasant Hill old"] = "[[Pleasant Hill/Contra Costa Centre station|Pleasant Hill]]",
["Pleasant Hill/Contra Costa Centre"] = "[[Pleasant Hill/Contra Costa Centre station|Pleasant Hill/Contra Costa Centre]]",
["Richmond"] = ca,
["San Bruno"] = bart,
["Santa Clara"] = ca,
["South San Francisco"] = bart,
["Warm Springs/South Fremont"] = "[[Warm Springs/South Fremont station|Warm Springs/South Fremont]]",
["West Dublin/Pleasanton"] = "[[West Dublin/Pleasanton station|West Dublin/Pleasanton]]",
},
["lines"] = {
["Blue"] = {
["title"] = "[[Dublin/Pleasanton–Daly City line|Dublin/Pleasanton–Daly City Line]]",
["color"] = "0099CC",
["left terminus"] = "Daly City",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-Sunday"] = {
["title"] = "[[Dublin/Pleasanton–Daly City line|Dublin/Pleasanton–MacArthur Line]]",
["color"] = "0099CC",
["left terminus"] = "MacArthur",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-SFO"] = {
["title"] = "[[Dublin/Pleasanton–Daly City line|Dublin/Pleasanton–SFO Line]]",
["color"] = "0099CC",
["left terminus"] = "San Francisco International Airport",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-SFO-Millbrae"] = {
["title"] = "[[Dublin/Pleasanton–Daly City line|Dublin/Pleasanton–SFO/Millbrae Line]]",
["color"] = "0099CC",
["left terminus"] = "Millbrae",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-Millbrae"] = {
["title"] = "[[Dublin/Pleasanton–Daly City line|Dublin/Pleasanton–Millbrae Line]]",
["color"] = "0099CC",
["left terminus"] = "Millbrae",
["right terminus"] = "Dublin/Pleasanton",
},
["Green"] = {
["title"] = "[[Berryessa/North San José–Daly City line|Berryessa/North San José–Daly City Line]]",
["color"] = "339933",
["left terminus"] = "Daly City",
["right terminus"] = "Berryessa/North San José",
},
["Green-2030"] = {
["title"] = "[[Berryessa/North San José–Daly City line|Santa Clara–Daly City Line]]",
["color"] = "339933",
["left terminus"] = "Daly City",
["right terminus"] = "Santa Clara",
},
["OAK"] = {
["title"] = "[[Coliseum–Oakland International Airport line|Coliseum–Oakland International Airport Line]]",
["color"] = "D5CFA3",
["left terminus"] = "Oakland International Airport",
["right terminus"] = "Coliseum",
},
["Orange"] = {
["title"] = "[[Berryessa/North San José–Richmond line|Berryessa/North San José–Richmond Line]]",
["color"] = "FF9933",
["left terminus"] = "Berryessa/North San José",
["right terminus"] = "Richmond",
},
["Orange-2030"] = {
["title"] = "[[Berryessa/North San José–Richmond line|Santa Clara–Richmond Line]]",
["color"] = "FF9933",
["left terminus"] = "Santa Clara",
["right terminus"] = "Richmond",
},
["Red"] = {
["title"] = "[[Richmond–Millbrae + SFO line|Richmond–Millbrae + SFO Line]]",
["color"] = "FF0000",
["left terminus"] = {"San Francisco International Airport", ["via"] = "Millbrae"},
["right terminus"] = "Richmond",
},
["Shuttle"] = {
["title"] = "[[SFO–Millbrae line|SFO–Millbrae Line]]",
["color"] = "C463C5",
["left terminus"] = "Millbrae",
["right terminus"] = "San Francisco International Airport",
},
["Yellow"] = {
["title"] = "[[Antioch–SFO + Millbrae line|Antioch–SFO + Millbrae Line]]",
["color"] = "FFFF33",
["left terminus"] = {"Millbrae", "San Francisco International Airport"},
["right terminus"] = {"Antioch", ["via"] = "Pittsburg/Bay Point"},
},
["eBART"] = {
["title"] = "[[eBART|Antioch–SFO + Millbrae Line<br/><small>(eBART)</small>]]",
["color"] = "FFFF33",
["left terminus"] = {"Millbrae", "San Francisco International Airport", ["via"] = "Pittsburg/Bay Point"},
["right terminus"] = "Antioch",
},
},
["aliases"] = {
["bluesunday"] = "Blue-Sunday",
["green2026"] = "Green-2030",
["green2029"] = "Green-2030",
["green2030"] = "Green-2030",
["oak"] = "OAK",
["orange2026"] = "Orange-2030",
["orange2029"] = "Orange-2030",
["orange2030"] = "Orange-2030",
["purple"] = "Shuttle",
}
}
return p