Template:Damage colour: Difference between revisions

Jump to navigation Jump to search
Second attempt: Make colors a bit darker so they work better on light background (e.g. mobile view).
(Undo revision 7735 by Taylan (talk))
Tag: Undo
(Second attempt: Make colors a bit darker so they work better on light background (e.g. mobile view).)
Line 1: Line 1:
<includeonly>{{color|{{#switch: {{{1}}}  
<includeonly>{{color|{{#switch: {{{1}}}  
| Acid = #cccc00
| Acid = #80b000
| Cold = #3399cc
| Cold = #3399cc
| Fire = #ff6600
| Fire = #ee5500
| Force = #cc3333
| Force = #cc3333
| Healing = #33cccc
| Healing = #30bbbb
| Lightning = #3366cc
| Lightning = #3366cc
| Necrotic = #66cc66
| Necrotic = #40b050
| Poison = #99cc00
| Poison = #44bb00
| Radiant = #ffcc00
| Radiant = #ccaa00
| Thunder = #663399
| Thunder = #8844bb
| Psychic = #ff99cc
| Psychic = #cc77aa
| Physical = #a9a9a9
| Physical = #8c8c8c
| Piercing = #a9a9a9
| Piercing = #8c8c8c
| Bludgeoning = #a9a9a9
| Bludgeoning = #8c8c8c
| Slashing = #a9a9a9
| Slashing = #8c8c8c
}}|{{{2}}}}}</includeonly><noinclude>
}}|{{{2}}}}}</includeonly><noinclude>
You can use this like so:
You can use this like so:
Line 49: Line 49:
* {{DamageColor|Bludgeoning|Bludgeoning}}
* {{DamageColor|Bludgeoning|Bludgeoning}}
* {{DamageColor|Slashing|Slashing}}
* {{DamageColor|Slashing|Slashing}}
Note to future editors: it's important for these colors to be legible on both a light and a dark background!


</noinclude>
</noinclude>

Navigation menu