Template:Resistance: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Support non-magic immunity.) |
||
Line 24: | Line 24: | ||
| Double = Resistance Full | | Double = Resistance Full | ||
| immunity | | immunity | ||
| Immunity | |||
| immune | | immune | ||
| Immune = Immunity | | Immune = Immunity | ||
| immunity nm | |||
| Immunity NM | |||
| immune nm | |||
| Immune NM = Immunity NM | |||
}}.png }} | }}.png }} | ||
}}<span style="display: inline-block;" aria-label="{{#lvar:degree}} to {{{1}}}">[[File:{{#lvar:filename}}|{{{3|28px}}}|link=Resistances]]</span>{{#if:{{{nocat|}}}||{{Main only|[[Category:{{#lvar:degree}} to {{{1}}}]]}}}}</includeonly><noinclude>[[Category:Templates]] | }}<span style="display: inline-block;" aria-label="{{#lvar:degree}} to {{{1}}}">[[File:{{#lvar:filename}}|{{{3|28px}}}|link=Resistances]]</span>{{#if:{{{nocat|}}}||{{Main only|[[Category:{{#lvar:degree}} to {{{1}}}]]}}}}</includeonly><noinclude>[[Category:Templates]] | ||
Example: | Example: | ||
{{Resistance|Psychic|resistant | |||
{{ | <pre> | ||
{{Resistance|Psychic|resistant}} | |||
{{Resistance|Fire|double}} | |||
{{Resistance|Magic|magical}} | |||
{{Resistance|Thunder|immune}} | |||
{{Resistance|Radiant|vulnerable}} | |||
{{Resistance|Slashing|immune nm}} | |||
</pre> | |||
{{Resistance|Psychic|resistant}} | |||
{{Resistance|Fire|double}} | |||
{{Resistance|Magic|magical}} | |||
{{Resistance|Thunder|immune}} | |||
{{Resistance|Radiant|vulnerable}} | |||
{{Resistance|Slashing|immune nm}} | |||
You can also use {{InfoBlob|<nowiki>{{Resistance|Acid|immune|40px}}</nowiki>}} to make it bigger {{Resistance|Acid|immune|40px}} | You can also use {{InfoBlob|<nowiki>{{Resistance|Acid|immune|40px}}</nowiki>}} to make it bigger {{Resistance|Acid|immune|40px}} |
Revision as of 04:11, 7 April 2024
Example:
{{Resistance|Psychic|resistant}} {{Resistance|Fire|double}} {{Resistance|Magic|magical}} {{Resistance|Thunder|immune}} {{Resistance|Radiant|vulnerable}} {{Resistance|Slashing|immune nm}}
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 |