Template:Color/doc: Difference between revisions

Template page
m (PrivateTarkus moved page Template:Clr/doc to Template:Color/doc)
(No difference)

Revision as of 18:26, 27 June 2022

{{clr|X|Y|game=Z}}
This template is used to apply pre-defined color/style classes to text.

Colors applied with Clr template can be disabled or re-enabled through the use of "Monochrome mode" and "Colorful mode", so it is recommended to use this template over applying text colors with style attribute, e.g. <span style="color:#FF0000">red text</span>.

The first parameter (X) is the color identifier code. The second parameter (Y) is the text to be styled.
Optionally, game name abbreviations (Z) can be used to force the colors of a specific game's buttons. If this is not provided, it will assume the game from the RootPageName of the current page, or if not found, default to Guilty Gear's button colors.

Supported Game Titles and Examples

See the bottom of Mediawiki:Common.css for an exhaustive list and the exact CSS used.

Simple coloring

{{clr|#f00|Red}}
Red
{{clr|MediumSeaGreen|Medium Sea Green}}
Medium Sea Green

To use equal signs ("=") in the text field, add "2=" before your text

{{clr|blue|2=Funny caption =)}}
Funny caption =)

GGACR, GGML, GGXRD-R2, GGST Pages

{{clr|1|5P}} or {{clr|P|5P}}
5P
{{clr|2|2K}} or {{clr|K|2K}}
2K
{{clr|3|c.S}} or {{clr|S|c.S}}
c.S
{{clr|4|j.H}} or {{clr|H|j.H}}
j.H
{{clr|5|j.D}} or {{clr|D|j.D}}
j.D

BBCF Pages

{{clr|A|5A}}
5A
{{clr|B|2B}}
2B
{{clr|C|6C}}
6C
{{clr|D|j.D}}
j.D

BBTag Pages

{{clr|1|5A}} or {{clr|A|5A}}
5A
{{clr|2|2B}} or {{clr|B|2B}}
2B
{{clr|3|5C}} or {{clr|C|5C}}
5C
{{clr|4|5D}} or {{clr|D|5D}}
5D
{{clr|5|5P}} or {{clr|P|5P}}
5P

DBFZ Pages

{{clr|L|5L}}
5L
{{clr|M|2M}}
2M
{{clr|H|j.H}}
j.H
{{clr|S|236S}}
236S

DNFD Pages

{{clr|1|5A}} or {{clr|A|5A}}
5A
{{clr|2|5B}} or {{clr|B|5B}}
5B
{{clr|3|5S}} or {{clr|S|5S}}
5S
{{clr|4|236M}} or {{clr|M|236M}}
236MS
{{clr|5|AS}} or {{clr|AS|AS}}
AS

GBVS Pages

{{clr|1|c.L}} or {{clr|L|c.L}}
c.L
{{clr|2|2M}} or {{clr|M|2M}}
2M
{{clr|3|f.H}} or {{clr|H|f.H}}
f.H
{{clr|4|j.U}} or {{clr|U|j.U}}
j.U

HNK Pages

{{clr|1|c.A}} or {{clr|A|c.A}}
c.A
{{clr|2|f.B}} or {{clr|B|f.B}}
f.B
{{clr|3|j.C}} or {{clr|C|2C}}
2C
{{clr|4|c.D}} or {{clr|D|j.D}}
j.D
{{clr|5|6E}} or {{clr|E|6E}}
6E

P4Arena, P4AU, P4U2.5 Pages

{{clr|1|5A}} or {{clr|A|5A}}
5A
{{clr|2|2B}} or {{clr|B|2B}}
2B
{{clr|3|5C}} or {{clr|C|5C}}
5C
{{clr|4|j.D}} or {{clr|D|j.D}}
j.D

Universal Colors

{{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.