Difference between revisions of "Template:Color"
Jump to navigation
Jump to search
Scrooge200 (talk | contribs) (Created page with "<span style="color:{{{1|}}}">{{{2|}}}</span> <noinclude>Use this as an easy way to color text. From [https://wikirby.com/wiki/Template:Color WiKirby].</noinclude>") |
m (Importing documentary from WiKirby) |
||
Line 1: | Line 1: | ||
<span style="color:{{{1|}}}">{{{2|}}}</span> | <span style="color:{{{1|}}}">{{{2|}}}</span> | ||
<noinclude>Use this as an easy way to color text. From [https://wikirby.com/wiki/Template:Color WiKirby].</noinclude> | <noinclude> | ||
==Info== | |||
Use this as an easy way to color text. From [https://wikirby.com/wiki/Template:Color WiKirby].</noinclude> | |||
==Usage== | |||
To use this template, type: <nowiki>{{color|</nowiki>color<nowiki>name/code|text}}</nowiki> | |||
Where: | |||
*'''''colorname/code''''' is the color you want the text to be. | |||
*'''''text''''' is the desired text to color. | |||
For colors, there are two methods. One way is with names.<br/> | |||
For example, <b><nowiki>{{Color|Red|Text}}</nowiki></b> will produce: | |||
::::<b><span style="color:Red">Text</span></b> | |||
The other way is with hex codes. The way to use it is with a sharp symbol '''#''', followed by six characters corresponding to one color.<br/> | |||
For example, <b><nowiki>{{Color|#00CC00|Text}}</nowiki></b> will produce: | |||
::::<b><span style="color:#00CC00">Text</span></b> |
Revision as of 00:18, 12 May 2022
Info
Use this as an easy way to color text. From WiKirby.
Usage
To use this template, type: {{color|colorname/code|text}}
Where:
- colorname/code is the color you want the text to be.
- text is the desired text to color.
For colors, there are two methods. One way is with names.
For example, {{Color|Red|Text}} will produce:
- Text
The other way is with hex codes. The way to use it is with a sharp symbol #, followed by six characters corresponding to one color.
For example, {{Color|#00CC00|Text}} will produce:
- Text