Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
Marblemadmax (talk | contribs) No edit summary |
(Add additional Trait+Hairstyle categories to pages if type=Clothing and Category=Hairstyle, as the game itself does not make it possible to easily filter by hairstyle traits) |
||
Line 258: | Line 258: | ||
{{!}}- | {{!}}- | ||
{{!}} id="infobox-label" {{!}} Traits: | {{!}} id="infobox-label" {{!}} Traits: | ||
{{!}} {{#arraydefine:a-trait|{{{traits|}}}}}{{#arrayprint:a-trait| |@@@@| {{tag|@@@@|{{{type|}}}}} | {{!}} {{#arraydefine:a-trait|{{{traits|}}}}}{{#arrayprint:a-trait| |@@@@| {{tag|@@@@|{{{type|}}}}} {{#switch:{{{type|}}} | ||
|Timebending | |Timebending | ||
|Crafted Furniture | |Crafted Furniture | ||
|Furniture=@@@@ Furniture | |Furniture=[[Category: @@@@ Furniture]] | ||
|Clothing=@@@@ Clothing | |Clothing=[[Category: @@@@ Clothing]] {{#ifeq:{{{category|}}}|Hairstyle|[[Category:@@@@ Hairstyle]]|}} | ||
|#default=@@@@}} | |#default=[[Category: @@@@]]}} }} | ||
}}}}{{#if:{{{seed|}}}|<nowiki/> | }}}}{{#if:{{{seed|}}}|<nowiki/> | ||
{{!}}- | {{!}}- |
Revision as of 17:50, 27 January 2024
For usage guidelines, please see: Template:Infobox/doc