Template:Resistance: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
| immune nm | | immune nm | ||
| Immune NM = Immune to non-magical | | Immune NM = Immune to non-magical | ||
}} }} | }} {{{1}}} }} | ||
{{#lvardef: filename | {{{1}}} {{#switch: {{{2|}}} | {{#lvardef: filename | {{{1}}} {{#switch: {{{2|}}} | ||
| vulnerable | | vulnerable | ||
Line 76: | Line 76: | ||
| Immune NM = Immunity NM | | Immune NM = Immunity NM | ||
}}.png }} | }}.png }} | ||
}}<span style="display: inline-block;" aria-label="{{#lvar:wording | }}<span style="display: inline-block;" aria-label="{{#lvar:wording}}">[[File:{{#lvar:filename}}|alt={{#lvar:wording}}|{{{3|28px}}}|link=Resistances]]</span>{{#if:{{{nocat|}}}||{{Main only|[[Category:{{#lvar:wording}}]]}}}}</includeonly><noinclude>[[Category:Templates]] | ||
Example: | Example: | ||
Revision as of 05:16, 7 April 2024
Example:
{{Resistance|Psychic|resistant}} {{Resistance|Fire|double}} {{Resistance|Magic|magical}} {{Resistance|Thunder|immune}} {{Resistance|Radiant|vulnerable}} {{Resistance|Slashing|immune nm}}
The immune nm
stands for non-magical immunity which e.g. werewolves have.
You can also use {{Resistance|Acid|immune|40px}} to make it bigger
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
type | 1 | The damage type | String | required |
resistance | 2 | How resistant?
| String | required |
size | 3 | Size of the icon.
| Number | optional |
nocat | nocat | If specified, does not insert categories. | Unknown | optional |