Template:Colour/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:21, 17 October 2024 (Created page with "{{Documentation}} This template is used to change the colour of either text, background or both. ==Usage== {{T|Colour|text colour|text|background}} ==Examples== {{T|Colour|#000000|The text to be coloured}}<br /> {{Colour|#000000|The text to be coloured}} {{T|Colour|blue|The text to be coloured}}<br /> {{Colour|blue|The text to be coloured}} {{T|Colour|#ffffff|The text to be coloured|#7f7f7f}}<br /> {{Colour|#ffffff|The text to be coloured|#7f7f7f}} {{TemplateData|<t..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Colour.
It contains usage information, categories, and other content that is not part of the original template page.

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

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.

Stringrequired
Text2

Text to be coloured.

Stringrequired
Background3

Changes the background colour of the text.

Stringsuggested