Template:Color

From the Tesseract Wiki, the wiki for all things Marvel Cinematic Universe
Jump to navigation Jump to search

Template documentation
This documentation is transcluded from Template:Color/doc. [edit] [history] [purge]

This is used to change the color of the text. Place {{Color|#(color code, ex. #000000) or (color name, ex. red)|The text to be colored}} on the page for colored text.

If you want to change the background color as well, please place {{Color|#(color code, ex. #000000) or (color name, ex. red)|Background color|The text to be colored}} on the page.

To change only the background color as well, place {{Color||Background color|The text to be colored}} on the page.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

This template is used to change the color of either text, background or both.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text color1

The color for the text: either a name or a hex value

Example
red
Stringoptional
Text2

The text to be recolored

Example
Some colored text
Stringrequired
Background color3

The background color for the text: either a name or a hex value

Example
green
Stringoptional