Difference between revisions of "Template:ReduceSheltering"

From DDO Compendium
Line 26: Line 26:
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
| physical
| physical
| magical = {{#ifeq: {{FULLPAGENAME}} |Template:ReduceSheltering||[[Category:Items that Reduce Enemy {{ucfirst:{{lc:{{{2}}}}}}} Sheltering]]}}'''[[Resistance Rating#{{{2}}}|{{#if: {{{3|}}}|{{{3}}}|Reduce {{{2}}} Sheltering {{{1}}}}}:]]''' {{#if: {{{4|}}}|{{{4}}}, reducing their|On Hit: Reduces an enemies}} {{{2}}} Resistance Rating by {{{1}}}
| magical = {{EnchTitle|Resistance Rating#{{{2}}}|Reduce {{{2}}} Sheltering {{{1}}}|{{{3|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:ReduceSheltering||[[Category:Items that Reduce Enemy {{ucfirst:{{lc:{{{2}}}}}}} Sheltering]]}}'''{{#if: {{{4|}}}|{{{4}}}, reducing their|On Hit: Reduces an enemies}} {{{2}}} Resistance Rating by {{{1}}}}}
| #default = {{#ifeq: {{FULLPAGENAME}} |Template:ReduceSheltering||[[Category: Items that Reduce Enemy Sheltering]]}}'''[[Resistance Rating|{{#if: {{{3|}}}|{{{3}}}| Sheltering +{{{1}}}}}:]]''' {{#if: {{{4|}}}|{{{4}}}, reducing their|On Hit: Reduces an enemies}} Physical and Magical Resistance Ratings by {{{1}}}
 
| #default = {{EnchTitle|Resistance Rating|Reduce Sheltering|{{{3|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:ReduceSheltering||[[Category: Items that Reduce Enemy Sheltering]]}}{{#if: {{{4|}}}|{{{4}}}, reducing their|On Hit: Reduces an enemies}} Physical and Magical Resistance Ratings by {{{1}}}}}
}}
}}
</onlyinclude>
</onlyinclude>

Revision as of 21:04, 6 December 2019

ReduceSheltering[edit]

This template is used on equipment for the Reduce Sheltering enchantment.

Example Usage
{{ReduceSheltering|10|Both}}Reduce Sheltering: On Hit: Reduces an enemies Physical and Magical Resistance Ratings by 10
{{ReduceSheltering|10|Physical}}Reduce Physical Sheltering 10: On Hit: Reduces an enemies Physical Resistance Rating by 10
{{ReduceSheltering|10|Both|Constricting Nightmare|Enemies struck by this weapon are stricken with a horrible fear of death}}Constricting Nightmare: Enemies struck by this weapon are stricken with a horrible fear of death, reducing their Physical and Magical Resistance Ratings by 10

Usage[edit]

{{ReduceSheltering|(Enhancement Amount)|(Rating)|(Title)|(Text)}}

Parameter Documentation
Enhancement AmountThis is the amount that the rating is reduced on the enemy.
RatingThis is defines which rating is increased. If not specified it defaults to Both
Possible Values:
  • Physical
  • Magical
  • Both
TitleThis is the custom title for the enchantment.
TextThis is text to display before the actual enchantment description.

Template

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


Reduce Sheltering: On Hit: Reduces an enemies Physical and Magical Resistance Ratings by {{{1}}}