Difference between revisions of "Template:CATS color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
 
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 15: Line 15:
 
|}
 
|}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:United States rail transport color templates]]
 
[[Category:United States rail transport color templates]]
 
[[Category:Charlotte Area Transit System templates]]
 
[[Category:Charlotte Area Transit System templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 01:19, 24 April 2020


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