Template:Infobox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Landscaping also appends color category now; Don't show color for Landscaping items either -- color filters seem to be kind of odd/occasionally buggy, so probably more confusing to show them so focally in the infobox, but still useful for completeness sake to document)
(Add separate category for items with no color filters at all)
Line 169: Line 169:
   {{#switch:{{{type|}}}
   {{#switch:{{{type|}}}
           |Crafted Furniture
           |Crafted Furniture
           |Furniture={{#arrayprint:a-color| |@@@@| [[Category:@@@@ Furniture|@@@@ Furniture]]}}
           |Furniture={{#arrayprint:a-color| |@@@@| {{#ifeq: {{{color|}}}|none|[[Category:No Color Filters|No Color Filters]]|[[Category:@@@@ Furniture|@@@@ Furniture]]}}}}
           |#default={{#arrayprint:a-color| |@@@@| [[Category:@@@@ {{{type|}}}|@@@@ {{{type|}}}]]}} }}
           |#default={{#arrayprint:a-color| |@@@@| {{#ifeq: {{{color|}}}|none|[[Category:No Color Filters|No Color Filters]]|[[Category:@@@@ {{{type|}}}|@@@@ {{{type|}}}]]}}}} }}
|}}
|}}
{{#if:{{{seed|}}}|<nowiki/>
{{#if:{{{seed|}}}|<nowiki/>

Revision as of 23:20, 26 January 2023

Infobox
[[File:{{{image}}}|center]]
Information