Template:Resistance: Difference between revisions
Jump to navigation
Jump to search
(Change upper/lowercase usage.) |
mNo edit summary |
||
Line 25: | Line 25: | ||
| resistance full = Resistant to all | | resistance full = Resistant to all | ||
| immunity | | immunity | ||
| immune = Immune to all | | immune | ||
| immunity full | |||
| immune full = Immune to all | |||
| immunity nm | | immunity nm | ||
| immune nm = Immune to Non-Magical | | immune nm = Immune to Non-Magical |
Revision as of 20:44, 16 June 2024
Example:
{{resistance|acid|vuln}} {{resistance|cold|resist nm}} {{resistance|fire|resist m}} {{resistance|force|resist full}} {{resistance|thunder|immune}} {{resistance|piercing|immune nm}} {{resistance|slashing|immune nm plus}}
Here are the "keys" for the resistance/vulnerability/immunity type:
vuln
: Self-explanatoryresist nm
: Resistant to non-magicalresist m
: Resistant to magical onlyresist full
: Resistant to all (non-magical and magical)immune nm
: Immune to non-magicalimmune full
: Immune to all (non-magical and magical)immune nm plus
: Immune to non-magical and resistant to magical
The abbreviations "vuln", "resist", and "immune" can be written out in full as well, like "vulnerable", "vulnerability", "resistant", "resistance", or "immunity". The template will recognize all ways to write these words.
You can also make the icon bigger like so:
{{resistance|acid|immune|40px}}
Result:
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 |