Difference between revisions of "Template:AugmentColorUse"

From DDO Compendium
Line 9: Line 9:
|example3 = <nowiki>{{AugmentColorUse|CW}}</nowiki>
|example3 = <nowiki>{{AugmentColorUse|CW}}</nowiki>
|example3output = {{AugmentColorUse|CW}}
|example3output = {{AugmentColorUse|CW}}
|example4 = <nowiki>{{AugmentColorUse|IODSet}}</nowiki>
|example4output = {{AugmentColorUse|IODSet}}
|parameter1name = Color
|parameter1name = Color
|parameter1description = This is the color of the augment.
|parameter1description = This is the color of the augment.
Line 31: Line 33:
* Horn Weapon or HW
* Horn Weapon or HW
* Horn Accessory or HE
* Horn Accessory or HE
* Set Bonus or Set
* IOD Set Bonus or IODSet
}}
}}
</noinclude>
</noinclude>
Line 54: Line 56:
|horn weapon=|hw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Horn Weapon Augment|Horn (Weapon)]] slot.}}
|horn weapon=|hw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Horn Weapon Augment|Horn (Weapon)]] slot.}}
|horn accessory=|he={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Horn Accessory Augment|Horn (Accessory)]] slot.}}
|horn accessory=|he={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Horn Accessory Augment|Horn (Accessory)]] slot.}}
|set bonus=|set={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Set Bonus Augment|Set Bonus]] slot.}}
|iod set bonus=|iodset={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Set Bonus Augment|Set Bonus]] slot.}}
}}{{#switch: {{lc:{{#dplvar:displaystyle}}}}
}}{{#switch: {{lc:{{#dplvar:displaystyle}}}}
|table={{#bootstrap_tooltip: {{{1}}} | text=  {{#dplvar:augmentuse}}}}
|table={{#bootstrap_tooltip: {{{1}}} | text=  {{#dplvar:augmentuse}}}}
Line 77: Line 79:
|horn weapon=|hw=[[Category: Horn Weapon Augments]][[Category:Augments that can be slotted into a Horn Weapon Slot]]
|horn weapon=|hw=[[Category: Horn Weapon Augments]][[Category:Augments that can be slotted into a Horn Weapon Slot]]
|horn accessory=|he=[[Category: Horn Accessory Augments]][[Category:Augments that can be slotted into a Horn Accessory Slot]]
|horn accessory=|he=[[Category: Horn Accessory Augments]][[Category:Augments that can be slotted into a Horn Accessory Slot]]
|set bonus=|set=[[Category: Set Bonus Augments]][[Category:Augments that can be slotted into a Isle of Dread Set Bonus Slot]]
|iod set bonus=|iodset=[[Category: Set Bonus Augments]][[Category:Augments that can be slotted into a Isle of Dread Set Bonus Slot]]
}}}}{{#dplvar:set|augmentuse|}}</onlyinclude>
}}}}{{#dplvar:set|augmentuse|}}</onlyinclude>

Revision as of 21:22, 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.
{{AugmentColorUse|IODSet}}Isle of Dread: Set Bonus 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
  • IOD Set Bonus or IODSet

Template

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