Template:Resistance: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
(Undo revision 37162 by HINK (talk))
Tag: Undo
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|[[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>[[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 21:47, 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