Difference between revisions of "Template:AutoRepair"

From DDO Compendium
(Created page with "<noinclude>{{Template:TemplateDocumentation |name = AutoRepair |description = Adds the Auto-Repair Effect |category=Item Enchantment Template |usesnamedparameters = |example...")
 
Line 17: Line 17:
* Greater
* Greater
}}</noinclude><onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with Auto-Repair]]}}{{#switch: {{lc:{{{1}}}}}
}}</noinclude><onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with Auto-Repair]]}}{{#switch: {{lc:{{{1}}}}}
|improved={{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with Improved Auto-Repair]]}}'''[[Auto-Repair#Improved|Improved Auto-Repair:]]''' This item has a small percentage chance to cast a [[Repair Serious Damage]] spell on you when you take damage.
|improved={{#ifeq: {{#dplvar:enhview}}|titleonly|[[Auto-Repair#Improved|Improved Auto-Repair]]|{{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with Improved Auto-Repair]]}}'''[[Auto-Repair#Improved|Improved Auto-Repair:]]''' This item has a small percentage chance to cast a [[Repair Serious Damage]] spell on you when you take damage.}}
|greater={{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with Greater Auto-Repair]]}}'''[[Auto-Repair#Greater|Greater Auto-Repair:]]''' This item has a small percentage chance to cast a [[Reconstruct]] spell on you when you take damage.
|greater={{#ifeq: {{#dplvar:enhview}}|titleonly|[[Auto-Repair#Greater|Greater Auto-Repair]]|{{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with Greater Auto-Repair]]}}'''[[Auto-Repair#Greater|Greater Auto-Repair:]]''' This item has a small percentage chance to cast a [[Reconstruct]] spell on you when you take damage.}}
|#default='''[[Auto-Repair|Auto-Repair:]]''' This item has a small percentage chance to cast a [[Repair Moderate Damage]] spell on you when you take damage.
|#default={{#ifeq: {{#dplvar:enhview}}|titleonly|[[Auto-Repair|Auto-Repair]]|'''[[Auto-Repair|Auto-Repair:]]''' This item has a small percentage chance to cast a [[Repair Moderate Damage]] spell on you when you take damage.}}
}}</onlyinclude>
}}</onlyinclude>

Revision as of 17:58, 4 December 2019

AutoRepair[edit]

Adds the Auto-Repair Effect

Example Usage
{{AutoRepair}}Auto-Repair: This item has a small percentage chance to cast a Repair Moderate Damage spell on you when you take damage.
{{AutoRepair|Improved}}Improved Auto-Repair: This item has a small percentage chance to cast a Repair Serious Damage spell on you when you take damage.
{{AutoRepair|Greater}}Greater Auto-Repair: This item has a small percentage chance to cast a Reconstruct spell on you when you take damage.

Usage[edit]

{{AutoRepair|(Type)}}

Parameter Documentation
Typedefault left empty, otherwise the type of vorpal
Possible Values:
  • Basic - default, leave blank
  • Improved
  • Greater

Template

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


Auto-Repair: This item has a small percentage chance to cast a Repair Moderate Damage spell on you when you take damage.