Navigation menu
Template:Color: Difference between revisions
From Metroid Wiki
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<span style="color:{{{1|}}}">{{{2 | <span style="color:{{{1|}}}">{{{2}}}</span><noinclude> | ||
==Purpose== | ==Purpose== |
Revision as of 04:51, 12 July 2010
{{{2}}}
Purpose
This template is an easy way to apply colors to text.
Usage
To use this template, type: {{Color|Colorname/number|text}}
Where:
- Color 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
Hex code is preferred over text since on some browsers, text will be misread. A list of colors that can be used is found here. You can also look here or at Wikipedia's article for a larger variety of colors.