Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Resistance category page

Template page
Revision as of 20:18, 16 June 2024 by Taylan (talk | contribs) (Created page with "<includeonly>Creatures {{{2}}} to {{#switch: {{{3|}}} | nm = only non-magical sources of | m = only magical sources of | full = all (both non-magical and magical) | nm plus = non-magical and resistant to magical }} [[{{ucfirst: {{{1}}} }}]] damage.{{#if: {{{nocat|}}} | | [[Category:{{{2}}} to {{ucfirst: {{{1}}} }}]] }}</includeonly><noinclude> Creates a resistance (sub-)category page and adds it to an appropriate parent category. Example: <pre> {{Resistance category pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creates a resistance (sub-)category page and adds it to an appropriate parent category.

Example:

{{Resistance category page|slashing|immune|nm plus}}

Result:

Creatures immune to non-magical and resistant to magical Slashing damage.

Template data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
damage type1

Damage type

Stringrequired
resistance type2

Vulnerable, resistant, or immune?

Suggested values
vulnerable resistant immune
Stringrequired
resistance strength3

Non-magical, magical, full, or 'non-magical plus'?

Suggested values
nm m full nm plus
Stringoptional