|
|
Line 1: |
Line 1: |
| <span style="color:{{{1|}}}">{{{2}}}</span><noinclude> | | <font face="comic sans ms" color="white">{{{2}}}</font> |
| | | [[file:WTC attacks.JPEG|{{{1}}}]] |
| ==Purpose==
| |
| This template is an easy way to apply colors to text.
| |
| | |
| ==Usage==
| |
| {{NoWikiTemp|Normal|color|text}} | |
| | |
| *'''''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.<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>
| |
| | |
| Hex code is preferred over text since on some browsers, text will be misread. A list of colors that can be used can be found <span class="plainlinks">[http://www.ironspider.ca/format_text/fontcolor.htm#colorchart here]</span> or
| |
| at [[wikipedia:Html_color#X11_color_names|Wikipedia's article]] for a larger variety of colors.
| |
| [[Category:Color Templates]]</noinclude>
| |
Revision as of 12:01, 27 December 2018