m (→Examples) |
m (→Examples) |
||
Line 6: | Line 6: | ||
</pre> | </pre> | ||
==Examples== | ==Examples== | ||
See [[Template:Clr/styles.css]] for an exhaustive list. | See [[Template:Clr/styles.css]] for an exhaustive list and the exact CSS used. | ||
;<nowiki>{{clr|punch|5P}}</nowiki> | ;<nowiki>{{clr|punch|5P}}</nowiki> | ||
:{{clr|1|5P}} | :{{clr|1|5P}} |
Revision as of 18:49, 22 October 2021
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 Template:Clr/styles.css for an exhaustive list and the exact CSS used.
- {{clr|punch|5P}}
- 5P
- {{clr|2|2K}}
- 2K
- {{clr|3|c.S}}
- c.S
- {{clr|4|j.H}}
- j.H
- {{clr|5|j.D}}
- j.D
- {{clr|6|Very Easy}}
- Very Easy
- {{clr|7|Medium}}
- Medium
- {{clr|8|Very Hard}}
- Very Hard
- {{clr|added|added}}
- added
- {{clr|new|new}}
- new
- {{clr|removed|removed}}
- removed
- {{clr|reworked|reworked}}
- reworked
- {{clr|buff|buff}}
- buff
- {{clr|nerf|nerf}}
- nerf
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.