Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(update, rm bad subst suggestion) |
||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
This template can be used to add a span of text with a given color. | |||
This template | |||
=== Usage === | |||
<pre>{{Tlx|name of color or hex code of color|Text}}</pre> | |||
<pre>{{Tlx|color|red|Hello, world!}}</pre> | |||
results in {{color|red|Hello, world!}} | |||
<pre>{{Tlx|color|#00F000|Hello, world!}}</pre> | |||
results in {{color|#00F000|Hello, world!}} | |||
See [[Web colors]] for a list of colors. | See [[Web colors]] for a list of colors. | ||
=== See also === | |||
* {{tl|Colour}} (redirect) | |||
* {{tl|Background color}} | * {{tl|Background color}} | ||
* {{tl|Resize}} | * {{tl|Resize}} |
Revision as of 08:25, 3 September 2010
This template can be used to add a span of text with a given color.
Usage
{{Tlx|name of color or hex code of color|Text}}
{{Tlx|color|red|Hello, world!}}
results in Hello, world!
{{Tlx|color|#00F000|Hello, world!}}
results in Hello, world!
See Web colors for a list of colors.
See also
- {{Colour}} (redirect)
- {{Background color}}
- {{Resize}}