Difference between revisions of "Template:Colored Text"
m (Protected "Template:Colored Text" [edit=sysop:move=sysop]) |
m |
||
Line 6: | Line 6: | ||
|text= | |text= | ||
}}</nowiki> | }}</nowiki> | ||
+ | |parameters=yes | ||
}} | }} | ||
{{Template Parameter | {{Template Parameter |
Revision as of 10:43, 1 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
[[Category:{{{category}}} Templates|Colored Text]]
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.