Difference between revisions of "Template:AugmentColorUse"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(9 intermediate revisions by the same user not shown) | |||
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 | * IOD Set Bonus or IODSet | ||
* | * Sun or S | ||
* | * Moon or M | ||
}} | }} | ||
</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 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.}} | ||
|set | |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.}}{{#dplvar:set|seoaugmentuse|Sun 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}}}} | ||
Line 81: | Line 83: | ||
|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 | |iod set bonus=|iodset=[[Category: Isle of Dread Set Bonus Augments]][[Category:Augments that can be slotted into a Isle of Dread Set Bonus Slot]] | ||
| | |s=|sun=[[Category: Sun Augments]][[Category:Augments that can be slotted into a Sun Slot]] | ||
| | |m=|moon=[[Category: Moon Augments]][[Category:Augments that can be slotted into a Moon Slot]] | ||
}}}}{{#dplvar:set|augmentuse|}}</onlyinclude> | }}}}{{#dplvar:set|augmentuse|}}</onlyinclude> |
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.