Template:Color/doc: Difference between revisions

Template page
No edit summary
Line 35: Line 35:
;<nowiki>{{clr|nerf|nerf}}</nowiki>
;<nowiki>{{clr|nerf|nerf}}</nowiki>
:{{clr|nerf|nerf}}
:{{clr|nerf|nerf}}
;<nowiki>{{clr|9|5A}}</nowiki>
:{{clr|9|5A}}
;<nowiki>{{clr|10|5B}}</nowiki>
:{{clr|10|5B}}
;<nowiki>{{clr|11|5C}}</nowiki>
:{{clr|11|5C}}
;<nowiki>{{clr|12|5D}}</nowiki>
:{{clr|12|5D}}


===Reuse===
===Reuse===

Revision as of 21:58, 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|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

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.