Difference between revisions of "Template:WeaponPower"

From DDO Compendium
Line 24: Line 24:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
|ranged = {{EnchTitle|Weapon Power#Ranged|{{BonusTypeNameConversion|{{{3|}}}|True}} Ranged Power +{{{2}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:WeaponPower||[[Category:Items with Ranged Power]]}}This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Ranged Power.}}
|ranged = {{EnchTitle|Weapon Power#Ranged|{{BonusTypeNameConversion|{{{3|}}}|True}} Ranged Power +{{{2}}}}}{{EnchBody|This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Ranged Power.}}{{EnchCat|WeaponPower|Items with Ranged Power}}


|both = {{EnchTitle|Weapon Power|{{BonusTypeNameConversion|{{{3|}}}|True}} Weapon Power +{{{2}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:WeaponPower||[[Category:Items with Ranged Power]][[Category:Items with Melee Power]]}}This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to both Ranged and Melee Power.}}
|both = {{EnchTitle|Weapon Power|{{BonusTypeNameConversion|{{{3|}}}|True}} Weapon Power +{{{2}}}}}{{EnchBody|This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to both Ranged and Melee Power.}}{{EnchCat|WeaponPower|Items with Ranged Power|Items with Melee Power}}


|#default = {{EnchTitle|Weapon Power#Melee|{{BonusTypeNameConversion|{{{3|}}}|True}} Melee Power +{{{2}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:WeaponPower||[[Category:Items with Melee Power]]}}This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Melee Power.}}
|#default = {{EnchTitle|Weapon Power#Melee|{{BonusTypeNameConversion|{{{3|}}}|True}} Melee Power +{{{2}}}}}{{EnchBody|This item provides a +{{{2}}} {{BonusTypeNameConversion|{{{3|Enhancement}}}}} bonus to Melee Power.}}{{EnchCat|WeaponPower|Items with Melee Power}}
}}
}}</onlyinclude>
</onlyinclude>

Revision as of 22:25, 14 December 2019

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 Enhancement 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}}Weapon Power +10: This item provides a +10 Enhancement 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 Enhancement

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}}} Enhancement bonus to Melee Power.