Difference between revisions of "Template:VTALRlines"

From Transit.Wiki
(New page: {{#ifeq:{{{1|}}}|green|Mountain View - Winchester {{#ifeq:{{{2|}}}|y|Mountain View - Winchester}}}}<noinclude> </noinclude>{{#ifeq:{{{1|}}}|orange|[[im...)
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{1|}}}|green|[[image:icon-vta-green-16.png|Mountain View - Winchester]] {{#ifeq:{{{2|}}}|y|[[Mountain View - Winchester]]}}}}<noinclude>
+
{{#switch:{{{1|}}}
 
+
|green={{colorcircle|#A5D16D|letter=G|VTA Light Rail Green Line}} {{#ifeq:{{{2|}}}|y|[[VTA Light Rail Green Line|Green Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::VTA Light Rail Green Line| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|orange|[[image:icon-vta-orange-16.png|Ohlone/Chynoweth - Almaden]] {{#ifeq:{{{2|}}}|y|[[Ohlone/Chynoweth - Almaden]]}}}}<noinclude>
+
|blue={{colorcircle|#61C9F0|letter=B|VTA Light Rail Blue Line}} {{#ifeq:{{{2|}}}|y|[[VTA Light Rail Blue Line|Blue Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::VTA Light Rail Blue Line| ]]}}
 
+
|orange={{colorcircle|#F58220|letter=O|VTA Light Rail Orange Line}} {{#ifeq:{{{2|}}}|y|[[VTA Light Rail Orange Line|Orange Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::VTA Light Rail Orange Line| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|blue|[[image:icon-vta-blue-16.png|Alum Rock - Santa Teresa]] {{#ifeq:{{{2|}}}|y|[[Alum Rock - Santa Teresa]]}}}}<noinclude>
+
}}<noinclude>
 
 
 
 
 
This is designed for VTA Light Rail
 
This is designed for VTA Light Rail
  
Line 11: Line 9:
 
* Parameter2: If it is y, the name will show after color
 
* Parameter2: If it is y, the name will show after color
  
 +
[[Category:Rail agency line templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:31, 28 December 2019

This is designed for VTA Light Rail

  • Parameter1: Color of line, select from orange, green, and blue.
  • Parameter2: If it is y, the name will show after color