Difference between revisions of "Template:Colored Text"

m
m
Line 6: Line 6:
 
|text=
 
|text=
 
}}</nowiki>
 
}}</nowiki>
|parameters=yes
 
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter

Revision as of 12:50, 10 December 2009

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.