Template:Object: Difference between revisions

adding categories for buy, type and game parameters
sims>A morris
(making parameters optional)
sims>A morris
(adding categories for buy, type and game parameters)
Line 7:
}}
{{#if: {{{game<includeonly>|</includeonly>}}} |
{{!}} style="text-align:left;" {{!}} '''Game(s)''':
{{!}} {{{game}}}
{{!}}-
Line 30:
{{!}} {{{size}}}
}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]]|<!-- Not[[Category:Objects in Main namespace -->{{{game}}}</includeonly><noinclude>]]
{{GetObjectCats|type|{{{type}}}}}{{GetObjectCats|buy|{{{buy}}}}}
 
|<!-- Not in Main namespace -->}}</includeonly><noinclude>
==Using this Template==
{{Documentation}}
Copy and Paste the information below into an Object's page and then add the information after the "=" with the information of the object.
 
<pre>{{object
|name =
|image =
|game =
|buy =
|price =
|type =
|size =
}}</pre>
 
*Types:
**Skills (for skills increasing objects)
**Needs (for needs increasing objects)
**Money (for money-making objects)
**Others
*Buyability
**Yes
**Limited (rewards/unlockable)
**No (NPC object/scenario objects)
 
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
Anonymous user