Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Difference between revisions of "Template:Axeblock"

From DDO Compendium
 
Line 12: Line 12:
 
|parameter2description = The title if it doesn't match the default
 
|parameter2description = The title if it doesn't match the default
 
}}</noinclude>
 
}}</noinclude>
<onlyinclude>{{#ifeq: {{#dplvar:enhview}}|titleonly|[[Damage Reduction|{{#if: {{{2|}}}|{{{2}}}|Axeblock {{{1}}}}}]]|{{#ifeq: {{FULLPAGENAME}} |Template:Axeblock||[[Category: Items with Damage Reduction]]}}'''[[Damage Reduction|{{#if: {{{2|}}}|{{{2}}}|Axeblock {{{1}}}}}:]]''' Passive Reduces physical damage taken by {{#expr: {{{1}}}*2}}, except from Bludgeoning or Piercing weapons. (Damage Reduction: {{#expr: {{{1}}}*2}}/Pierce, Bludgeon)}}</onlyinclude>
+
<onlyinclude>{{EnchTitle|Damage Reduction|Axeblock {{{1}}}|{{{2|}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Axeblock||[[Category: Items with Damage Reduction]]}}Passive Reduces physical damage taken by {{#expr: {{{1}}}*2}}, except from Bludgeoning or Piercing weapons. (Damage Reduction: {{#expr: {{{1}}}*2}}/Pierce, Bludgeon)}}</onlyinclude>

Latest revision as of 15:48, 4 December 2019

Axeblock[edit]

This template is used on equipment for the Axeblock enchantment. Axeblock adds specific damage reduction.
Example Usage
{{Axeblock|4}}Axeblock 4: Passive Reduces physical damage taken by 8, except from Bludgeoning or Piercing weapons. (Damage Reduction: 8/Pierce, Bludgeon)
{{Axeblock|2.5|Axeblock}}Axeblock: Passive Reduces physical damage taken by 5, except from Bludgeoning or Piercing weapons. (Damage Reduction: 5/Pierce, Bludgeon)

Usage[edit]

{{Axeblock|(Enhancement Amount)|(Title)}}

Parameter Documentation
Enhancement AmountThis is 1/2 the amount that is reduced. Items have this number in the title, and it is doubled in the description automatically by this template.
TitleThe title if it doesn't match the default

Template

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


Axeblock {{{1}}}: Passive Reduces physical damage taken by Expression error: Unrecognized punctuation character "{"., except from Bludgeoning or Piercing weapons. (Damage Reduction: Expression error: Unrecognized punctuation character "{"./Pierce, Bludgeon)