Difference between revisions of "Template:CATS color"
Jump to navigation
Jump to search
imported>Useddenim (documentation; removed case sensitivity) |
imported>Useddenim m (added abbreviations) |
||
| Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
| − | | red = e41f3a | + | | red | r = e41f3a |
| − | | blue = 0000ff | + | | blue | b = 0000ff |
| − | | green = 339933 <!-- defunct Charlotte Trolley --> | + | | green | g = 339933 <!-- defunct Charlotte Trolley --> |
| − | | silver = b1b6ba | + | | silver | s = b1b6ba |
| − | | gold = fece0c | + | | gold | d = fece0c |
}}<noinclude> | }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Latest revision as of 18:07, 4 January 2017
This template can be used to call the color of Charlotte Area Transit System (CATS) and CityLynx lines.
In order to call a line's color, the code #{{CATS color|color}} is used (where color is replaced by the actual route color or abbreviation). Note that this template is not case sensitive: i.e. {{CATS color|Red}} produces the same result as {{CATS color|red}}.
{{CATS color|red}} or …|r}}
|
Sample: | e41f3a
| |
{{CATS color|blue}} or …|b}}
|
Sample: | 0000ff
| |
{{CATS color|green}} or …|g}}
|
Sample: | 339933
| |
{{CATS color|silver}} or …|s}}
|
Sample: | b1b6ba
| |
{{CATS color|gold}} or …|d}}
|
Sample: | fece0c
|
| The above documentation is transcluded from Template:CATS 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. |