Difference between revisions of "Template:AugmentColorUse"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
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 | * 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=| | |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=| | |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 | |
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.