Difference between revisions of "Template:Color/doc"
Jump to navigation
Jump to search
imported>Quest for Truth |
|||
| 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
| 40px | This is a documentation subpage for Template:Color. It contains usage information, categories and other content that is not part of the original template page. |
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.