Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
(→Usage: Wikitext generated) |
>Quest for [email protected] No edit summary |
||
Line 25: | Line 25: | ||
* {{tl|Background color}} | * {{tl|Background color}} | ||
* {{tl|Resize}} | * {{tl|Resize}} | ||
* {{tl|LinkColor}} | |||
<includeonly> | <includeonly> |
Revision as of 12:43, 20 June 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.
See also
- {{Background color}}
- {{Resize}}
- {{LinkColor}}