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..." |
m Removing the TemplateDocStart template from documentation for formatting purposes. |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
The '''Color''' template is used to generate colored text. | The '''Color''' template is used to generate colored text. | ||
| Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
<noinclude> | |||
[[Category:Templates]] | |||
</noinclude> | |||
Latest revision as of 00:28, 6 August 2020
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! |