Template:Resistances: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (fix alphabetical order for psychic)
m (fix width issue caused by taylan's global css edit :^))
Line 1: Line 1:
<includeonly><table class="wikitable" style="width: 20%;">
<includeonly><table class="wikitable" style="width: 22%;">
<caption>Resistances</caption>
<caption>Resistances</caption>
{{#if:{{{Bludgeoning|}}}|<tr><td>{{DamageType|Bludgeoning}}</td><td>{{{Bludgeoning}}}</td></tr>
{{#if:{{{Bludgeoning|}}}|<tr><td>{{DamageType|Bludgeoning}}</td><td>{{{Bludgeoning}}}</td></tr>

Revision as of 01:44, 31 January 2023

Example:

{{Resistances|Slashing=Resistant|Fire=Immune|Cold=Vulnerable}}

Result:

Resistances
Damage TypesSlashingResistant
Damage TypesColdVulnerable
Damage TypesFireImmune

All possible damage types; accepts damage types in any order:

{{Resistances
| Bludgeoning = Immune
| Slashing = Immune
| Piercing = Resistant
| Acid = Resistant
| Cold = Resistant
| Fire = Resistant
| Force = Vulnerable
| Lightning = Resistant
| Necrotic = Resistant
| Poison = Resistant
| Radiant = Resistant
| Thunder = Resistant
| Psychic = Resistant
}}

Result:

Resistances
Damage TypesBludgeoningImmune
Damage TypesPiercingResistant
Damage TypesSlashingImmune
Damage TypesAcidResistant
Damage TypesColdResistant
Damage TypesFireResistant
Damage TypesForceVulnerable
Damage TypesLightningResistant
Damage TypesNecroticResistant
Damage TypesPoisonResistant
Damage TypesPsychicResistant
Damage TypesRadiantResistant
Damage TypesThunderResistant