Template:Color/doc: Difference between revisions
Appearance
Pepperonipi (talk | contribs) Created page with "{{TemplateDocStart}} The '''Color''' template is used to generate colored text. == Parameters == :<code><nowiki>1</nowiki></code> - the color of the text :<code><nowiki>2</no..." |
Lumosityfan (talk | contribs) Added category |
||
| Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
<noinclude> | |||
[[Category:Templates]] | |||
</noinclude> | |||
Revision as of 20:48, 16 May 2020
Template:Color/doc - Documentation
The Color template is used to generate colored text.
Parameters
1- the color of the text2- optional - the text to be displayed
Examples
{{Color|red}}
|
red |
{{Color|#5BCEFA}}
|
#5BCEFA |
{{Color|red|Woah, this sentence is red!}}
|
Woah, this sentence is red! |
{{Color|#5BCEFA|This sentence is a light blue!}}
|
This sentence is a light blue! |