Difference between revisions of "Template:ShieldBash"

From DDO Compendium
Line 20: Line 20:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|chance={{EnchTitle|Shield Bashing|Shield Bashing +{{{2}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:ShieldBash||[[Category: Items with Shield Bashing]]}}+{{{2}}} Enhancement bonus to increased chance of Secondary Shield Bash.}}
|chance={{EnchTitle|Shield Bashing|Shield Bashing +{{{2}}}}}{{EnchBody|+{{{2}}} Enhancement bonus to increased chance of Secondary Shield Bash.}}{{EnchCat|ShieldBash|Items with Shield Bashing}}


|damage={{EnchTitle|Bashing|Bashing}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:ShieldBash||[[Category: Items with Bashing]]}}This shield is exceptionally durable and dense, and does and additional {{{2}}} damage when use to shield bash.}}
|damage={{EnchTitle|Bashing|Bashing}}{{#ifeq: {{EnchBody|This shield is exceptionally durable and dense, and does and additional {{{2}}} damage when use to shield bash.}}{{EnchCat|ShieldBash|Items with Bashing}}


|improved={{EnchTitle|Bashing|Improved Bashing {{NumberToRoman|{{{2}}}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:ShieldBash||[[Category: Items with Bashing]]}}On Sheild Bash: +{{Dice||{{#expr: {{{2}}}/2}}|4}} Bludgeoning damage. On Melee Hit: +20% Chance to automatically hit your enemy with a Shield Bash attack.}}
|improved={{EnchTitle|Bashing|Improved Bashing {{NumberToRoman|{{{2}}}}}}}{{EnchBody|On Sheild Bash: +{{Dice||{{#expr: {{{2}}}/2}}|4}} Bludgeoning damage. On Melee Hit: +20% Chance to automatically hit your enemy with a Shield Bash attack.}}{{EnchCat|ShieldBash|Items with Bashing}}


}}</onlyinclude>
}}</onlyinclude>

Revision as of 22:51, 14 December 2019

ShieldBash[edit]

This template is used on equipment for the Shield Bash enchantment.

Example Usage
{{ShieldBash|chance|3}}{{#switch: chance

|chance=Shield Bashing +3: +3 Enhancement bonus to increased chance of Secondary Shield Bash.

|damage=Bashing: 
{{ShieldBash|Damage|{{Dice||9|6}}}}{{#switch: damage

|chance=Shield Bashing +9d6: +9d6 Enhancement bonus to increased chance of Secondary Shield Bash.

|damage=Bashing: 
{{ShieldBash|Improved|10}}{{#switch: improved

|chance=Shield Bashing +10: +10 Enhancement bonus to increased chance of Secondary Shield Bash.

|damage=Bashing: 

Usage[edit]

{{ShieldBash|(Type)|(Enhancement Amount)}}

Parameter Documentation
TypeThis is the type of increase that happens
Possible Values:
  • Chance
  • Damage
  • Improved
Enhancement AmountThis is the amount that shield bashing is increased or decreased.

Template

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


{{#switch: {{{1}}} |chance=Shield Bashing +{{{2}}}: +{{{2}}} Enhancement bonus to increased chance of Secondary Shield Bash.

|damage=Bashing: