Template:Infobox object/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
m (1 revision imported: Import from https://sims.wikia.com)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Uses TemplateStyles|
;Description: Infobox for objects. Uses {{T|GetObjectCats}}.
* [[Template:Metainfobox/styles.css]]}}
;Syntax: {{T|Infobox object|...}}
==Description==
Infobox for objects. Uses {{T|GetObjectCats}}.

==Syntax==
{{T|Infobox object|...}}


Copy and paste the information below into an Object's page and then add the information after the "=" with the information of the object.
Copy and paste the information below into an Object's page and then add the information after the "=" with the information of the object.
Line 30: Line 35:
**Use for objects which have a limited number of uses, or can only be used for a limited amount of time.
**Use for objects which have a limited number of uses, or can only be used for a limited amount of time.
<includeonly>
<includeonly>
[[Category:Metainfobox templates|{{PAGENAME}}]][[Category:Object templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
[[Category:Metainfobox templates|Object]][[Category:Object templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 20:24, 19 August 2019

This template uses TemplateStyles

Description[edit source]

Infobox for objects. Uses {{GetObjectCats}}.

Syntax[edit source]

{{Infobox object|<...>}}

Copy and paste the information below into an Object's page and then add the information after the "=" with the information of the object.

{{Infobox object
|name       = 
|desc       = 
|image      = 
|game       = 
|buy        = 
|price      = 
|type1      = 
|type2      = 
|type3      = 
|type4      = 
|type5      = 
|size       = 
|uses       = 
}}
  • Types:
    • Use type or type1...type5
    • Skill, needs, money, toy, crafting, decorative, appliance, aspiration reward, career reward, electronics, food, vehicle, special, others, etc. A complete list is at {{GetObjectCats}}.
  • Buyability
    • Buy mode (for objects available in Buy mode), Build mode (for objects available in Build mode), Community lot (for objects bought on community lots)
    • Limited (rewards/unlockable)
    • No (NPC object/scenario objects)
  • Uses
    • Use for objects which have a limited number of uses, or can only be used for a limited amount of time.