Difference between revisions of "Template:Immune"

From DDO Compendium
Line 18: Line 18:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|fear=[[Category:Items with Immunity to Fear]][[Immunity#Fear|'''Immunity to Fear:''']] The wearer of this item is immune to all fear effects.
|fear={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Fear]]}}[[Immunity#Fear|'''Immunity to Fear:''']] The wearer of this item is immune to all fear effects.
|slippery= [[Category:Items with Immunity to Slippery Surfaces]][[Immunity#Slippery_Surfaces|'''Immunity to Slippery Surfaces:''']]The wearer of this item is not affected when walking on slippery surfaces.
|slippery= {{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Slippery Surfaces]]}}[[Immunity#Slippery_Surfaces|'''Immunity to Slippery Surfaces:''']]The wearer of this item is not affected when walking on slippery surfaces.
|blindness=[[Category:Items with Immunity to Blindness]][[Immunity#Blindness|'''Immunity to Blindness:''']] The wearer of this item is immune to blindness effects
|blindness={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Blindness]]}}[[Immunity#Blindness|'''Immunity to Blindness:''']] The wearer of this item is immune to blindness effects
|petrification=[[Category:Items with Immunity to Petrification]][[Immunity#Petrification|'''Immunity to Petrification:''']] This item gives immunity to Petrification.
|petrification={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Petrification]]}}[[Immunity#Petrification|'''Immunity to Petrification:''']] This item gives immunity to Petrification.
|disease=[[Category:Items with Immunity to Disease]][[Immunity#Disease|'''Disease Immunity:''']] Grants its wearer immunity to disease effects.
|disease={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Disease]]}}[[Immunity#Disease|'''Disease Immunity:''']] Grants its wearer immunity to disease effects.
|#default=[[Category:Items with Immunity to {{{1|Error}}}]][[Immunity#{{{1|}}}|'''Immunity to {{{1|}}}:]] The wearer of this item is immune to {{{1|}}} effects.
|#default={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to {{{1|Error}}}]]}}[[Immunity#{{{1|}}}|'''Immunity to {{{1|}}}:]] The wearer of this item is immune to {{{1|}}} effects.
}}</onlyinclude>
}}</onlyinclude>

Revision as of 16:24, 11 February 2019

Immune[edit]

This template is used on equipment for the Immunity enchantment.

Example Usage
{{Immune|Fear}}Immunity to Fear: The wearer of this item is immune to all fear effects.
{{Immune|Slippery}}Immunity to Slippery Surfaces:The wearer of this item is not affected when walking on slippery surfaces.

Usage[edit]

{{Immune|(Type)}}

Parameter Documentation
TypeType of immunity
Possible Values:
  • Fear
  • Slippery
  • Blindness
  • Petrification
  • Disease

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Immunity to : The wearer of this item is immune to effects.