Template:Color
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.
{{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
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | color of text
| String | required |
2 | 2 | optional text to display
| String | suggested |