Difference between revisions of "Template:Color"
Jump to navigation
Jump to search
m (Importing documentary from WiKirby) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="color:{{{1|}}}">{{{2|}}}</span> | <span style="color:{{{1|}}}">{{{2|}}}</span><noinclude> | ||
<noinclude> | |||
==Info== | ==Info== | ||
Use this as an easy way to color text. From [https://wikirby.com/wiki/Template:Color WiKirby]. | Use this as an easy way to color text. From [https://wikirby.com/wiki/Template:Color WiKirby]. | ||
==Usage== | ==Usage== | ||
Line 17: | Line 16: | ||
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/> | 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: | For example, <b><nowiki>{{Color|#00CC00|Text}}</nowiki></b> will produce: | ||
::::<b><span style="color:#00CC00">Text</span></b> | ::::<b><span style="color:#00CC00">Text</span></b></noinclude> |
Latest revision as of 02:33, 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