Template:Resistance: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(backwards compatibility)
(uppercase support)
Line 1: Line 1:
<includeonly>[[File:{{{1}}} {{#switch: {{{2|}}}| magical = M | vulnerable = V | double = R | immunity = Immunity | immune = Immunity | resistant = NM}}.png|{{{3|24px}}}|link=Damage Types]]
<includeonly>[[File:{{{1}}} {{#switch: {{{2|}}}| magical = M | vulnerable = V | double = R | immunity = Immunity | immune = Immunity | resistant = NM | Magical = M | Vulnerable = V | Double = R | Immunity = Immunity | Immune = Immunity | Resistant = NM}}.png|{{{3|24px}}}|link=Damage Types]]
</includeonly><noinclude>[[Category:Templates]]
</includeonly><noinclude>[[Category:Templates]]
Example:
Example:

Revision as of 20:15, 22 August 2023

Example: Psychic NM.png Fire R.png Magic M.png Thunder Immunity.png Radiant V.png

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

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