No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{doc/start}} | {{doc/start}} | ||
<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 class identifier. | ||
The second parameter is the text to be styled. | The second parameter is the text to be styled. | ||
</pre> | |||
== | ==Examples== | ||
See [[MediaWiki:Common.css]] for an exhaustive list. Search for: text-color | See [[MediaWiki:Common.css]] for an exhaustive list. Search for: text-color | ||
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 class identifier. 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.