Template:Damage colour: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(32 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#switch: {{{1}}} | Radiant = #ffcc00 | Fire = #ff6600 }}
<includeonly><span class="bg3wiki-damage-type-{{lc:{{{1|}}}}}">{{trim | {{{2| {{{1}}} }}} }}</span></includeonly><noinclude>{{Documentation|content=
 
== 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|Cold|Cold}}
* {{DamageColor|Fire|Fire}}
* {{DamageColor|Force|Force}}
* {{DamageColor|Healing|Healing}}
* {{DamageColor|Lightning|Lightning}}
* {{DamageColor|Necrotic|Necrotic}}
* {{DamageColor|Poison|Poison}}
* {{DamageColor|Radiant|Radiant}}
* {{DamageColor|Thunder|Thunder}}
* {{DamageColor|Psychic|Psychic}}
* {{DamageColor|Physical|Physical}}
* {{DamageColor|Piercing|Piercing}}
* {{DamageColor|Bludgeoning|Bludgeoning}}
* {{DamageColor|Slashing|Slashing}}
 
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]]
</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!