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
imported>SimDestroyer
No edit summary
No edit summary
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|type = {{#switch: {{lc:{{{2}}}}}
|type = {{#switch: {{lc:{{{2}}}}}
|instrument = [[Category:Instruments]]
|instrument = {{Namespace detect |main=[[Category:Instruments]] |custom=[[Category:Instruments (custom)]]}}
|appliance = [[Category:Appliances]]
|appliance = {{Namespace detect |main=[[Category:Appliances]] |custom=[[Category:Appliances (custom)]]}}
|aspiration reward = [[Category:Aspiration rewards]]
|aspiration reward = {{Namespace detect |main=[[Category:Aspiration rewards]] |custom=[[Category:Aspiration rewards (custom)]]}}
|career reward = [[Category:Career rewards]]
|career reward = {{Namespace detect |main=[[Category:Career rewards]] |custom=[[Category:Career rewards (custom)]]}}
|craft
|craft
|crafting = [[Category:Craft-making objects]]
|crafting = {{Namespace detect |main=[[Category:Craft-making objects]] |custom=[[Category:Craft-making objects (custom)]]}}
|curtain
|curtain
|curtains
|curtains
Line 19: Line 19:
|flower
|flower
|flowers
|flowers
|decorative = [[Category:Decorative objects]]
|decorative = {{Namespace detect |main=[[Category:Decorative objects]] |custom=[[Category:Decorative objects (custom)]]}}
|small electronics
|small electronics
|electronics = [[Category:Electronics]]
|electronics = {{Namespace detect |main=[[Category:Electronics]] |custom=[[Category:Electronics (custom)]]}}
|hunger
|hunger
|food = [[Category:Food]]
|food = {{Namespace detect |main=[[Category:Food]] |custom=[[Category:Food (custom)]]}}
|money = [[Category:Money-making objects]]
|money = {{Namespace detect |main=[[Category:Money-making objects]] |custom=[[Category:Money-making objects (custom)]]}}
|game = [[Category:Game objects]]
|game = {{Namespace detect |main=[[Category:Game objects]] |custom=[[Category:Game objects (custom)]]}}
|motive
|motive
|fun
|fun
Line 37: Line 37:
|mood
|mood
|moodlet
|moodlet
|needs = [[Category:Mood-altering objects]]
|needs = {{Namespace detect |main=[[Category:Mood-altering objects]] |custom=[[Category:Mood-altering objects (custom)]]}}
|simology = [[Category:Objects that change Simology]]
|simology = {{Namespace detect |main=[[Category:Objects that change Simology]] |custom=[[Category:Objects that change Simology (custom)]]}}
|skills
|skills
|skill = [[Category:Skill objects]]
|skill = {{Namespace detect |main=[[Category:Skill objects]] |custom=[[Category:Skill objects (custom)]]}}
|toy = [[Category:Toys]]
|toy = {{Namespace detect |main=[[Category:Toys]] |custom=[[Category:Toys (custom)]]}}
|vehicle = [[Category:Vehicles]]
|vehicle = {{Namespace detect |main=[[Category:Vehicles]] |custom=[[Category:Vehicles (custom)]]}}
|special = [[Category:Special items]]
|special = {{Namespace detect |main=[[Category:Special items]] |custom=[[Category:Special items (custom)]]}}
|flower bed
|flower bed
|flower beds
|flower beds
Line 50: Line 50:
|outdoor plant
|outdoor plant
|garden plant
|garden plant
|plant = [[Category:Plants]]
|plant = {{Namespace detect |main=[[Category:Plants]] |custom=[[Category:Plants (custom)]]}}
|profession = [[Category:Objects for professions]]
|profession = {{Namespace detect |main=[[Category:Objects for professions]] |custom=[[Category:Objects for professions (custom)]]}}
|gardening = [[Category:Objects used in gardening]]
|gardening = {{Namespace detect |main=[[Category:Objects used in gardening]] |custom=[[Category:Objects used in gardening (custom)]]}}
|rabbit hole = [[Category:Rabbit holes]]
|rabbit hole = {{Namespace detect |main=[[Category:Rabbit holes]] |custom=[[Category:Rabbit holes (custom)]]}}
|neighborhood = [[Category:Neighborhood objects]]
|neighborhood = {{Namespace detect |main=[[Category:Neighborhood objects]] |custom=[[Category:Neighborhood objects (custom)]]}}
}}
}}
|buy = {{#switch: {{lc:{{{2}}}}}
|buy = {{#switch: {{lc:{{{2}}}}}
Line 61: Line 61:
|consignment shop
|consignment shop
|consignment store
|consignment store
|community lot = [[Category:Objects bought at community lots]]
|community lot = {{Namespace detect |main=[[Category:Objects bought at community lots]] |custom=[[Category:Objects bought at community lots (custom)]]}}
|buy mode = [[Category:Objects available in buy mode]]
|buy mode = {{Namespace detect |main=[[Category:Objects available in buy mode]] |custom=[[Category:Objects available in buy mode (custom)]]}}
|quest
|quest
|opportunity
|opportunity
|award
|award
|limited = [[Category:Objects requiring unlocking]]
|limited = {{Namespace detect |main=[[Category:Objects requiring unlocking]] |custom=[[Category:Objects requiring unlocking (custom)]]}}
|community lot only = [[Category:Objects only for community lots]]
|community lot only = {{Namespace detect |main=[[Category:Objects only for community lots]] |custom=[[Category:Objects only for community lots (custom)]]}}
|neighborhood
|neighborhood
|edit town mode = [[Category:Neighborhood objects]]
|edit town mode = {{Namespace detect |main=[[Category:Neighborhood objects]] |custom=[[Category:Neighborhood objects (custom)]]}}
|built
|built
|invented
|invented
|crafted = [[Category:Objects built by Sims]]
|crafted = {{Namespace detect |main=[[Category:Objects built by Sims]] |custom=[[Category:Objects built by Sims (custom)]]}}
|build mode = {{#switch: {{MGL|{{{3}}}}}
|build mode = {{#switch: {{MGL|{{{3}}}}}
|TS4 = [[Category:Objects available in build mode (The Sims 4)]]
|TS4 = {{Namespace detect |main=[[Category:Objects available in build mode (The Sims 4)]] |custom=[[Category:Objects available in build mode (The Sims 4) (custom)]]}}
|#default = [[Category:Objects available in build mode]]
|#default = {{Namespace detect |main=[[Category:Objects available in build mode]] |custom=[[Category:Objects available in build mode (custom)]]}}
}}
}}
|no = [[Category:Objects that cannot be bought without cheats or mods]]
|no = {{Namespace detect |main=[[Category:Objects that cannot be bought without cheats or mods]]}}
}}
}}
|game = {{#switch: {{Vgcoderev|{{{2}}}}}
|game = {{#switch: {{Vgcoderev|{{{2}}}}}
Line 155: Line 155:
|Seasons (The Sims 4) = [[Category:Objects in Seasons (The Sims 4)]]
|Seasons (The Sims 4) = [[Category:Objects in Seasons (The Sims 4)]]
|Get Famous = [[Category:Objects in Get Famous]]
|Get Famous = [[Category:Objects in Get Famous]]
|Island Living = [[Category:Objects in Island Living]]
|Outdoor Retreat = [[Category:Objects in Outdoor Retreat]]
|Outdoor Retreat = [[Category:Objects in Outdoor Retreat]]
|Spa Day = [[Category:Objects in Spa Day]]
|Spa Day = [[Category:Objects in Spa Day]]
Line 162: Line 161:
|Parenthood = [[Category:Objects in Parenthood]]
|Parenthood = [[Category:Objects in Parenthood]]
|Jungle Adventure = [[Category:Objects in Jungle Adventure]]
|Jungle Adventure = [[Category:Objects in Jungle Adventure]]
|StrangerVille = [[Category:Objects in StrangerVille]]
|Luxury Party Stuff = [[Category:Objects in Luxury Party Stuff]]
|Luxury Party Stuff = [[Category:Objects in Luxury Party Stuff]]
|Perfect Patio Stuff = [[Category:Objects in Perfect Patio Stuff]]
|Perfect Patio Stuff = [[Category:Objects in Perfect Patio Stuff]]

Revision as of 19:07, 19 August 2019

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?)