Template:Color/doc: Difference between revisions

Template page
No edit summary
No edit summary
Line 11: Line 11:


===HTML names and hexadecimal codes===
===HTML names and hexadecimal codes===
;;<nowiki>{{clr|#d33|Red}}</nowiki>
;;<nowiki>{{clr|#f00|Red}}</nowiki>
:{{clr|#d33|Red}}
:{{clr|#f00|Red}}
;<nowiki>{{clr|dark yellow|Dark yellow}}</nowiki>
;<nowiki>{{clr|MediumSeaGreen|Medium Sea Green}}</nowiki>
:{{clr|dark yellow|Dark yellow}}
:{{clr|MediumSeaGreen|Medium Sea Green}}


===[[GGACR]], [[GGML]], [[GGXRD-R2]], [[GGST]] Pages===
===[[GGACR]], [[GGML]], [[GGXRD-R2]], [[GGST]] Pages===

Revision as of 17:09, 27 June 2022

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

HTML names and hexadecimal codes

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

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|236MS}} or {{clr|MS|236MS}}
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.