Difference between revisions of "Template:CMTA color"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
m ({{Documentation}}; case sensitivity)
imported>Scott218
 
Line 1: Line 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
 
  | red=EE3124
 
  | red=EE3124
 +
| blue=0000FF
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:29, 18 August 2020

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: