Difference between revisions of "Template:AugmentColorUse"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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 | |
Color | This is the color of the augment. Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.