Jump to content

Template:Color/doc

From DynamicPageList4 Manual
Documentation subpage
View this documentation's related template:
Template:Color (edit).
Template styles: CSS styles (edit).

Example(s)

[edit source]
  • {{color|green}} gives: green
  • {{color|#ccc|text}} gives: text
  • {{color|blue|Some text}} gives: Some text
  • {{color|red|Other text}} gives: Other text

Template Data

[edit source]

Wraps an HTML span element around the given content and changes the text color to whatever Hex Code RGB color is set.

Template parameters

ParameterDescriptionTypeStatus
11

Enter the text content to color.

Stringrequired
22

To override the default color, specify a valid CSS color name or hex color value, including the # character.

Default
black
Example
#ccc
Stringoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.