Difference between revisions of "Template:Crippling"

From DDO Compendium
Line 5: Line 5:
|example1 = <nowiki>{{Crippling}}</nowiki>
|example1 = <nowiki>{{Crippling}}</nowiki>
|example1output = {{Crippling}}
|example1output = {{Crippling}}
|example2 = <nowiki>{{Crippling|Ranged}}</nowiki>
|example2output = {{Crippling|Ranged}}
|parameter1name = Attack Style
|parameter1description = This is the attack style that is having its speed increased.
|parameter1values =
* Melee
* Ranged
}}
}}
</noinclude><onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Crippling||[[Category:Items with Crippling]]}}'''[[Crippling|Crippling:]]''' A crippling weapon is infused with binding power so that when a target is critically hit their movement is slowed by half.</onlyinclude>
</noinclude><onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Crippling||[[Category:Items with Crippling]]}}{{#switch: {{lc:{{{1}}}}}
|melee='''[[Crippling#Melee|Crippling:]]''' While wearing this item, your melee weapons are infused with binding power so that when targets are critically hit their movement is slowed by half.
|ranged='''[[Crippling#Ranged|Crippling:]]''' While wearing this item, your ranged weapons are infused with binding power so that when targets are critically hit their movement is slowed by half.
|#default='''[[Crippling|Crippling:]]''' A crippling weapon is infused with binding power so that when a target is critically hit their movement is slowed by half.</onlyinclude>

Revision as of 01:46, 10 November 2019

Crippling[edit]

This template is used on equipment for the Crippling enchantment.

Example Usage
{{Crippling}}{{#switch: {{{1}}}

|melee=Crippling: While wearing this item, your melee weapons are infused with binding power so that when targets are critically hit their movement is slowed by half. |ranged=Crippling: While wearing this item, your ranged weapons are infused with binding power so that when targets are critically hit their movement is slowed by half.

|#default=Crippling: A crippling weapon is infused with binding power so that when a target is critically hit their movement is slowed by half.
{{Crippling|Ranged}}{{#switch: ranged

|melee=Crippling: While wearing this item, your melee weapons are infused with binding power so that when targets are critically hit their movement is slowed by half. |ranged=Crippling: While wearing this item, your ranged weapons are infused with binding power so that when targets are critically hit their movement is slowed by half.

|#default=Crippling: A crippling weapon is infused with binding power so that when a target is critically hit their movement is slowed by half.

Usage[edit]

{{Crippling|(Attack Style)}}

Parameter Documentation
Attack StyleThis is the attack style that is having its speed increased.
Possible Values:
  • Melee
  • Ranged

Template

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


{{#switch: {{{1}}} |melee=Crippling: While wearing this item, your melee weapons are infused with binding power so that when targets are critically hit their movement is slowed by half. |ranged=Crippling: While wearing this item, your ranged weapons are infused with binding power so that when targets are critically hit their movement is slowed by half. |#default=Crippling: A crippling weapon is infused with binding power so that when a target is critically hit their movement is slowed by half.