Template:Color/doc

From Coromon Wiki
Jump to navigation Jump to search

A template for decorating text, uses predefined colors matching the in-game text highlighting and returns as a span with text.

Usage

The template requires at least one parameter and can take up to two.

The first parameter (not case-sensitive) determines the color, and display text if a second parameter is not provided. If a second parameter is provided it will take priority in determining the display text.

Color Tag Example Specification Result
HP
{{Color|HP|20 HP}}
20 HP
SP
{{Color|SP|50 SP}}
50 SP
XP
{{Color|XP}}
XP
Burn
{{Color|Burn}}
Burn
Hazy
{{Color|Hazy}}
Hazy
Freeze
{{Color|Freeze}}
Freeze
Sleep
{{Color|Sleep}}
Sleep
Poison
{{Color|Poison}}
Poison
Shock
{{Color|Shock}}
Shock
Skill
{{Color|Skill|Tactical Slam}}
Tactical Slam
Gold
{{Color|Gold}}
Gold