Template:Damage colour: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Yeah sorry Flamestrike)
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div class="{{lc:{{{1|}}}}}">{{trim | {{{2|{{{1}}}}}}}} </div></includeonly><noinclude>
<includeonly><span class="bg3wiki-damage-type-{{lc:{{{1|}}}}}">{{trim | {{{2| {{{1}}} }}} }}</span></includeonly><noinclude>{{Documentation|content=
; Wikitext : {{code|<nowiki>{{DamageColor|Force|1d4 + 4 Force damage.}}</nowiki>}}
; Result : {{DamageColor|Force|1d4 + 4 Force damage}}
; Wikitext : {{code|<nowiki>{{DamageColor|Healing|1d4 + 4 Healing}}</nowiki>}}
; Result : {{DamageColor|Healing|1d4 + 4 Healing}}


List of all colors:
== Examples ==
{{Template demo
| style = table
| <nowiki>{{DamageColor|Force|1d4 + 4 Force damage.}}</nowiki>
| <nowiki>{{DamageColor|Healing|1d4 + 4 Healing}}</nowiki>
}}
 
== Complete list of all colors ==


* {{DamageColor|Acid|Acid}}
* {{DamageColor|Acid|Acid}}
Line 25: Line 28:
Note to future editors: it's important for these colors to be legible on both a light and a dark background!
Note to future editors: it's important for these colors to be legible on both a light and a dark background!


}}
[[Category:Templates]]
[[Category:Damage info templates]]
[[Category:Damage info templates]]
</noinclude>
</noinclude>

Latest revision as of 10:50, 19 January 2025

Template documentation

Examples

Markup Renders as
{{DamageColor|Force|1d4 + 4 Force damage.}}
1d4 + 4 Force damage.
{{DamageColor|Healing|1d4 + 4 Healing}}
1d4 + 4 Healing

Complete 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!