Template:GetObjectCats: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>SimDestroyer
No edit summary
sims>LostInRiverview
(Adding code to catch TS4 build mode objects and separate into their own category)
Line 73: Line 73:
|invented
|invented
|crafted = [[Category:Objects built by Sims]]
|crafted = [[Category:Objects built by Sims]]
|build mode = [[Category:Objects available in build mode]]
|build mode = {{#switch: {{MGL|{{{3}}}}}
|TS4 = [[Category:Objects available in build mode (The Sims 4)]]
|#default = [[Category:Objects available in build mode]]
}}
|no = [[Category:Objects that cannot be bought without cheats or mods]]
|no = [[Category:Objects that cannot be bought without cheats or mods]]
}}
}}

Revision as of 16:03, 11 November 2018

Template documentation (View · Edit · History · Purge)
Description
Chooses categories for type, buy and game parameters of {{Infobox object}}.
Syntax
{{GetObjectCats|<parameter name>|<value>}}
Types
Appliances Aspiration rewards Career rewards Craft-making objects
appliance aspiration reward career reward craft, crafting
Decorative objects Electronics Food Game objects
curtain, curtains, drapes, rug, painting, sculpture, statue, mirror, fountain, planter, flower, flowers, decorative small electronics, electronics hunger, food game
Objects used in gardening Garden plants Instruments Money-making objects
gardening garden plant instrument money
Mood-altering objects Neighborhood objects Outdoor plants Plants
motive, fun, social, comfort, bladder, hygiene, energy, room, environment, mood, moodlet, needs neighborhood outdoor plant plant
Objects for professions Objects that change Simology Skill objects Special items
profession simology skill, skills special
Toys Vehicles Rabbit holes Mods
toy vehicle rabbit hole mod
Hacked objects
hacked objects

Visit Template:GetObjectCats/doc to edit this text! (How does this work?) (Refresh this text - why?)