Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
(→Usage: This template should be substed) |
m (→Usage: Line break fix) |
||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
This template should be [[Wikipedia:Substitution|substed]], by using "''<span style="color:name of color or hex code of color">Text</span>''". | 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!}} | ||
Revision as of 20:32, 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}}