Template:Color: Difference between revisions
m (Reverted edits by 124.180.112.108 (talk) to last version by JasonAQuest) |
No edit summary |
||
Line 4: | Line 4: | ||
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> | ||
HE WAS AN GAY PRIK HU LIKED MENN PEEDOOOOOOOOOOO!!!!!! |
Revision as of 16:27, 10 November 2009
{{{2}}}
The quick Template:Color can be used to add a span of text with any given text color, such as an RGB hex code, #C9E72A, or any of the web colors: red, blue, green, moccasin, or darkorchid, etc.
Usage
- {{color|name of color or hex code of color|Text}}
For example:
{{color|red|Hello, world!}} gives: Hello, world!
HE WAS AN GAY PRIK HU LIKED MENN PEEDOOOOOOOOOOO!!!!!!
{{color|#00F000|Hello, world!}} gives: Hello, world!
HE WAS AN GAY PRIK HU LIKED MENN PEEDOOOOOOOOOOO!!!!!!
Wikitext generated:
<span style="color:{{{1|}}}">{{{2|}}}</span>
See: Web colors, for a list of colors. A misspelled color name will not be reported, but will cause the text to remain as black text.
Performance considerations
The template merely uses a span tag: <span style="color:{{{1}}}">{{{2}}}</span>
. It runs at speeds in excess of 700 per second, and so it is functionally identical to the longer span-tag markup.
HE WAS AN GAY PRIK HU LIKED MENN PEEDOOOOOOOOOOO!!!!!!