Difference between revisions of "Template:ShieldBash"

From DDO Compendium
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
|example3 = <nowiki>{{ShieldBash|Improved|10}}</nowiki>
|example3 = <nowiki>{{ShieldBash|Improved|10}}</nowiki>
|example3output = {{ShieldBash|Improved|10}}
|example3output = {{ShieldBash|Improved|10}}
|example4 = <nowiki>{{ShieldBash|chance|3|||Quality}}</nowiki>
|example4output = {{ShieldBash|chance|3|||Quality}}
|parameter1name = Type
|parameter1name = Type
|parameter1description = This is the type of increase that happens
|parameter1description = This is the type of increase that happens
Line 15: Line 17:
* Damage
* Damage
* Improved
* Improved
* Both
|parameter2name = Enhancement Amount
|parameter2name = Enhancement Amount
|parameter2description = This is the amount that shield bashing is increased or decreased.   
|parameter2description = This is the amount that shield bashing is increased or decreased.   
|parameter3name = Chance increase for both
|parameter3description = This is the amount that shield bashing is increased or decreased. 
|parameter4name=Title
|parameter4description = The title if it doesn't match the default.
|parameter5name = Bonus Type
|parameter5description = This is the type of bonus - Insight, Enhancement, Quality, etc.  If you don't specify a value here it will default to Enhancement.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|chance={{EnchTitle|Shield Bashing|Shield Bashing +{{{2}}}}}{{EnchBody|+{{{2}}} Enhancement bonus to increased chance of Secondary Shield Bash.}}{{EnchCat|ShieldBash|Items with Shield Bashing}}
|chance={{EnchTitle|Shield Bashing|{{BonusTypeNameConversion|{{{5|}}}|True}} Shield Bashing +{{{2}}}%}}{{EnchBody|+{{{2}}}% {{BonusTypeNameConversion|{{{5|Enhancement}}}}} bonus to increased chance of Secondary Shield Bash.}}{{EnchCat|ShieldBash|Items with Shield Bashing}}


|damage={{EnchTitle|Bashing|Bashing}}{{EnchBody|This shield is exceptionally durable and dense, and does and additional {{{2}}} damage when use to shield bash.}}{{EnchCat|ShieldBash|Items with Bashing}}
|damage={{EnchTitle|Bashing|Bashing}}{{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}}}}}}}{{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}}
|improved={{EnchTitle|Bashing|Improved Bashing {{NumberToRoman|{{{2}}}}}}}{{EnchBody|On Shield 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}}
 
|both={{EnchTitle|Bashing|Bashing {{NumberToRoman|{{{2}}}}}|{{{4|}}}}}{{EnchBody|On Shield Bash: +{{Dice||{{#expr: {{{2}}}/2}}|4}} Bludgeoning damage. On Melee Hit: +{{{3}}}% Chance to automatically hit your enemy with a Shield Bash attack.}}{{EnchCat|ShieldBash|Items with Bashing}}


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

Latest revision as of 15:46, 25 October 2023

ShieldBash[edit]

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

Example Usage
{{ShieldBash|chance|3}}Shield Bashing +3%: +3% Enhancement bonus to increased chance of Secondary Shield Bash.
{{ShieldBash|Damage|{{Dice||9|6}}}}Bashing: This shield is exceptionally durable and dense, and does and additional 9d6 damage when use to shield bash.
{{ShieldBash|Improved|10}}Improved Bashing X: On Shield Bash: +5d4 Bludgeoning damage. On Melee Hit: +20% Chance to automatically hit your enemy with a Shield Bash attack.
{{ShieldBash|chance|3|||Quality}}Quality Shield Bashing +3%: +3% Quality bonus to increased chance of Secondary Shield Bash.

Usage[edit]

{{ShieldBash|(Type)|(Enhancement Amount)|(Chance increase for both)|(Title)|(Bonus Type)}}

Parameter Documentation
TypeThis is the type of increase that happens
Possible Values:
  • Chance
  • Damage
  • Improved
  • Both
Enhancement AmountThis is the amount that shield bashing is increased or decreased.
Chance increase for bothThis is the amount that shield bashing is increased or decreased.
TitleThe title if it doesn't match the default.
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Enhancement.

Template

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