Difference between revisions of "Template:CMTA color"
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
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: |
|
| The above documentation is transcluded from Template:CMTA color/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |