Template:Color/doc: Difference between revisions

Template page
No edit summary
No edit summary
Line 2: Line 2:
<pre>
<pre>
This template is used to apply pre-defined colour/style classes to text.
This template is used to apply pre-defined colour/style classes to text.
The first parameter is the class identifier.
The first parameter is the color identifier code.
The second parameter is the text to be styled.
The second parameter is the text to be styled.
</pre>
</pre>

Revision as of 22:31, 19 June 2020

This template is used to apply pre-defined colour/style classes to text.
The first parameter is the color identifier code.
The second parameter is the text to be styled.

Examples

See MediaWiki:Common.css for an exhaustive list. Search for: text-color

{{clr|1|5P}}
5P
{{clr|2|2K}}
2K
{{clr|3|c.S}}
c.S
{{clr|4|j.H}}
j.H

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.