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 |
---|---|---|---|---|
Oakland Airport Connector | OAK |
aba682 |
| |
Blue Line | Blue |
00aeef |
| |
Green Line | Green |
4db848 |
| |
Orange Line | Orange |
faa61a |
| |
Red Line | Red |
ed1c24 |
| |
Yellow Line | Yellow |
ffe800 |
| |
Yellow Line (eBART) | eBART |
ffe800 |
|
Future lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Green Line | Green-2030 or green2030 |
4db848 |
| |
Orange Line | Orange-2030 or orange2030 |
faa61a |
|
Former lines
Line | Keys | Color | Hex color | Icon |
---|---|---|---|---|
Purple Line | Purple |
c463c5 |
| |
Dublin/Pleasanton–MacArthur line | Blue-Sunday or bluesunday |
00aeef |
| |
Dublin/Pleasanton–Millbrae line | Blue-Millbrae |
00aeef |
| |
Dublin/Pleasanton–SFO/Millbrae line | Blue-SFO-Millbrae |
00aeef |
| |
Dublin/Pleasanton–SFO line | Blue-SFO |
00aeef |
|
local bart = "%1 station (BART)"
local ca = "%1 station (California)"
local tc = "%1 Transit Center"
local p = {
["lang"] = "en-US",
["system title"] = "[[Bay Area Rapid Transit]]",
["system icon"] = "[[File:Bart compact logo.svg|18px|link=Bay Area Rapid Transit]]",
["line icon format"] = "box",
["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;",
["system color"] = "0099d8",
["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]]",
["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,
["Montgomery"] = "[[Montgomery Street station|Montgomery]]",
["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]]",
["Powell"] = "[[Powell Street station|Powell]]",
["Richmond"] = ca,
["San Bruno"] = bart,
["Santa Clara"] = tc,
["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"] = "[[Blue Line (BART)|Blue Line]]",
["short name"] = "Blue Line",
["color"] = "00aeef",
["text color"] = "FFFFFF",
["left terminus"] = "Daly City",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-Sunday"] = {
["title"] = "[[Blue Line (BART)|Dublin/Pleasanton–MacArthur line]]",
["color"] = "00aeef",
["left terminus"] = "MacArthur",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-SFO"] = {
["title"] = "[[Blue Line (BART)|Dublin/Pleasanton–SFO line]]",
["color"] = "00aeef",
["left terminus"] = "San Francisco International Airport",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-SFO-Millbrae"] = {
["title"] = "[[Blue Line (BART)|Dublin/Pleasanton–SFO/Millbrae line]]",
["color"] = "00aeef",
["left terminus"] = "Millbrae",
["right terminus"] = "Dublin/Pleasanton",
},
["Blue-Millbrae"] = {
["title"] = "[[Blue Line (BART)|Dublin/Pleasanton–Millbrae line]]",
["color"] = "00aeef",
["left terminus"] = "Millbrae",
["right terminus"] = "Dublin/Pleasanton",
},
["Green"] = {
["title"] = "[[Green Line (BART)|Green Line]]",
["short name"] = "Berryessa–Daly City",
["color"] = "4db848",
["text color"] = "FFFFFF",
["left terminus"] = "Daly City",
["right terminus"] = "Berryessa/North San José",
},
["Green-2030"] = {
["title"] = "[[Green Line (BART)|Green Line]]",
["color"] = "4db848",
["left terminus"] = "Daly City",
["right terminus"] = "Santa Clara",
["note-mid"] = "[[Silicon Valley BART extension|Silicon Valley extension]]",
},
["OAK"] = {
["title"] = "[[Oakland Airport Connector]]",
["short name"] = "Oakland Airport Connector",
["color"] = "aba682",
["left terminus"] = "Oakland International Airport",
["right terminus"] = "Coliseum",
},
["Orange"] = {
["title"] = "[[Orange Line (BART)|Orange Line]]",
["short name"] = "Orange Line",
["color"] = "faa61a",
["left terminus"] = "Berryessa/North San José",
["right terminus"] = "Richmond",
},
["Orange-2030"] = {
["title"] = "[[Orange Line (BART)|Orange Line]]",
["color"] = "faa61a",
["left terminus"] = "Santa Clara",
["right terminus"] = "Richmond",
["note-mid"] = "[[Silicon Valley BART extension|Silicon Valley extension]]",
},
["Red"] = {
["title"] = "[[Red Line (BART)|Red Line]]",
["short name"] = "Red Line",
["color"] = "ed1c24",
["left terminus"] = "Millbrae",
["right terminus"] = "Richmond",
},
["Purple"] = {
["title"] = "[[Purple Line (BART)|Purple Line]]",
["color"] = "c463c5",
["left terminus"] = "Millbrae",
["right terminus"] = "San Francisco International Airport",
},
["Yellow"] = {
["title"] = "[[Yellow Line (BART)|Yellow Line]]",
["short name"] = "Yellow Line",
["color"] = "ffe800",
["left terminus"] = {"San Francisco International Airport", "Millbrae"},
["right terminus"] = {"Antioch", ["via"] = "Pittsburg/Bay Point"},
},
["eBART"] = {
["title"] = "[[eBART|Yellow Line <small>(eBART)</small>]]",
["short name"] = "eBART",
["color"] = "ffe800",
["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",
["oak"] = "OAK",
["O"] = "Orange",
["orange2026"] = "Orange-2030",
["orange2029"] = "Orange-2030",
["orange2030"] = "Orange-2030",
["purple"] = "Purple",
}
}
return p