Template:Color/doc: Difference between revisions

Template page
No edit summary
mNo edit summary
Line 8: Line 8:
See [[MediaWiki:Common.css]] for an exhaustive list. Search for: text-color
See [[MediaWiki:Common.css]] for an exhaustive list. Search for: text-color


;<nowiki>{{clr|1|5P}}</nowiki>
;<nowiki>{{clr|punch|5P}}</nowiki>
:{{clr|1|5P}}
:{{clr|1|5P}}
;<nowiki>{{clr|2|2K}}</nowiki>
;<nowiki>{{clr|2|2K}}</nowiki>

Revision as of 22:43, 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|punch|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.