Difference between revisions of "Template:AugmentColorUse"

From DDO Compendium
Line 38: Line 38:
<onlyinclude>{{#dplvar:set|augmentcolor|{{{1}}}}}{{#switch: {{lc:{{{1}}}}}
<onlyinclude>{{#dplvar:set|augmentcolor|{{{1}}}}}{{#switch: {{lc:{{{1}}}}}
|c=|colorless={{#dplvar:set|augmentuse|Any [[:Category:Items with an Augment|augment]] slot.}}
|c=|colorless={{#dplvar:set|augmentuse|Any [[:Category:Items with an Augment|augment]] slot.}}
|y=|yellow={{#dplvar:set|augmentuse|[[:Category:Items with a Yellow Augment|Yellow]], [[:Category:Items with an Orange Augment|Orange]] or Green augment slots.}}
|y=|yellow={{#dplvar:set|augmentuse|[[:Category:Items with a Yellow Augment|Yellow]], [[:Category:Items with an Orange Augment|Orange]] or [[:Category:Items with a Green Augment|Green]] augment slots.}}
|r=|red={{#dplvar:set|augmentuse|[[:Category:Items with a Red Augment|Red]], [[:Category:Items with an Orange Augment|Orange]] or [[:Category:Items with a Purple Augment|Purple]] augment slots.}}
|r=|red={{#dplvar:set|augmentuse|[[:Category:Items with a Red Augment|Red]], [[:Category:Items with an Orange Augment|Orange]] or [[:Category:Items with a Purple Augment|Purple]] augment slots.}}
|b=|blue={{#dplvar:set|augmentuse|[[:Category:Items with a Blue Augment|Blue]], [[:Category:Items with a Green Augment|Green]] or [[:Category:Items with a Purple Augment|Purple]] augment slots.}}
|b=|blue={{#dplvar:set|augmentuse|[[:Category:Items with a Blue Augment|Blue]], [[:Category:Items with a Green Augment|Green]] or [[:Category:Items with a Purple Augment|Purple]] augment slots.}}

Revision as of 00:30, 2 July 2022

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|CW}}Isle of Dread: Claw (Weapon) slot.

Usage[edit]

{{AugmentColorUse|(Color)}}

Parameter Documentation
ColorThis is the color of the augment.
Possible Values:
  • Colorless or C
  • Yellow or Y
  • Red or R
  • Blue or B
  • Green or G
  • Purple or P
  • Orange or O
  • Scale Armor or SA
  • Scale Weapon or SW
  • Scale Accessory or SE
  • Fang Armor or FA
  • Fang Weapon or FW
  • Fang Accessory or FE
  • Claw Armor or CA
  • Claw Weapon or CW
  • Claw Accessory or CE
  • Horn Armor or HA
  • Horn Weapon or HW
  • Horn Accessory or HE
  • Set Armor or EA
  • Set Weapon or EW
  • Set Accessory or EE

Template

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