Difference between revisions of "Template:PreslottedAugment"

From DDO Compendium
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = Augment
|name = PreslottedAugment
|description = This template is used on equipment to add an augment slot. This supports both empty and pre-slotted.  Make sure you only pre-slot augments that are actually dropped by the item.
|description = This template is used on equipment to add an augment slot. This supports both empty and pre-slotted.  Make sure you only pre-slot augments that are actually dropped by the item.
|category=Item Enchantment Template
|category=Item Enchantment Template
|example1 = <nowiki>{{Augment|Orange}}</nowiki>
|example1 = <nowiki>{{PreslottedAugment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}</nowiki>
|example1output = {{Augment|Orange}}
|example1output = {{PreslottedAugment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}
|example2 = <nowiki>{{Augment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}</nowiki>
|example2output = {{Augment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}
|parameter1name = Color
|parameter1name = Color
|parameter1description = This is the color of the augment.
|parameter1description = This is the color of the augment.
Line 23: Line 21:
|parameter3description = This is the first sentence of the description text on the pre-slotted augment.  The second sentence about the unslotting is included in the template.
|parameter3description = This is the first sentence of the description text on the pre-slotted augment.  The second sentence about the unslotting is included in the template.
|parameter3values =  
|parameter3values =  
}}</noinclude><onlyinclude>{{EnchTitle|Augment|{{#if: {{{2|}}}|{{ucfirst:{{lc:{{{1}}}}}}} Slot - {{{2}}}|Empty {{ucfirst:{{lc:{{{1}}}}}}} Augment Slot}}}}{{#ifeq: {{#dplvar:enhview}}|titleonly||{{#ifeq: {{FULLPAGENAME}} |Template:Augment||[[Category:Items with an Augment]]{{#if: {{{2|}}} |[[Category:Items with a Pre-slotted Augment]]}}[[Category:Items with {{#switch: {{lc:{{{1}}}}}
}}</noinclude><onlyinclude>{{EnchTitle|Augment|{{ucfirst:{{lc:{{{1}}}}}}} Slot - {{{2}}}}}{{EnchBody|{{{3}}} If you slot a new Augment in this {{ucfirst:{{lc:{{{1}}}}}}} Slot, it will destroy the currently slotted Augment.}}{{EnchCat|PreslottedAugment|Items with an Augment|Items with a Pre-slotted Augment|Items with {{#switch: {{lc:{{{1}}}}}
| colorless| yellow| red| blue| green|purple=a
| colorless| yellow| red| blue| green|purple=a
| orange = an
| orange = an
}} {{ucfirst:{{lc:{{{1}}}}}}} Augment]]}}{{#if: {{{2|}}}|{{{3}}} If you slot a new Augment in this {{ucfirst:{{lc:{{{1}}}}}}} Slot, it will destroy the currently slotted Augment.|This item has a {{ucfirst:{{lc:{{{1}}}}}}} Augment Slot. It can be combined with a {{#switch: {{lc:{{{1}}}}}
}} {{ucfirst:{{lc:{{{1}}}}}}} Augment}}</onlyinclude>
| green = Blue or Yellow
| orange = Red or Yellow
| purple = Blue or Red
|#default = {{ucfirst:{{lc:{{{1}}}}}}}}} Augment. Augments can be found in treasure, acquired from Collector NPC's throughout the world, or be purchased on the DDO Store.}}}}</onlyinclude>

Latest revision as of 00:40, 6 November 2020

PreslottedAugment[edit]

This template is used on equipment to add an augment slot. This supports both empty and pre-slotted. Make sure you only pre-slot augments that are actually dropped by the item.

Example Usage
{{PreslottedAugment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}Colorless Slot - Diamond of Vitality +20: This item provides the user with a +20 Vitality bonus to Hit Points. If you slot a new Augment in this Colorless Slot, it will destroy the currently slotted Augment.

Usage[edit]

{{PreslottedAugment|(Color)|(Pre-slotted augment title)|(Pre-slotted augment description)}}

Parameter Documentation
ColorThis is the color of the augment.
Possible Values:
  • Colorless
  • Yellow
  • Red
  • Blue
  • Green
  • Purple
  • Orange
Pre-slotted augment titleThis is the name of the augment that is pre-slotted. It would be the portion of the title after the hyphen (-)
Pre-slotted augment descriptionThis is the first sentence of the description text on the pre-slotted augment. The second sentence about the unslotting is included in the template.

Template

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


{{{1}}} Slot - {{{2}}}: {{{3}}} If you slot a new Augment in this {{{1}}} Slot, it will destroy the currently slotted Augment.