Template:Damage colour: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Willowisp moved page Template:DamageColor to Template:Damage color)
No edit summary
Line 1: Line 1:
<includeonly>{{color|{{#switch: {{{1}}}  
<includeonly>{{color|{{#switch: {{{1|}}}  
| Acid = #80b000
| Acid = #80b000
| Cold = #3399cc
| Cold = #3399cc
Line 17: Line 17:
| Slashing = #8c8c8c
| Slashing = #8c8c8c
| Fire, Radiant = #db7d02 <!-- For Flamestrike only -->
| Fire, Radiant = #db7d02 <!-- For Flamestrike only -->
}}|{{trim | {{{2}}} }}}}</includeonly><noinclude>
}}|{{trim | {{{2|{{{1}}}}}} }}}}</includeonly><noinclude>
You can use this like so:
You can use this like so:



Revision as of 21:33, 29 December 2023

You can use this like so:

{{DamageColor|Force|That's a lotta damage.}}

Result:

That's a lotta damage.

Or for healing, actually:

{{DamageColor|Healing|Feels good man.}}

Result:

Feels good man.

List of all colors:

  • Acid
  • Cold
  • Fire
  • Force
  • Healing
  • Lightning
  • Necrotic
  • Poison
  • Radiant
  • Thunder
  • Psychic
  • Physical
  • Piercing
  • Bludgeoning
  • Slashing

Note to future editors: it's important for these colors to be legible on both a light and a dark background!