Template:Color/doc: Difference between revisions

Template page
No edit summary
Line 7: Line 7:
==Examples==
==Examples==
See [[Template:Clr/styles.css]] for an exhaustive list and the exact CSS used.  
See [[Template:Clr/styles.css]] for an exhaustive list and the exact CSS used.  
;<nowiki>{{clr|punch|5P}}</nowiki>
;<nowiki>{{clr|1|5P}}</nowiki>
:{{clr|1|5P}}
:{{clr|1|5P}}
;<nowiki>{{clr|2|2K}}</nowiki>
;<nowiki>{{clr|2|2K}}</nowiki>

Revision as of 22:03, 4 April 2022

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|1|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

Reuse

Many of these colors can be used for multiple games such as DNF for example
5A {{clr|3|5A}}
5B {{clr|1|5B}}
5S {{clr|5|5S}}
236MS {{clr|2|236MS}}
AS {{clr|4|AS}}

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