Difference between revisions of "Template:Speed"

From DDO Compendium
Line 15: Line 15:
|parameter2name = Attack Type
|parameter2name = Attack Type
|parameter2description = This is the attack type this applies to.  The default is Melee and Ranged.
|parameter2description = This is the attack type this applies to.  The default is Melee and Ranged.
|parameter2name = Attack Speed
|parameter3name = Attack Speed
|parameter2description = Optional to specify the attack speed increase if it isn't the calculated 1/2 of movement.
|parameter3description = Optional to specify the attack speed increase if it isn't the calculated 1/2 of movement.
}}
}}
</noinclude>
</noinclude>
Line 29: Line 29:
|v = Passive: +25% Enhancement Bonus to Movement Speed, +5% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|v = Passive: +25% Enhancement Bonus to Movement Speed, +5% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|vi|vii|viii|ix|x|xi|xii|xiii|xiv|xv|xvi|xvii|xiii|xiv|xx = Passive: +30% Enhancement Bonus to Movement Speed, +{{RomanToNumber|{{{1}}}}}% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|vi|vii|viii|ix|x|xi|xii|xiii|xiv|xv|xvi|xvii|xiii|xiv|xx = Passive: +30% Enhancement Bonus to Movement Speed, +{{RomanToNumber|{{{1}}}}}% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|#default = +{{{1}}}% Enhancement bonus to Movement speed and +{{#if: {{{4|}}}|{{{4}}}|{{#expr:trunc({{{1}}}/2)}}}}% bonus to Attack speed.}}}}{{EnchCat|Speed|Items with a Bonus to Movement Speed|Items with a Bonus to {{{2|Melee and Ranged}}} Attack Speed}}</onlyinclude>
|#default = +{{{1}}}% Enhancement bonus to Movement speed and +{{#if: {{{3|}}}|{{{3}}}|{{#expr:trunc({{{1}}}/2)}}}}% bonus to Attack speed.}}}}{{EnchCat|Speed|Items with a Bonus to Movement Speed|Items with a Bonus to {{{2|Melee and Ranged}}} Attack Speed}}</onlyinclude>

Revision as of 18:26, 25 June 2020

Speed[edit]

This template is used on equipment for the Speed enchantment. Speed adds movement speed and in some cases adds alacrity to weapons.

Example Usage
{{Speed|8}}Speed +8%: +8% Enhancement bonus to Movement speed and +4% bonus to Attack speed.
{{Speed|III}}Speed III: Passive: +15% Enhancement Bonus to Movement Speed, +3% Enhancement Bonus to Melee and Ranged Attack Speed.
{{Speed|XV|Ranged}}Ranged Speed XV: Passive: +30% Enhancement Bonus to Movement Speed, +15% Enhancement Bonus to Ranged Attack Speed.
{{Speed|16||5}}Speed +16%: +16% Enhancement bonus to Movement speed and +5% bonus to Attack speed.

Usage[edit]

{{Speed|(Enhancement Amount)|(Attack Type)|(Attack Speed)}}

Parameter Documentation
Enhancement AmountThis is the amount that speed is increased. It can either be an actual amount found in newer speed items, or the older speed with is a Roman Numeral from I to XX.
Attack TypeThis is the attack type this applies to. The default is Melee and Ranged.
Attack SpeedOptional to specify the attack speed increase if it isn't the calculated 1/2 of movement.

Template

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


Speed +{{{1}}}%: +{{{1}}}% Enhancement bonus to Movement speed and +Expression error: Unrecognized punctuation character "{".% bonus to Attack speed.