Template:Damage colour: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(add piercing, bludgeoning, and slashing cases to the switch function)
Line 10: Line 10:
| Thunder = #663399  
| Thunder = #663399  
| Psychic = #ff99cc  
| Psychic = #ff99cc  
| Piercing = #a9a9a9
| Bludgeoning = #a9a9a9
| Slashing = #a9a9a9
}}|{{{2}}}}}</includeonly><noinclude>
}}|{{{2}}}}}</includeonly><noinclude>



Revision as of 04:49, 25 January 2023


You can use this like so:

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

Result:

That's a lotta damage.