Template:Color/doc: Difference between revisions

Content added Content deleted
No edit summary
Tag: Reverted
(Undo revision 2057997 by Robkelk (talk) unfortunately, switching to the template that des not generate lint errors removes needed functionality)
Tag: Undo
Line 8: Line 8:


==Features==
==Features==
With two parameters, the first parameter sets the text color, and the second parameter is the text to be displayed. For example, {{tl|color|red|yellow}} gives: {{color|red|yellow}}
With two parameters, the first parameter sets the text color, and the second parameter is the text to be displayed. For example, {{t|color|red|yellow}} 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/> {{tl|color|red|yellow|blue}} gives: {{color|red|yellow|blue}}
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/> {{t|color|red|yellow|blue}} gives: {{color|red|yellow|blue}}


Parameters will also accept hex codes. For instance, {{tl|color|#016789|#78deef|text such as this}} gives: {{color|#016789|#78deef|text such as this}}
Parameters will also accept hex codes. For instance, {{t|color|#016789|#78deef|text such as this}} gives: {{color|#016789|#78deef|text such as this}}


<noinclude>[[Category:ATT Template Documentation]]</noinclude>
<noinclude>[[Category:ATT Template Documentation]]</noinclude>