Difference between revisions of "Template:TendonSlice"

From DDO Compendium
Line 18: Line 18:
</noinclude>
</noinclude>
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
<onlyinclude>{{#switch: {{lc:{{{2}}}}}
|percent={{EnchTitle|Tendon Slice|Tendon Slice {{{1}}}%}}{{#ifeq: {{#dplvar:enhview}}|titleonly||This effect gives a {{{1}}}% chance to Hamstring the target for each attack that does damage.}}
|percent={{EnchTitle|Tendon Slice|Tendon Slice {{{1}}}%}}{{EnchBody|This effect gives a {{{1}}}% chance to Hamstring the target for each attack that does damage.}}


|time={{EnchTitle|Tendon Slice|Tendon Slice {{{1}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||On Hit: 6% chance to slow target's movement by 50% for {{{1}}} seconds.}}
|time={{EnchTitle|Tendon Slice|Tendon Slice {{{1}}}}}{{EnchBody|On Hit: 6% chance to slow target's movement by 50% for {{{1}}} seconds.}}


|#default={{EnchTitle|Tendon Slice|Tendon Slice {{{1}}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||On Hit: {{#expr:{{{1}}}*2}}% chance to slow target's movement by 50% for 3 seconds.}}
|#default={{EnchTitle|Tendon Slice|Tendon Slice {{{1}}}}}{{EnchBody|On Hit: {{#expr:{{{1}}}*2}}% chance to slow target's movement by 50% for 3 seconds.}}
}}
}}{{EnchCat|TendonSlice|Items with a Bonus to Tendon Slice]}}</onlyinclude>
{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:TendonSlice||[[Category: Items with a Bonus to Tendon Slice]]}}}}</onlyinclude>

Revision as of 03:18, 14 December 2019

TendonSlice[edit]

This template is used on equipment for the TendonSlice enchantment.

Example Usage
{{TendonSlice|3}}Tendon Slice 3: On Hit: 6% chance to slow target's movement by 50% for 3 seconds.
{{TendonSlice|3|Percent}}Tendon Slice 3%: This effect gives a 3% chance to Hamstring the target for each attack that does damage.

Usage[edit]

{{TendonSlice|(Enhancement Amount)|(Type)}}

Parameter Documentation
Enhancement AmountThis is the amount that the slow movement bonus is increased.
TypeThis is the type of the tendon slice
Possible Values:
  • Percent (value is a direct percent)
  • Time - Number represents how long the movement is slowed
  • default - value is a number, and the percent is calculated

Template

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


Tendon Slice {{{1}}}: On Hit: Expression error: Unrecognized punctuation character "{".% chance to slow target's movement by 50% for 3 seconds.