Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
m (→Usage: Line break fix) |
m (→Usage) |
||
Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
This template should be [[Wikipedia:Substitution|substed]], by using "''<span style="color:name of color or hex code of color">Text</span>''". <br /> | This template should be [[Wikipedia:Substitution|substed]], by using "''<span style="color:name of color or hex code of color">Text</span>''". <br /> | ||
<code>{{tlx|color|red|Hello, world!}}</code> results in {{color|red|Hello, world!}} | * <code>{{tlx|color|red|Hello, world!}}</code> results in {{color|red|Hello, world!}} | ||
<code>{{tlx|color|#00F000|Hello, world!}}</code> results in {{color|#00F000|Hello, world!}} | * <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 20:33, 21 June 2010
Usage
This template should be substed, by using "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}}