Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
>Quest for [email protected] No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
See [[Web colors]] for a list of colors. | See [[Web colors]] for a list of colors. | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
</includeonly> | </includeonly> |
Revision as of 20:57, 13 October 2012
This template can be used to add a span of text with a given color.
Usage
{{color|name of color or hex code of color|Text}}
For example:
{{color|red|Hello, world!}} results in Hello, world!
{{color|#00F000|Hello, world!}} results in Hello, world!
Wikitext generated:
<span style="color:{{{1|}}}">{{{2|}}}</span>
See Web colors for a list of colors.