Template:Color/doc

From Arknights Terra Wiki
Jump to navigation Jump to search

This template is used to change the text's color as an emphasis, usually in the descriptions of skills.

Usage

Simply add {{Color}}.

Syntax

Variable Parameters
{{{1}}} Text that is to be colored.
{{{2}}} For in-game texts, set this to the following:
  • up (default)
  • kw
  • rem
  • sp
  • key
  • danger, fs, imp
  • down
code Changes the color to the specified RGB code, which overrides {{{2}}} and name.
name Changes the color to the specified X11 name, which overrides {{{2}}} and overriden by code.

Examples

Input Output
{{Color|Unlimited duration.|rem}} Unlimited duration.
DEF {{Color|-50%|down}}, ATK {{Color|+100%}}. DEF -50%, ATK +100%.
...has {{Color|very high ATK|name=red}} and... ...has very high ATK and...
...won the {{Color|Silver|code=C0C0C0}} medal in... ...won the Silver medal in...