Difference between revisions of "Template:Axeblock"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|example1 = <nowiki>{{Axeblock|4}}</nowiki> | |example1 = <nowiki>{{Axeblock|4}}</nowiki> | ||
|example1output = {{Axeblock|4}} | |example1output = {{Axeblock|4}} | ||
|example2 = <nowiki>{{Axeblock|2.5|Axeblock}}</nowiki> | |||
|example2output = {{Axeblock|2.5|Axeblock}} | |||
|example3 = <nowiki>{{Axeblock|X}}</nowiki> | |||
|example3output = {{Axeblock|X}} | |||
|parameter1name = Enhancement Amount | |parameter1name = Enhancement Amount | ||
|parameter1description = This 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. | |parameter1description = This 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. | ||
| | |parameter2name = Title | ||
|parameter2description = The title if it doesn't match the default | |||
}}</noinclude> | }}</noinclude> | ||
<onlyinclude> | <onlyinclude>{{#if: {{IsNumeric|{{{1}}}}}|{{#dplvar:set|numericvalue|{{{1}}}}}|{{#dplvar:set|numericvalue|{{RomanToNumber|{{{1}}}}}}}}}{{EnchTitle|Damage Reduction|Axeblock {{{1}}}|{{{2|}}}}}{{EnchBody|Passive Reduces physical damage taken by {{#expr: {{#dplvar:numericvalue}}*2}}, except from Bludgeoning or Piercing weapons. (Damage Reduction: {{#expr: {{#dplvar:numericvalue}}*2}}/Pierce, Bludgeon)}}{{EnchCat|Axeblock|Items with Damage Reduction}}</onlyinclude> |
Latest revision as of 18:15, 20 August 2021
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) |
{{Axeblock|X}} | Axeblock X: Passive Reduces physical damage taken by 20, except from Bludgeoning or Piercing weapons. (Damage Reduction: 20/Pierce, Bludgeon) |
Usage[edit]
{{Axeblock|(Enhancement Amount)|(Title)}}
Parameter Documentation | |
Enhancement Amount | This 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. |
Title | The 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: Unexpected * operator., except from Bludgeoning or Piercing weapons. (Damage Reduction: Expression error: Unexpected * operator./Pierce, Bludgeon)