Difference between revisions of "Template:Speed"

From DDO Compendium
 
Line 23: Line 23:
|#default={{EnchTitle|Speed|Speed +{{{1}}}%}}
|#default={{EnchTitle|Speed|Speed +{{{1}}}%}}
}}{{EnchBody|{{#switch: {{lc:{{{1}}}}}
}}{{EnchBody|{{#switch: {{lc:{{{1}}}}}
|i = Passive: +5% Enhancement Bonus to Movement Speed, +1% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|i = Passive: +5% Enhancement Bonus to Movement Speed, +1% Enhancement Bonus to {{#if: {{{2|}}}|{{{2}}}|Melee and Ranged}} Attack Speed.
|ii = Passive: +10% Enhancement Bonus to Movement Speed, +2% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|ii = Passive: +10% Enhancement Bonus to Movement Speed, +2% Enhancement Bonus to {{#if: {{{2|}}}|{{{2}}}|Melee and Ranged}} Attack Speed.
|iii = Passive: +15% Enhancement Bonus to Movement Speed, +3% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|iii = Passive: +15% Enhancement Bonus to Movement Speed, +3% Enhancement Bonus to {{#if: {{{2|}}}|{{{2}}}|Melee and Ranged}} Attack Speed.
|iv = Passive: +20% Enhancement Bonus to Movement Speed, +4% Enhancement Bonus to {{{2|Melee and Ranged}}} Attack Speed.
|iv = Passive: +20% Enhancement Bonus to Movement Speed, +4% Enhancement Bonus to {{#if: {{{2|}}}|{{{2}}}|Melee and Ranged}} Attack Speed.
|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 {{#if: {{{2|}}}|{{{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 {{#if: {{{2|}}}|{{{2}}}|Melee and Ranged}} Attack Speed.
|#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>
|#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 {{#if: {{{2|}}}|{{{2}}}|Melee and Ranged}} Attack Speed}}</onlyinclude>

Latest revision as of 18:39, 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.