Difference between revisions of "Template:BARTlines"

From Transit.Wiki
m
m (Text replacement - "Richmond - Millbrae - SFO" to "Richmond - Millbrae")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch:{{{1|}}}
 
{{#switch:{{{1|}}}
|yellow={{Colorbox|yellow|BART Pittsburg/Bay Point - SFO}} {{#ifeq:{{{2|}}}|y|[[Pittsburg/Bay Point - SFO]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Pittsburg/Bay Point - SFO| ]]}}
+
|yellow={{Colorbox|yellow|BART Antioch - SFO}} {{#ifeq:{{{2|}}}|y|[[BART Antioch - SFO|Antioch - SFO]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Antioch - SFO| ]]}}
|orange={{Colorbox|orange|BART Richmond - Warm Springs}} {{#ifeq:{{{2|}}}|y|[[Richmond - Fremont]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Richmond - Warm Springs| ]]}}
+
|orange={{Colorbox|orange|BART Richmond - Berryessa}} {{#ifeq:{{{2|}}}|y|[[BART Richmond - Warm Springs|Richmond - Berryessa]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Richmond - Berryessa| ]]}}
|blue={{Colorbox|#00B8FF|BART Dublin/Pleasanton - Daly City}} {{#ifeq:{{{2|}}}|y|[[Dublin/Pleasanton - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Dublin/Pleasanton - Daly City| ]]}}
+
|blue={{Colorbox|#00B8FF|BART Dublin/Pleasanton - Daly City}} {{#ifeq:{{{2|}}}|y|[[BART Dublin/Pleasanton - Daly City|Dublin/Pleasanton - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Dublin/Pleasanton - Daly City| ]]}}
|red={{Colorbox|red|BART Richmond - Millbrae}} {{#ifeq:{{{2|}}}|y|[[Richmond - Millbrae]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Richmond - Millbrae| ]]}}
+
|red={{Colorbox|red|BART Richmond - Millbrae}} {{#ifeq:{{{2|}}}|y|[[BART Richmond - Millbrae|Richmond - Millbrae]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Richmond - Millbrae| ]]}}
|green={{Colorbox|green|BART Warm Springs - Daly City}} {{#ifeq:{{{2|}}}|y|[[Fremont - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Warm Springs - Daly City| ]]}}
+
|green={{Colorbox|green|BART Berryessa - Daly City}} {{#ifeq:{{{2|}}}|y|[[BART Berryessa - Daly City|Berryessa - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Berryessa - Daly City| ]]}}
 
|tan={{Colorbox|#d5cfa3|BART Coliseum - Oakland Airport}} {{#ifeq:{{{2|}}}|y|[[Coliseum - Oakland Airport]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Coliseum - Oakland Airport| ]]}}
 
|tan={{Colorbox|#d5cfa3|BART Coliseum - Oakland Airport}} {{#ifeq:{{{2|}}}|y|[[Coliseum - Oakland Airport]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Coliseum - Oakland Airport| ]]}}
 +
|purple={{Colorbox|#903f98|BART Millbrae - SFO}} {{#ifeq:{{{2|}}}|y|[[BART Millbrae - SFO|Millbrae - SFO]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Millbrae - SFO| ]]}}
 
}}<noinclude>
 
}}<noinclude>
 
This is designed for BART
 
This is designed for BART
Line 12: Line 13:
 
* Parameter2: If it is yes, the name will show after color
 
* Parameter2: If it is yes, the name will show after color
  
 +
[[Category:Rail agency line templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:00, 11 September 2023

This is designed for BART

  • Parameter1: Color of line
  • Parameter2: If it is yes, the name will show after color