Template:Color
Appearance
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this template's documentation (edit) (about template documentation). |
No TemplateStyles exist (create). Remember to add after the opening <includeonly> tag:
|
<templatestyles src="Template:Color/styles.css" />
|
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Enter the text content to color. | String | required |
| 2 | 2 | To override the default color, specify a valid CSS color name or hex color value, including the # character.
| String | optional |