Template:Color

From KarmaZoo Wiki
Jump to navigation Jump to search

This template is used to color the texts for status effects and some other things.

Usage

Type {{Color|string}} when editing.

All possible values for string. The values are not case-sensitive.

Markup
Rendered
Color (HEX code)
{{Color|root}}
root #82A082
{{Color|freeze}}
{{Color|thaw}}
{{Color|slow}}
{{Color|ice}}
freeze
thaw
slow
ice
#91D5FB
{{Color|fire}}
{{Color|burn}}
{{Color|oil}}
{{Color|burning oil}}
fire
burn
oil
burning oil
#E5822B
{{Color|poison}}
poison #75DC2C
{{Color|bleed}}
bleed #E03E35
{{Color|shock}}
{{Color|electric}}
shock
electric
#37A3D7
{{Color|bonus health}}
bonus health #00B0F0
{{Color|recovery}}
recovery #F89E2E
{{Color|critical}}
critical #F0D60D
{{Color|parry}}
parry #EEC010
{{Color|backpack}}
backpack #B8714A
{{Color|flavor}}
flavor #90ABE6

Example

You can add an extra parameter at the end to have it as the displayed text.

Markup Renders as
{{Color|bleed|bleeding}}
{{Color|ice|frozen}}
{{Color|critical|234}}
{{Color|flavor|My flavor text}}
bleeding
frozen
234
My flavor text

Used to color texts

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

color of text

Suggested values
root freeze slow ice fire oil poison bleed shock critical parry
Stringrequired
22

optional text to display

Example
frozen
Stringsuggested