Difference between revisions of "Template:Speed"

From DDO Compendium
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = Speed  
|name = Speed  
|description = This template is used on equipment for the Speed enchantment.  Speed adds movement speed and in some cases adds alacrity to weapons.
|description = This template is used on equipment for the Speed enchantment.  Speed adds movement speed and in some cases adds alacrity to weapons.
|category=Item Enchantment Template
|example1 = <nowiki>{{Speed|8}}</nowiki>
|example1 = <nowiki>{{Speed|8}}</nowiki>
|example1output = {{Speed|8}}
|example1output = {{Speed|8}}
|example2 = <nowiki>{{Speed|III}}</nowiki>
|example2 = <nowiki>{{Speed|III}}</nowiki>
|example2output = {{Speed|III}}
|example2output = {{Speed|III}}
|example3 = <nowiki>{{Speed|XV|Ranged}}</nowiki>
|example3output = {{Speed|XV|Ranged}}
|example4 = <nowiki>{{Speed|16||5}}</nowiki>
|example4output = {{Speed|16||5}}
|parameter1name = Enhancement Amount
|parameter1name = Enhancement Amount
|parameter1description = This 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.
|parameter1description = This 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.
|parameter1values =  
|parameter2name = Attack Type
|parameter2description = This is the attack type this applies to.  The default is Melee and Ranged.
|parameter3name = Attack Speed
|parameter3description = Optional to specify the attack speed increase if it isn't the calculated 1/2 of movement.
}}
}}
</noinclude>
</noinclude>
<onlyinclude>[[Category: Items with a Bonus to Speed]]
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
{{#switch: {{{1}}}
|i|ii|iii|iv|v|vi|vii|viii|ix|x|xi|xii|xiii|xiv|xv|xvi|xvii|xiii|xiv|xx={{EnchTitle|Speed|{{{2|}}} Speed {{uc:{{{1}}}}}}}
|I = [[Speed | '''Speed {{{1}}}:''']] Passive: +5% Enhancement Bonus to Movement Speed, +1% Enhancement Bonus to Melee and Ranged Attack Speed.
|#default={{EnchTitle|Speed|Speed +{{{1}}}%}}
|II = [[Speed | '''Speed {{{1}}}:''']] Passive: +10% Enhancement Bonus to Movement Speed, +2% Enhancement Bonus to Melee and Ranged Attack Speed.
}}{{EnchBody|{{#switch: {{lc:{{{1}}}}}
|III = [[Speed | '''Speed {{{1}}}:''']] Passive: +15% Enhancement Bonus to Movement Speed, +3% Enhancement Bonus to 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.
|IV = [[Speed | '''Speed {{{1}}}:''']] Passive: +20% Enhancement Bonus to Movement Speed, +4% Enhancement Bonus to 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.
|V = [[Speed | '''Speed {{{1}}}:''']] Passive: +25% Enhancement Bonus to Movement Speed, +5% Enhancement Bonus to 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.
|VI = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +6% Enhancement Bonus to 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.
|VII = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +7% Enhancement Bonus to 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.
|VIII = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +8% Enhancement Bonus to 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.
|IX = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +9% Enhancement Bonus to 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 {{#if: {{{2|}}}|{{{2}}}|Melee and Ranged}} Attack Speed}}</onlyinclude>
|X = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +10% Enhancement Bonus to Melee and Ranged Attack Speed.
|XI = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +11% Enhancement Bonus to Melee and Ranged Attack Speed.
|XII = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +12% Enhancement Bonus to Melee and Ranged Attack Speed.
|XIII = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +13% Enhancement Bonus to Melee and Ranged Attack Speed.
|XIV = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +14% Enhancement Bonus to Melee and Ranged Attack Speed.
|XV = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +15% Enhancement Bonus to Melee and Ranged Attack Speed.
|XVI = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +16% Enhancement Bonus to Melee and Ranged Attack Speed.
|XVII = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +17% Enhancement Bonus to Melee and Ranged Attack Speed.
|XVIII = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +18% Enhancement Bonus to Melee and Ranged Attack Speed.
|XIX = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +19% Enhancement Bonus to Melee and Ranged Attack Speed.
|XX = [[Speed | '''Speed {{{1}}}:''']] Passive: +30% Enhancement Bonus to Movement Speed, +20% Enhancement Bonus to Melee and Ranged Attack Speed.
|#default = [[Speed | '''Speed +{{{1}}}%:''']] +{{{1}}}% Enhancement bonus to Movement speed and +{{#expr:trunc({{{1}}}/2)}}% bonus to 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.