Template:Resistance: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(backwards compatibility)
Line 1: Line 1:
<includeonly>[[File:{{{1}}} {{#switch: {{{2|}}}| magical = M | vulnerable = V | double = R | immunity = 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}}.png|{{{3|24px}}}|link=Damage Types]]
</includeonly><noinclude>[[Category:Templates]]
</includeonly><noinclude>[[Category:Templates]]
Example:
Example:
{{Resistance|Psychic|resistant}}{{Resistance|Fire|double}}{{Resistance|Magic|magical}}{{Resistance|Thunder|immunity}}{{Resistance|Radiant|vulnerable}}
{{Resistance|Psychic|resistant}}{{Resistance|Fire|double}}{{Resistance|Magic|magical}}{{Resistance|Thunder|immune}}{{Resistance|Radiant|vulnerable}}
{{InfoBlob|<nowiki>{{Resistance|Psychic|resistant}}{{Resistance|Fire|double}}{{Resistance|Magic|magical}}{{Resistance|Thunder|immunity}}{{Resistance|Radiant|vulnerable}}</nowiki>}}
{{InfoBlob|<nowiki>{{Resistance|Psychic|resistant}}{{Resistance|Fire|double}}{{Resistance|Magic|magical}}{{Resistance|Thunder|immune}}{{Resistance|Radiant|vulnerable}}</nowiki>}}


You can also use {{InfoBlob|<nowiki>{{Resistance|Acid|immunity|40px}}</nowiki>}} to make it bigger {{Resistance|Acid|immunity|40px}}
You can also use {{InfoBlob|<nowiki>{{Resistance|Acid|immune|40px}}</nowiki>}} to make it bigger {{Resistance|Acid|immune|40px}}

Revision as of 20:08, 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