Difference between revisions of "Template:BARTlines"

From Transit.Wiki
m
m (Text replacement - "Richmond - Millbrae - SFO" to "Richmond - Millbrae")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{1|}}}|yellow|{{Colorbox|yellow|Pittsburg/Bay Point - SFO}} {{#ifeq:{{{2|}}}|y|[[Pittsburg/Bay Point - SFO]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Pittsburg/Bay Point - SFO| ]]}}}}<noinclude>
+
{{#switch:{{{1|}}}
 
+
|yellow={{Colorbox|yellow|BART Antioch - SFO}} {{#ifeq:{{{2|}}}|y|[[BART Antioch - SFO|Antioch - SFO]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Antioch - SFO| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|orange|{{Colorbox|orange|Richmond - Fremont}} {{#ifeq:{{{2|}}}|y|[[Richmond - Fremont]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Richmond - Fremont| ]]}}}}<noinclude>
+
|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|[[BART Dublin/Pleasanton - Daly City|Dublin/Pleasanton - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Dublin/Pleasanton - Daly City| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|blue|{{Colorbox|#00B8FF|Dublin/Pleasanton - Daly City}} {{#ifeq:{{{2|}}}|y|[[Dublin/Pleasanton - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Dublin/Pleasanton - Daly City| ]]}}}}<noinclude>
+
|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 Berryessa - Daly City}} {{#ifeq:{{{2|}}}|y|[[BART Berryessa - Daly City|Berryessa - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::BART Berryessa - Daly City| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|red|{{Colorbox|red|Richmond - Millbrae}} {{#ifeq:{{{2|}}}|y|[[Richmond - Millbrae]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Richmond - Millbrae| ]]}}}}<noinclude>
+
|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>{{#ifeq:{{{1|}}}|green|{{Colorbox|green|Fremont - Daly City}} {{#ifeq:{{{2|}}}|y|[[Fremont - Daly City]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Fremont - Daly City| ]]}}}}<noinclude>
+
}}<noinclude>
 
 
 
This is designed for BART
 
This is designed for BART
  
Line 14: 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