Template:Resistance: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Support non-magic immunity.)
(Add more descriptive terms for resistance types.)
Line 18: Line 18:
| Vulnerable = Vulnerability
| Vulnerable = Vulnerability
| resistant
| resistant
| Resistant = Resistance NM
| Resistant  
| resistant nm
| Resistant NM = Resistance NM
| magical
| magical
| Magical = Resistance M
| Magical  
| resistant m
| Resistant M = Resistance M
| double
| double
| Double = Resistance Full
| Double  
| resistant full
| Resistant Full = Resistance Full
| immunity
| immunity
| Immunity
| Immunity

Revision as of 04:24, 7 April 2024

Example:

{{Resistance|Psychic|resistant}}
{{Resistance|Fire|double}}
{{Resistance|Magic|magical}}
{{Resistance|Thunder|immune}}
{{Resistance|Radiant|vulnerable}}
{{Resistance|Slashing|immune nm}}

Psychic Resistance NM.png Fire Resistance Full.png Magic Resistance M.png Thunder Immunity.png Radiant Vulnerability.png Slashing Immunity NM.png

You can also use {{Resistance|Acid|immune|40px}} to make it bigger Acid Immunity.png

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
type1

The damage type

Stringrequired
resistance2

How resistant?

Suggested values
immune magic vulnerable resistant
Stringrequired
size3

Size of the icon.

Default
28
Numberoptional
nocatnocat

If specified, does not insert categories.

Unknownoptional