Difference between revisions of "Template:Colored Text"
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
|text= | |text= | ||
}}</nowiki> | }}</nowiki> | ||
− | | | + | |category=Utility |
}} | }} | ||
{{Template Parameter | {{Template Parameter | ||
Line 24: | Line 24: | ||
|validvalues=Any string or strings. | |validvalues=Any string or strings. | ||
}} | }} | ||
− | + | </noinclude><includeonly>{{Span | |
|property=color:#{{{color}}}; | |property=color:#{{{color}}}; | ||
|text={{{text}}} | |text={{{text}}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 09:49, 28 December 2009
Contents
Template:Colored Text is designed for use on all pages to change the color of a span of text.
Template
{{Colored Text |color= |text= }}
Parameters
color
- Usage: Mandatory
- Description: The color parameter takes a string denoting the color, in hexidecimal format, to be used to render the text. This is used to generate the value for the "color" CSS property in the span.
- Valid Value(s): Any string or strings that correspond to valid CSS "color" values.
text
- Usage: Mandatory
- Description: The text parameter takes a string or strings denoting the text to be rendered using the supplied "color" value. This is used to generate the actual displayed text.
- Valid Value(s): Any string or strings.