Difference between revisions of "Template:Spearblock"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
|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 | ||
}}</noinclude><onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Spearblock||[[Category: Items with Damage Reduction]]}}[[Damage Reduction|'''Spearblock {{{1}}}:''']] Passive: Reduces physical damage taken by {{#expr: {{{1}}}*2}}, except from Bludgeoning or Slashing weapons. (Damage Reduction: {{#expr: {{{1}}}*2}}/Slash, Bludgeon)</onlyinclude> | |parameter2description = The title if it doesn't match the default | ||
}}</noinclude><onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Spearblock||[[Category: Items with Damage Reduction]]}}[[Damage Reduction|{{#if: {{{2|}}}|{{{2}}}|'''Spearblock {{{1}}}}}:''']] Passive: Reduces physical damage taken by {{#expr: {{{1}}}*2}}, except from Bludgeoning or Slashing weapons. (Damage Reduction: {{#expr: {{{1}}}*2}}/Slash, Bludgeon)</onlyinclude> |
Revision as of 18:04, 15 March 2019
Spearblock[edit]
This template is used on equipment for the Spearblock enchantment. Axeblock adds specific damage reduction.
Example Usage | |
{{Spearblock|4}} | Spearblock 4: Passive: Reduces physical damage taken by 8, except from Bludgeoning or Slashing weapons. (Damage Reduction: 8/Slash, Bludgeon) |
Usage[edit]
{{Spearblock|(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.
Spearblock {{{1}}}: Passive: Reduces physical damage taken by Expression error: Unrecognized punctuation character "{"., except from Bludgeoning or Slashing weapons. (Damage Reduction: Expression error: Unrecognized punctuation character "{"./Slash, Bludgeon)