Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(Add feeding in item type to tags template for traits) |
(Assign color-type category to page (removed assignment from inside color template)) |
||
Line 201: | Line 201: | ||
{{!}} {{#switch:{{{type|}}} | {{!}} {{#switch:{{{type|}}} | ||
|Crafted Furniture | |Crafted Furniture | ||
|Furniture={{#arrayprint:a-color| |@@@@| {{color|@@@@|Furniture}} }} | |Furniture={{#arrayprint:a-color| |@@@@| {{color|@@@@|Furniture}} [[Category:@@@@ Furniture]] }} | ||
|Foraging={{#arrayprint:a-color| |@@@@| {{color|@@@@|Flowers}} }} | |Foraging={{#arrayprint:a-color| |@@@@| {{color|@@@@|Flowers}} [[Category:@@@@ Flowers]] }} | ||
|Gem | |Gem | ||
|Gems={{#arrayprint:a-color| |@@@@| {{color|@@@@|Gems}} }} | |Gems={{#arrayprint:a-color| |@@@@| {{color|@@@@|Gems}} [[Category:@@@@ Gems]] }} | ||
|#default={{#arrayprint:a-color| |@@@@| {{color|@@@@|{{{type|}}}}} }}}} | |#default={{#arrayprint:a-color| |@@@@| {{color|@@@@|{{{type|}}}}} [[Category:@@@@ {{{type|}}}]] }}}} | ||
}}}}{{#if:{{{traits|}}}|{{#ifeq: {{{traits|}}}|none|[[Category:No Traits|No Traits]]|<nowiki/> | }}}}{{#if:{{{traits|}}}|{{#ifeq: {{{traits|}}}|none|[[Category:No Traits|No Traits]]|<nowiki/> | ||
{{!}}- | {{!}}- |
Revision as of 19:55, 26 July 2023
For usage guidelines, please see: Template:Infobox/doc