Difference between revisions of "Template:Immune"

From DDO Compendium
Line 19: Line 19:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|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.
|fear={{EnchTitle|Immunity#Fear|Immunity to Fear}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Fear]]}}The wearer of this item is immune to all fear effects.}}
|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={{#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
|slippery={{EnchTitle|Immunity#Slippery_Surfaces|Immunity to Slippery Surfaces}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Slippery Surfaces]]}}The wearer of this item is not affected when walking on slippery surfaces.}}
|petrification={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Petrification]]}}[[Immunity#Petrification|'''Immunity to Petrification:''']] This item gives immunity to Petrification.
 
|disease={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Disease]]}}[[Immunity#Disease|'''Disease Immunity:''']] Grants its wearer immunity to disease effects.
|blindness={{EnchTitle|Immunity#Blindness|Immunity to Blindness}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Blindness]]}}The wearer of this item is immune to blindness effects.}}
|whirlwind={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Whirlwind Ward]]}}[[Immunity#Whirlwind Ward|'''Whirlwind Ward:''']] This effect renders you immune to being knocked down by an Air Elemental's whirlwin. However, it does not prevent you from being knocked back or away from touching an Air Elemental.
 
|#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.
|petrification={{EnchTitle|Immunity#Petrification|Immunity to Petrification}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Petrification]]}}This item gives immunity to Petrification.}}
 
|disease={{EnchTitle|Immunity#Disease|Disease Immunity}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Disease]]}}Grants its wearer immunity to disease effects.}}
 
|whirlwind={{EnchTitle|Immunity#Whirlwind Ward|Whirlwind Ward}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Whirlwind Ward]]}}This effect renders you immune to being knocked down by an Air Elemental's whirlwin. However, it does not prevent you from being knocked back or away from touching an Air Elemental.}}
 
|#default={{EnchTitle|Immunity#{{{1|}}}|Immunity to {{{1|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to {{{1|Error}}}]]}}The wearer of this item is immune to {{{1|}}} effects.}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 18:32, 6 December 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
  • Whirlwind

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.