Difference between revisions of "Template:Metrolinklines"

From Transit.Wiki
m
m
Line 1: Line 1:
{{#ifeq:{{{1|}}}|Ventura|{{Colorbox|gold|Ventura County Line}} {{#ifeq:{{{2|}}}|y|[[Ventura County Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Ventura County Line| ]]}}}}<noinclude>
+
{{#switch:{{{1|}}}
 
+
|Ventura={{Colorbox|gold|Ventura County Line}} {{#ifeq:{{{2|}}}|y|[[Ventura County Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Ventura County Line| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|Antelope Valley|{{Colorbox|green|Antelope Valley Line}} {{#ifeq:{{{2|}}}|y|[[Antelope Valley Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Antelope Valley Line| ]]}}}}<noinclude>
+
|Antelope Valley={{Colorbox|green|Antelope Valley Line}} {{#ifeq:{{{2|}}}|y|[[Antelope Valley Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Antelope Valley Line| ]]}}
 
+
|San Bernardino={{Colorbox|brown|San Bernardino Line}} {{#ifeq:{{{2|}}}|y|[[San Bernardino Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::San Bernardino Line| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|San Bernardino|{{Colorbox|brown|San Bernardino Line}} {{#ifeq:{{{2|}}}|y|[[San Bernardino Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::San Bernardino Line| ]]}}}}<noinclude>
+
|Riverside={{Colorbox|purple|Riverside Line}} {{#ifeq:{{{2|}}}|y|[[Riverside Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Riverside Line| ]]}}
 
+
|Orange County={{Colorbox|orange|Orange County Line}} {{#ifeq:{{{2|}}}|y|[[Orange County Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Orange County Line| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|Riverside|{{Colorbox|purple|Riverside Line}} {{#ifeq:{{{2|}}}|y|[[Riverside Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Riverside Line| ]]}}}}<noinclude>
+
|Inland Empire={{Colorbox|magenta|Inland Empire-Orange County Line}} {{#ifeq:{{{2|}}}|y|[[Inland Empire-Orange County Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Inland Empire-Orange County Line| ]]}}
 
+
|91={{Colorbox|cyan|91 Line}} {{#ifeq:{{{2|}}}|y|[[91 Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::91 Line| ]]}}
</noinclude>{{#ifeq:{{{1|}}}|Orange County|{{Colorbox|orange|Orange County Line}} {{#ifeq:{{{2|}}}|y|[[Orange County Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Orange County Line| ]]}}}}<noinclude>
+
}}<noinclude>
 
+
This is designed for Metrolink:
</noinclude>{{#ifeq:{{{1|}}}|Inland Empire|{{Colorbox|magenta|Inland Empire-Orange County Line}} {{#ifeq:{{{2|}}}|y|[[Inland Empire-Orange County Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::Inland Empire-Orange County Line| ]]}}}}<noinclude>
 
 
 
</noinclude>{{#ifeq:{{{1|}}}|91|{{Colorbox|cyan|91 Line}} {{#ifeq:{{{2|}}}|y|[[91 Line]]}}{{#ifeq:{{{note|}}}|y|[[Served by::91 Line| ]]}}}}<noinclude>
 
 
 
This is designed for LA Metro
 
  
 
* Parameter1: Name of line
 
* Parameter1: Name of line

Revision as of 02:29, 1 November 2013

This is designed for Metrolink:

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