Difference between revisions of "Template:AugmentColorUse"

From DDO Compendium
(Created page with "<noinclude>{{TemplateDocumentation |name = AugmentColorUse |description = This template is used on augments to correctly format that the "used in" field. |category = Item Temp...")
 
Line 1: Line 1:
<noinclude>{{TemplateDocumentation
<noinclude>{{TemplateDocumentation
|name = AugmentColorUse
|name = AugmentColorUse
|description = This template is used on augments to correctly format that the "used in" field.
|description = This template is used on augments to correctly format that the "used in" field. It also adds the categories for each
|category = Item Templates
|category = Item Templates
|example1 = <nowiki>{{AugmentColorUse|Blue}}</nowiki>
|example1 = <nowiki>{{AugmentColorUse|Blue}}</nowiki>
Line 29: Line 29:
|p=|purple=Purple augment slot.
|p=|purple=Purple augment slot.
|o=|orange=Orange augment slot.
|o=|orange=Orange augment slot.
}}
}}{{#ifeq: {{FULLPAGENAME}} |Template:AugmentColorUse||{{#switch: {{lc:{{{1}}}}}
|c=|colorless=[[Category:Augments that can be slotted into a Colorless Slot]][[Category:Augments that can be slotted into a Yellow Slot]][[Category:Augments that can be slotted into an Orange Slot]][[Category:Augments that can be slotted into a Green Slot]][[Category:Augments that can be slotted into a Red Slot]][[Category:Augments that can be slotted into a Purple Slot]][[Category:Augments that can be slotted into a Blue Slot]]
|y=|yellow=[[Category:Augments that can be slotted into a Yellow Slot]][[Category:Augments that can be slotted into a Orange Slot]][[Category:Augments that can be slotted into a Green Slot]]
|r=|red=[[Category:Augments that can be slotted into a Red Slot]][[Category:Augments that can be slotted into na Orange Slot]][[Category:Augments that can be slotted into a Purple Slot]]
|b=|blue=[[Category:Augments that can be slotted into a Blue Slot]][[Category:Augments that can be slotted into a Green Slot]][[Category:Augments that can be slotted into a Purple Slot]]
|g=|green=[[Category:Augments that can be slotted into a Green Slot]]
|p=|purple=[[Category:Augments that can be slotted into a Purple Slot]]
|o=|orange=[[Category:Augments that can be slotted into an Orange Slot]]
}}}}
</onlyinclude>
</onlyinclude>

Revision as of 16:47, 22 July 2021

AugmentColorUse[edit]

This template is used on augments to correctly format that the "used in" field. It also adds the categories for each

Example Usage
{{AugmentColorUse|Blue}}Blue, Green or Purple augment slots.
{{AugmentColorUse|Colorless}}Any augment slot.
{{AugmentColorUse|Orange}}Orange augment slot.

Usage[edit]

{{AugmentColorUse|(Color)}}

Parameter Documentation
ColorThis is the color of the augment.
Possible Values:
  • Colorless
  • Yellow
  • Red
  • Blue
  • Green
  • Purple
  • Orange

Template

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