Template:Damage colour: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Use properly namespaced CSS class names. (bg3wiki-blah-blah))
 
Line 1: Line 1:
<includeonly><span class="{{lc:{{{1|}}}}}">{{trim | {{{2| {{{1}}} }}} }}</span></includeonly><noinclude>
<includeonly><span class="bg3wiki-damage-type-{{lc:{{{1|}}}}}">{{trim | {{{2| {{{1}}} }}} }}</span></includeonly><noinclude>
; Wikitext : {{code|<nowiki>{{DamageColor|Force|1d4 + 4 Force damage.}}</nowiki>}}
; Wikitext : {{code|<nowiki>{{DamageColor|Force|1d4 + 4 Force damage.}}</nowiki>}}
; Result : {{DamageColor|Force|1d4 + 4 Force damage}}
; Result : {{DamageColor|Force|1d4 + 4 Force damage}}

Latest revision as of 18:39, 10 September 2024

Wikitext
{{DamageColor|Force|1d4 + 4 Force damage.}}
Result
1d4 + 4 Force damage
Wikitext
{{DamageColor|Healing|1d4 + 4 Healing}}
Result
1d4 + 4 Healing

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!