Template:Colour

From Old School RuneScape Wiki
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:Colour/doc. [edit] [purge]

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

Usage

{{Colour|text colour|text|background}}

Examples

{{Colour|#000000|The text to be coloured}}
The text to be coloured

{{Colour|blue|The text to be coloured}}
The text to be coloured

{{Colour|#ffffff|The text to be coloured|#7f7f7f}}
The text to be coloured

See also

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 colour of either text, background or both.

Template parameters

ParameterDescriptionTypeStatus
Text colour1

Changes the colour of the text.

Default
empty
Example
empty
Auto value
empty
Stringrequired
Text2

Text to be coloured.

Default
empty
Example
empty
Auto value
empty
Stringrequired
Background3

Changes the background colour of the text.

Default
empty
Example
empty
Auto value
empty
Stringsuggested