Template:Resistances

From bg3.wiki
Revision as of 14:00, 17 May 2023 by 5corp1u7 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Generate a table of resistances for a creature or object. All parameter names (e.g. Fire) and values (e.g. Vulnerable) must be Capitalized.

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