Template:Colored Text

Revision as of 16:56, 30 November 2009 by Cogniac (Talk | contribs) (New page: <noinclude>{{Template Overview |usedon=all |purpose=change the color of a span of text |template=<nowiki>{{Colored Text |color= |text= }}</nowiki> }} {{Template Parameter |name=color |usag...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.