Template:Color/doc: Difference between revisions

removing Lint Errors
m (1 revision: reupload of previous page XML upload)
(removing Lint Errors)
 
(5 intermediate revisions by 2 users not shown)
Line 1:
 
==Usage==
 
<nowiki> {{color|<name of color>|text}} </nowiki>
 
== '''Bugs''' ==
Does not work properly with wiki worded text, use only on plain text.
 
Using inside a {{tl|quote}} causes a [[Special:LintErrors/stripped-tag|lint error]].
 
==Features==
With two parameters, the first parameter sets the text color, and the second parameter is the text to be displayed. For example, <code><nowiki>{{color|red|yellow}}</nowiki></code> gives: {{color|red|yellow}}
 
With three parameters, the first parameter sets the text color, the second parameter sets the background color, and the third parameter is the text to be displayed. For example,<br/> <code><nowiki>{{color|red|yellow|blue}}</nowiki></code> gives: {{color|red|yellow|blue}}
 
Parameters will also accept hex codes. For instance, <code><nowiki>{{color|#016789|#78deef|text such as this}}</nowiki></code> gives: {{color|#016789|#78deef|text such as this}}
 
<noinclude>[[Category:ATT Template Documentation]]</noinclude>