Difference between revisions of "Template:WeaponPower"

From DDO Compendium
(Created page with "<noinclude>{{TemplateDocumentation |name = SpellPower |description = This template is used on equipment for the WeaponPower enchantment. |category=Item Enchantment Template...")
 
Line 24: Line 24:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|ranged = [[Category:Items with {{{3|}}} Power]]'''[[Weapon Power#Ranged|{{{3|}}} Ranged Power +{{{2}}}:]]''' This item provides a +{{{2}}} {{{3|}}} bonus to Ranged Power.
|ranged = [[Category:Items with Ranged Power]]'''[[Weapon Power#Ranged|{{BonusTypeNameConversion|{{{3|}}}|True}} Ranged Power +{{{2}}}:]]''' This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|}}}}} bonus to Ranged Power.
|both = [[Category:Items with Ranged Power]][[Category:Items with Melee Power]]'''[[Weapon Power|{{{3|}}} Weapon Power +{{{2}}}:]]''' This item provides a +{{{2}}} {{{3|}}} bonus to both Ranged and Melee Power.
|both = [[Category:Items with Ranged Power]][[Category:Items with Melee Power]]'''[[Weapon Power|{{BonusTypeNameConversion|{{{3|}}}}True}} Weapon Power +{{{2}}}:]]''' This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|}}}}} bonus to both Ranged and Melee Power.
|#default = [[Category:Items with Melee Power]]'''[[Weapon Power#Melee|{{{3|}}} Melee Power +{{{2}}}:]]''' This item provides a +{{{2}}} {{{3|}}} bonus to Melee Power.}}
|#default = [[Category:Items with Melee Power]]'''[[Weapon Power#Melee|{{BonusTypeNameConversion|{{{3|}}}|True}} Melee Power +{{{2}}}:]]''' This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|}}}}} bonus to Melee Power.}}
</onlyinclude>
</onlyinclude>

Revision as of 21:28, 6 December 2018

SpellPower[edit]

This template is used on equipment for the WeaponPower enchantment.

Example Usage
{{WeaponPower|Ranged|10}} Ranged Power +10: This item provides a +10 bonus to Ranged Power.
{{WeaponPower|Melee|10|Insight}}Insightful Melee Power +10: This item provides a +10 Insight bonus to Melee Power.
{{WeaponPower|Both|10}}}True Weapon Power +10: This item provides a +10 bonus to both Ranged and Melee Power.

Usage[edit]

{{SpellPower|(Power)|(Enhancement Amount)|(Bonus Type)}}

Parameter Documentation
PowerThis is the weapon power that is increased.
Possible Values:
  • Ranged
  • Melee (Default)
  • Both
Enhancement AmountThis is the amount that weapon power is increased.
Bonus TypeThis is the type of bonus - Insight, Enhancement, Quality, etc. If you don't specify a value here it will default to Equipment

Template

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


Melee Power +{{{2}}}: This item provides a +{{{2}}} bonus to Melee Power.