Difference between revisions of "Template:AugmentColorUse"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 37: | Line 37: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#dplvar:set|augmentcolor|{{{1}}}}}{{#switch: {{lc:{{{1}}}}} | <onlyinclude>{{#dplvar:set|augmentcolor|{{{1}}}}}{{#switch: {{lc:{{{1}}}}} | ||
|c=|colorless={{#dplvar:set|augmentuse|Any augment slot.}} | |c=|colorless={{#dplvar:set|augmentuse|Any [[:Category:Items with an Augment|augment]] slot.}} | ||
|y=|yellow={{#dplvar:set|augmentuse|Yellow, 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 Green augment slots.}} | ||
|r=|red={{#dplvar:set|augmentuse|Red, Orange or 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|Blue, Green or 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.}} | ||
|g=|green={{#dplvar:set|augmentuse|Green augment slot.}} | |g=|green={{#dplvar:set|augmentuse|[[:Category:Items with a Green Augment|Green]] augment slot.}} | ||
|p=|purple={{#dplvar:set|augmentuse|Purple augment slot.}} | |p=|purple={{#dplvar:set|augmentuse|[[:Category:Items with a Purple Augment|Purple]] augment slot.}} | ||
|o=|orange={{#dplvar:set|augmentuse|Orange augment slot.}} | |o=|orange={{#dplvar:set|augmentuse|[[:Category:Items with an Orange Augment|Orange]] augment slot.}} | ||
|scale armor=|sa={{#dplvar:set|augmentuse|Isle of Dread: Scale (Armor) slot. | |scale armor=|sa={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Armor Augment|Scale (Armor)]] slot.}} | ||
|scale weapon=|sw={{#dplvar:set|augmentuse|Isle of Dread: Scale (Weapon) slot. | |scale weapon=|sw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Weapon Augment|Scale (Weapon)]] slot.}} | ||
|scale accessory=|se={{#dplvar:set|augmentuse|Isle of Dread: Scale (Accessory) slot. | |scale accessory=|se={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Scale Accessory Augment|Scale (Accessory)]] slot.}} | ||
|fang armor=|fa={{#dplvar:set|augmentuse|Isle of Dread: Fang (Armor) slot. | |fang armor=|fa={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Armor Augment|Fang (Armor)]] slot.}} | ||
|fang weapon=|fw ={{#dplvar:set|augmentuse|Isle of Dread: Fang (Weapon) slot. | |fang weapon=|fw ={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Weapon Augment|Fang (Weapon)]] slot.}} | ||
|fang accessory=|fe={{#dplvar:set|augmentuse|Isle of Dread: Fang (Accessory) slot. | |fang accessory=|fe={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Fang Accessory Augment|Fang (Accessory)]] slot.}} | ||
|claw armor=|ca={{#dplvar:set|augmentuse|Isle of Dread: Claw (Armor) slot. | |claw armor=|ca={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Armor Augment|Claw (Armor)]] slot.}} | ||
|claw weapon=|cw={{#dplvar:set|augmentuse|Isle of Dread: Claw (Weapon) slot. | |claw weapon=|cw={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Weapon Augment|Claw (Weapon)]] slot.}} | ||
|claw accessory=|ce={{#dplvar:set|augmentuse|Isle of Dread: Claw (Accessory) slot. | |claw accessory=|ce={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Claw Accessory Augment|Claw (Accessory)]] slot.}} | ||
|horn armor=|ha={{#dplvar:set|augmentuse|Isle of Dread: Horn (Armor) slot. | |horn armor=|ha={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Horn Armor Augment|Horn (Armor)]] slot.}} | ||
|horn weapon=|hw={{#dplvar:set|augmentuse|Isle of Dread: 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: 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 armor=|ea={{#dplvar:set|augmentuse|Isle of Dread: Set Bonus (Armor) slot. | |set armor=|ea={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Set Bonus Armor Augment|Set Bonus (Armor)]] slot.}} | ||
|set weapon=|ew={{#dplvar:set|augmentuse|Isle of Dread: Set Bonus (Weapon) slot. | |set weapon=|ew={{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Set Bonus Weapon Augment|Set Bonus (Weapon)]] slot.}} | ||
|set accessory=|ee={{{#dplvar:set|augmentuse|Isle of Dread: Set Bonus (Accessory) slot. | |set accessory=|ee={{{#dplvar:set|augmentuse|Isle of Dread: [[:Category:Items with Isle of Dread Set Bonus Accessory Augment|Set Bonus (Accessory)]] slot.}} | ||
}}{{#switch: {{lc:{{#dplvar:displaystyle}}}} | }}{{#switch: {{lc:{{#dplvar:displaystyle}}}} | ||
|table={{#bootstrap_tooltip: {{{1}}} | text= {{#dplvar:augmentuse}}}} | |table={{#bootstrap_tooltip: {{{1}}} | text= {{#dplvar:augmentuse}}}} | ||
|#default={{#dplvar:augmentuse | |#default={{#dplvar:augmentuse}}}}{{#ifeq: {{FULLPAGENAME}} |Template:AugmentColorUse||{{#switch: {{lc:{{{1}}}}} | ||
|c=|colorless=[[Category: Colorless Augments]][[Category:Augments that can be slotted into a Colorless Slot]][[Category:Augments that can be slotted into a Yellow Slot]][[Category:Augments that can be slotted into an Orange Slot]][[Category:Augments that can be slotted into a Green Slot]][[Category:Augments that can be slotted into a Red Slot]][[Category:Augments that can be slotted into a Purple Slot]][[Category:Augments that can be slotted into a Blue Slot]] | |c=|colorless=[[Category: Colorless Augments]][[Category:Augments that can be slotted into a Colorless Slot]][[Category:Augments that can be slotted into a Yellow Slot]][[Category:Augments that can be slotted into an Orange Slot]][[Category:Augments that can be slotted into a Green Slot]][[Category:Augments that can be slotted into a Red Slot]][[Category:Augments that can be slotted into a Purple Slot]][[Category:Augments that can be slotted into a Blue Slot]] | ||
|y=|yellow=[[Category: Yellow Augments]][[Category:Augments that can be slotted into a Yellow Slot]][[Category:Augments that can be slotted into an Orange Slot]][[Category:Augments that can be slotted into a Green Slot]] | |y=|yellow=[[Category: Yellow Augments]][[Category:Augments that can be slotted into a Yellow Slot]][[Category:Augments that can be slotted into an Orange Slot]][[Category:Augments that can be slotted into a Green Slot]] |
Revision as of 00:08, 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.