Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(Create category links for Color/type combinations - Furniture (Crafted + Furniture as one), Clothing, Wallpaper, Flooring. Still have to fix Landscaping. Putting everything in one Color category was resulting in huge categories.) |
(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) |
||
Line 167: | Line 167: | ||
{{#if: {{{color|}}} | | {{#if: {{{color|}}} | | ||
{{#arraydefine:a-color| {{{color|}}} }} | {{#arraydefine:a-color| {{{color|}}} }} | ||
{{#switch:{{{type|}}} | |||
|Crafted Furniture | |Crafted Furniture | ||
|Furniture={{#arrayprint:a-color| |@@@@| [[Category:@@@@ Furniture|@@@@ Furniture]]}} | |Furniture={{#arrayprint:a-color| |@@@@| [[Category:@@@@ Furniture|@@@@ Furniture]]}} | ||
|#default={{#arrayprint:a-color| |@@@@| [[Category:@@@@ {{{type|}}}|@@@@ {{{type|}}}]]}} }} | |#default={{#arrayprint:a-color| |@@@@| [[Category:@@@@ {{{type|}}}|@@@@ {{{type|}}}]]}} }} | ||
|}} | |||
}} | |||
{{#if:{{{seed|}}}|<nowiki/> | {{#if:{{{seed|}}}|<nowiki/> | ||
{{!}}- | {{!}}- |
Revision as of 19:51, 26 January 2023
Infobox | |
---|---|
[[File:{{{image}}}|center]] | |
Information |