Difference between revisions of "Template:AugmentColorUse"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 39: | Line 39: | ||
</noinclude> | </noinclude> | ||
<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.}}{{#dplvar:set|seoaugmentuse|Any augment slot.}} | ||
|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.}} | |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.}}{{#dplvar:set|seoaugmentuse|Yellow, Orange, or Green augment slot.}} | ||
|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.}}{{#dplvar:set|seoaugmentuse|Red, Orange, or Purple augment slot.}} | ||
|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.}}{{#dplvar:set|seoaugmentuse|Blue, Green, or Purple augment slot.}} | ||
|g=|green={{#dplvar:set|augmentuse|[[:Category:Items with a Green Augment|Green]] augment slot.}} | |g=|green={{#dplvar:set|augmentuse|[[:Category:Items with a Green Augment|Green]] augment slot.}}{{#dplvar:set|seoaugmentuse|Green augment slot.}} | ||
|p=|purple={{#dplvar:set|augmentuse|[[:Category:Items with a Purple Augment|Purple]] augment slot.}} | |p=|purple={{#dplvar:set|augmentuse|[[:Category:Items with a Purple Augment|Purple]] augment slot.}}{{#dplvar:set|seoaugmentuse|Purple augment slot.}} | ||
|o=|orange={{#dplvar:set|augmentuse|[[:Category:Items with an Orange Augment|Orange]] augment slot.}} | |o=|orange={{#dplvar:set|augmentuse|[[:Category:Items with an Orange Augment|Orange]] augment slot.}}{{#dplvar:set|seoaugmentuse|Orange augment slot.}} | ||
|scale armor=|sa={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Armor Augment|Scale (Armor)]] slot.}} | |scale armor=|sa={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Armor Augment|Scale (Armor)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Scale (Armor) augment slot.}} | ||
|scale weapon=|sw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Weapon Augment|Scale (Weapon)]] slot.}} | |scale weapon=|sw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Weapon Augment|Scale (Weapon)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Scale (Weapon) augment slot.}} | ||
|scale accessory=|se={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Accessory Augment|Scale (Accessory)]] slot.}} | |scale accessory=|se={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Accessory Augment|Scale (Accessory)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Scale (Accessory) augment slot.}} | ||
|fang armor=|fa={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Armor Augment|Fang (Armor)]] slot.}} | |fang armor=|fa={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Armor Augment|Fang (Armor)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Fang (Armor) augment slot.}} | ||
|fang weapon=|fw ={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Weapon Augment|Fang (Weapon)]] slot.}} | |fang weapon=|fw ={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Weapon Augment|Fang (Weapon)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Fang (Weapon) augment slot.}} | ||
|fang accessory=|fe={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Accessory Augment|Fang (Accessory)]] slot.}} | |fang accessory=|fe={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Accessory Augment|Fang (Accessory)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Fang (Accessory) augment slot.}} | ||
|claw armor=|ca={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Armor Augment|Claw (Armor)]] slot.}} | |claw armor=|ca={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Armor Augment|Claw (Armor)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Claw (Armor) augment slot.}} | ||
|claw weapon=|cw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Weapon Augment|Claw (Weapon)]] slot.}} | |claw weapon=|cw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Weapon Augment|Claw (Weapon)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Claw (Weapon) augment slot.}} | ||
|claw accessory=|ce={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Accessory Augment|Claw (Accessory)]] slot.}} | |claw accessory=|ce={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Accessory Augment|Claw (Accessory)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Claw (Accessory) augment slot.}} | ||
|horn armor=|ha={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Horn Armor Augment|Horn (Armor)]] slot.}} | |horn armor=|ha={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Horn Armor Augment|Horn (Armor)]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Horn (Armor) augment slot.}} | ||
|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.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Horn (Weapon) augment 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.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Horn (Accessory) augment slot.}} | ||
|iod set bonus=|iodset={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Set Bonus Augment|Isle of Dread Set Bonus]] slot.}} | |iod set bonus=|iodset={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Set Bonus Augment|Isle of Dread Set Bonus]] slot.}}{{#dplvar:set|seoaugmentuse|Isle of Dread Set Bonus augment slot.}} | ||
|sun|s={{#dplvar:set|augmentuse|[[:Category:Items with a Sun Augment|Sun]] augment slot.}} | |sun|s={{#dplvar:set|augmentuse|[[:Category:Items with a Sun Augment|Sun]] augment slot.}}{{#dplvar:set|seoaugmentuse|Sun augment slot.}} | ||
|moon|m={{#dplvar:set|augmentuse|[[:Category:Items with a Moon Augment|Moon]] augment slot.}} | |moon|m={{#dplvar:set|augmentuse|[[:Category:Items with a Moon Augment|Moon]] augment slot.}}{{#dplvar:set|seoaugmentuse|Moon augment slot.}} | ||
}}{{#switch: {{lc:{{#dplvar:displaystyle}}}} | }}{{#switch: {{lc:{{#dplvar:displaystyle}}}} | ||
|table={{#bootstrap_tooltip: {{{1}}} | text= {{#dplvar:augmentuse}}}} | |table={{#bootstrap_tooltip: {{{1}}} | text= {{#dplvar:augmentuse}}}} |
Latest revision as of 22:02, 21 December 2024
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: 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.