Difference between revisions of "Template:CMTA color"

From blackwiki
Jump to navigation Jump to search
imported>Train2104
(color from http://www.capmetro.org/riding/current_schedules%5Cmaps%5Csystem_map.pdf)
imported>Useddenim
m ({{Documentation}}; case sensitivity)
Line 1: Line 1:
{{#switch:{{{1}}}
+
{{#switch:{{lc:{{{1}}}}}
  | Red=EE3124
+
  | red=EE3124
 
}}<noinclude>
 
}}<noinclude>
''For use with [[Template:S-line]] in [[Capital MetroRail]] articles.''
+
{{Documentation}}
 
 
[[Category:United States rail transport color templates|{{PAGENAME}}]][[Category:Capital Metropolitan Transportation Authority templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 21:01, 27 July 2013

Template documentation[view] [edit] [history] [purge]

For use with Template:S-line in Capital MetroRail articles.

This template can also be used to call the color of CMTA lines.

In order to call a line's color, the code #{{CMTA color|name}} is used (where name is replaced by the actual color). Note that this template is not case sensitive: i.e. {{CMTA color|Red}} produces the same result as {{CMTA color|red}}.

{{CMTA color|red}} Sample:   ee3124
{{CMTA color|Blue Line (Capital Metro)}} Sample: