Template:Food: 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>A morris
(adding message if hunger etc. have no values)
sims>A morris
(moving documentation)
Line 56: Line 56:
#if: {{{type|}}} | {{#ifeq: {{{type|}}}| Fruit | [[Category:Fruits]]|{{ #ifeq: {{{type|}}}| Vegetable | [[Category:Vegetables]]|{{#ifeq: {{{type|}}}| Meat | [[Category:Meat foods]]|{{#ifeq: {{{type|}}}| Prepared | [[Category:Prepared foods]] }} }} }} }} }}
#if: {{{type|}}} | {{#ifeq: {{{type|}}}| Fruit | [[Category:Fruits]]|{{ #ifeq: {{{type|}}}| Vegetable | [[Category:Vegetables]]|{{#ifeq: {{{type|}}}| Meat | [[Category:Meat foods]]|{{#ifeq: {{{type|}}}| Prepared | [[Category:Prepared foods]] }} }} }} }} }}
<!--Not in Main: namespace--></includeonly><noinclude>
<!--Not in Main: namespace--></includeonly><noinclude>
{{documentation}}</noinclude>
<pre>{{Food
|image =
|caption =
|type =
|hunger =
|energy =
|comfort =
|hygiene =
|social =
|bladder =
}}</pre>{{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:00, 22 November 2010

Under construction
This template is still under construction or undergoing testing and should NOT be used in articles other than sandboxes and testing pages. If you wish to participate in the development of this template, contact the author or use the talk page.



Food
{{{image}}}
{{{caption}}}
Name Food
Type {{{type}}}

Hunger {{{hunger}}}
Energy {{{energy}}}
Comfort {{{comfort}}}
Hygiene {{{hygiene}}}
Social {{{social}}}
Bladder {{{bladder}}}
Template documentation (View · Edit · History · Purge)
Description
Infobox for food.
Syntax
{{Food|<...>}}
{{Food
|image   = 
|caption = 
|type    = 
|ingredient1 = 
|ingredient2 = 
|ingredient3 = 
|ingredient4 = 
|ingredient5 = 
|hunger  = 
|energy  = 
|comfort = 
|hygiene = 
|social  = 
|bladder = 
}}
  • Type: Fruit, Vegetable, Meat, or Prepared

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