Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(Add type+tag category combination, similar to traits and colors) |
(For Furniture Zones (labeled in game) and Clothing Zones (not labeled in game), do not append " Furniture" and " Clothing" to the category added to article, as this is redundant) |
||
Line 166: | Line 166: | ||
{{!}}- | {{!}}- | ||
{{!}} id="infobox-label" {{!}} Tags: | {{!}} id="infobox-label" {{!}} Tags: | ||
{{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{tag|@@@@|{{{type|}}}}} [[Category:{{#switch:{{{type|}}} | {{!}} {{#arraydefine:a-tag|{{{tags|}}}}}{{#arrayprint:a-tag| |@@@@| {{#switch:@@@@ | ||
|Bathroom | |||
|Bedroom | |||
|Dining Room | |||
|Kitchen | |||
|Living Room | |||
|Outdoors | |||
|Rec Room | |||
|Study | |||
|Back | |||
|Bracelets | |||
|Coats | |||
|Costumes | |||
|Dresses | |||
|Earrings | |||
|Glasses | |||
|Gloves | |||
|Hats | |||
|Neckwear | |||
|Pants | |||
|Shoes | |||
|Shorts | |||
|Skirts | |||
|Tops={{tag|@@@@}} [[Category:@@@@]] | |||
|#default={{tag|@@@@|{{{type|}}}}} [[Category:{{#switch:{{{type|}}} | |||
|Crafted Furniture | |Crafted Furniture | ||
|Furniture=@@@@ Furniture | |Furniture=@@@@ Furniture | ||
|Clothing=@@@@ Clothing | |Clothing=@@@@ Clothing | ||
|#default=@@@@}}]] }} | |#default=@@@@}}]] }} }} | ||
}}}}{{#if:{{{crop|}}}|<nowiki/> | }}}}{{#if:{{{crop|}}}|<nowiki/> | ||
{{!}}- | {{!}}- |