Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
(→Usage: Fixing) |
m (→Usage) |
||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
This template should be [[Wikipedia:Substitution|substed]], by using "''<code>{{ | This template should be [[Wikipedia:Substitution|substed]], by using "''<code>{{Tlx|name of color or hex code of color|Text}}</code>''". <br /> | ||
* <code>{{ | * <code>{{Tlx|color|red|Hello, world!}}</code> results in {{color|red|Hello, world!}} | ||
* <code>{{ | * <code>{{Tlx|color|#00F000|Hello, world!}}</code> results in {{color|#00F000|Hello, world!}} | ||
See [[Web colors]] for a list of colors. | See [[Web colors]] for a list of colors. |
Revision as of 23:20, 21 June 2010
Usage
This template should be substed, by using "{{name of color or hex code of color|Text}}
".
{{color|red|Hello, world!}}
results in Hello, world!
{{color|#00F000|Hello, world!}}
results in Hello, world!
See Web colors for a list of colors.
See also
- {{Background color}}
- {{Resize}}