Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Difference between revisions of "Template:AutoRepair"

From DDO Compendium
 
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: {{#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.}}
+
|improved={{EnchTitle|Auto-Repair#Improved|Improved Auto-Repair}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with 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: {{#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.}}
+
|greater={{EnchTitle|Auto-Repair#Greater|Greater Auto-Repair}}{{#ifeq: {{#dplvar:enhview}}|titleonly|[[|]]|{{#ifeq: {{FULLPAGENAME}} |Template:AutoRepair||[[Category:Items with Greater Auto-Repair]]}}This item has a small percentage chance to cast a [[Reconstruct]] 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.}}
+
|#default={{EnchTitle|Auto-Repair|Auto-Repair}}{{#ifeq: {{#dplvar:enhview}}|titleonly||This item has a small percentage chance to cast a [[Repair Moderate Damage]] spell on you when you take damage.}}
 
}}</onlyinclude>
 
}}</onlyinclude>

Latest revision as of 15:46, 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.