Difference between revisions of "Template:Immune"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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]]}} | |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]]}} | |||
|blindness={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Blindness]]}} | |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]]}} | |||
|disease={{#ifeq: {{FULLPAGENAME}} |Template:Immune||[[Category:Items with Immunity to Disease]]}} | |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]]}} | |||
|#default={{# | |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 | |
Type | Type of immunity Possible Values:
|
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.