Difference between revisions of "Template:PreslottedAugment"

From DDO Compendium
Line 1: Line 1:
<noinclude>
<noinclude>[[Category:Template]][[Category:Item Enchantment Template]]{{TemplateDocumentation
 
|name = Augment
To insert Augment, use Augment|#
|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.
<br><nowiki>{{Augment|Orange|Preslotted title (opt)|Preslotted Text (opt)}}</nowiki>
|example1 = <nowiki>{{Augment|Orange}}</nowiki>
<br>{{Augment|Orange}}<br>
|example1output = {{Augment|Orange}}
 
|example2 = <nowiki>{{Augment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}</nowiki>
</noinclude>
|example2output = {{Augment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}
 
|parameter1name = Color
 
|parameter1description = This is the color of the augment.
 
|parameter1values =
== The Template ==
* Colorless
<onlyinclude>
* Yellow
 
* Red
{{#if: {{{2|}}} |{{#switch: {{lc:{{{1}}}}}
* Blue
* Green
* Purple
* Orange
|parameter2name = Pre-slotted augment title
|parameter2description = This is the name of the augment that is pre-slotted.  It would be the portion of the title after the hyphen (-)
|parameter2values =
|parameter3name = Pre-slotted augment description
|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 =  
}}</noinclude>
<onlyinclude>{{#if: {{{2|}}} |{{#switch: {{lc:{{{1}}}}}
| green = [[Category:Items with an Augment]][[Category:Items with a Green Augment]][[Augment|'''Green Slot - {{{2}}}''':]] {{{3}}} If you slot a new Augment in this Green Slot, it will destroy the currently slotted Augment.
| green = [[Category:Items with an Augment]][[Category:Items with a Green Augment]][[Augment|'''Green Slot - {{{2}}}''':]] {{{3}}} If you slot a new Augment in this Green Slot, it will destroy the currently slotted Augment.
| orange = [[Category:Items with an Augment]][[Category:Items with an Orange Augment]][[Augment|'''Orange Slot - {{{2}}}''':]] {{{3}}} If you slot a new Augment in this Orange Slot, it will destroy the currently slotted Augment.
| orange = [[Category:Items with an Augment]][[Category:Items with an Orange Augment]][[Augment|'''Orange Slot - {{{2}}}''':]] {{{3}}} If you slot a new Augment in this Orange Slot, it will destroy the currently slotted Augment.
Line 22: Line 33:
| purple = [[Category:Items with an Augment]][[Category:Items with a Purple Augment]][[Augment|'''Empty Purple Augment Slot''':]] This item has a Purple Augment Slot. It can be combined with a Blue or Red Augment. Augments can be found in treasure, acquired from Collector NPC's throughout the world, or be purchased on the DDO Store.
| purple = [[Category:Items with an Augment]][[Category:Items with a Purple Augment]][[Augment|'''Empty Purple Augment Slot''':]] This item has a Purple Augment Slot. It can be combined with a Blue or Red Augment. Augments can be found in treasure, acquired from Collector NPC's throughout the world, or be purchased on the DDO Store.
| #default = [[Category:Items with an Augment]][[Category:Items with a {{{1}}} Augment]][[Augment|'''Empty {{{1}}} Augment Slot''':]] This item has a {{{1}}} Augment Slot. It can be combined with a {{{1}}} Augment. Augments can be found in treasure, acquired from Collector NPC's throughout the world, or be purchased on the DDO Store.}}}}</onlyinclude>
| #default = [[Category:Items with an Augment]][[Category:Items with a {{{1}}} Augment]][[Augment|'''Empty {{{1}}} Augment Slot''':]] This item has a {{{1}}} Augment Slot. It can be combined with a {{{1}}} Augment. Augments can be found in treasure, acquired from Collector NPC's throughout the world, or be purchased on the DDO Store.}}}}</onlyinclude>
<noinclude>[[Category:Template]]</noinclude>

Revision as of 01:45, 5 May 2018

Augment[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
{{Augment|Orange}}
[[File:{{{name}}}_Icon.png|link=File:{{{name}}}_Icon.png|36px|x36px|]]{{{name}}}
Augment
Augment Bag Icon.png
Binding: Unbound
Augment Type:
Slotted Effect: 


{{Augment|Colorless|Diamond of Vitality +20|This item provides the user with a +20 Vitality bonus to Hit Points.}}
[[File:{{{name}}}_Icon.png|link=File:{{{name}}}_Icon.png|36px|x36px|]]{{{name}}}
Augment
Augment Bag Icon.png
Binding: Unbound
Augment Type:
Slotted Effect: 


Usage[edit]

{{Augment|(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.


[[Category:Items with a {{{1}}} Augment]]Empty {{{1}}} Augment Slot: This item has a {{{1}}} Augment Slot. It can be combined with a {{{1}}} Augment. Augments can be found in treasure, acquired from Collector NPC's throughout the world, or be purchased on the DDO Store.