Template:Consumables: Difference between revisions

From PZwiki
m (Fixed some image mistakes caused by copypasta errors.)
(Moved the new sandbox code over.)
Line 6: Line 6:
<TABLE class="mw-collapsible wikitable" style="text-align: center; margin-left:auto; margin-right:auto; vertical-align:text-top;">
<TABLE class="mw-collapsible wikitable" style="text-align: center; margin-left:auto; margin-right:auto; vertical-align:text-top;">
   <TR>
   <TR>
     <TH colspan="4">Nutritional Information</TH>
    <TH></TH>
     <TH colspan="3">Nutritional Information</TH>
  </TR>
  <TR>
    <TH></TH>
    <TH>Cooked</TH>
    <TH>Stale</TH>
    <TH>Rotten</TH>
   </TR>
   </TR>
   <TR>
   <TR>
     <TH>Uncooked</TH>
     <TH>Uncooked</TH>
     <TD style="vertical-align:top">'''Fresh {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">'''{{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrotten unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrotten unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">'''Rotten {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{rotten image|}}}|[[Image:{{{rotten image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{rotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{rotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{rotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{rotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rotten unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{rotten image|}}}|[[Image:{{{rotten image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{rotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{rotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{rotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{rotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rotten unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
   </TR>
   </TR>
   <TR>
   <TR>
     <TH>Cooked</TH>
     <TH>Cooked</TH>
     <TD style="vertical-align:top">'''Fresh Cooked {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{cooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{cooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{cooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{cooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{cooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{cooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{cooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{cooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}}</small></TD>
     <TD style="vertical-align:top">'''Cooked {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrottencooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrottencooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrottencooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrottencooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrottencooked unhappiness|0}}}}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrottencooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrottencooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrottencooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrottencooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrottencooked unhappiness|0}}}}}</small></TD>
     <TD style="vertical-align:top">'''Rotten Cooked {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{rottencooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{rottencooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{rottencooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{rottencooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rottencooked unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{rottencooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{rottencooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{rottencooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{rottencooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rottencooked unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
   </TR>
   </TR>
   <TR>
   <TR>
     <TH>Burned</TH>
     <TH>Burned</TH>
     <TD style="vertical-align:top">'''Burned {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{burned thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{burned stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{burned unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{burned thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{burned stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{burned unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
   </TR>
   </TR>
</TABLE>|}}|}}<!--
</TABLE>|}}|}}<!--
Line 31: Line 38:
<TABLE class="mw-collapsible wikitable" style="text-align: center; margin-left:auto; margin-right:auto; vertical-align:text-top;">
<TABLE class="mw-collapsible wikitable" style="text-align: center; margin-left:auto; margin-right:auto; vertical-align:text-top;">
   <TR>
   <TR>
     <TH colspan="4">Nutritional Information</TH>
     <TH colspan="3">Nutritional Information</TH>
  </TR>
  <TR>
    <TH>Fresh</TH>
    <TH>Stale</TH>
    <TH>Rotten</TH>
   </TR>
   </TR>
   <TR>
   <TR>
     <TD style="vertical-align:top">'''Fresh {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">'''{{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrotten unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top"><BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrotten unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">'''Rotten {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{rotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{rotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{rotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{rotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rotten unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
     <TD style="vertical-align:top"><BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{rotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{rotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{rotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{rotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rotten unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
   </TR>
   </TR>
</TABLE>|}}|}}<!--
</TABLE>|}}|}}<!--
Line 45: Line 57:
<TABLE class="mw-collapsible wikitable" style="text-align: center; margin-left:auto; margin-right:auto; vertical-align:text-top;">
<TABLE class="mw-collapsible wikitable" style="text-align: center; margin-left:auto; margin-right:auto; vertical-align:text-top;">
   <TR>
   <TR>
     <TH colspan="4">Nutritional Information</TH>
     <TH colspan="3">Nutritional Information</TH>
  </TR>
  <TR>
  <TH>Uncooked</TH>
    <TD style="vertical-align:top">'''{{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrotten hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrotten thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrotten boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrotten stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrotten unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
   </TR>
   </TR>
   <TR>
   <TR>
    <TH>Uncooked</TH>
     <TH>Cooked</TH>
     <TH>Cooked</TH>
     <TD style="vertical-align:top">'''Cooked {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrottencooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrottencooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrottencooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrottencooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrottencooked unhappiness|0}}}}}</small></TD>
     <TH>Burned</TH>
   </TR>
   </TR>
   <TR>
   <TR>
     <TH>Burned</TH>
     <TD style="vertical-align:top">{{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}}{{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small></TD>
     <TD style="vertical-align:top">'''Burned {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{burned thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{burned stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{burned unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
     <TD style="vertical-align:top">{{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrottencooked hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{unrottencooked thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrottencooked boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{unrottencooked stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrottencooked unhappiness|0}}}}}</small></TD>
    <TD style="vertical-align:top">{{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}}<BR /><small>{{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}}{{ConditionChange|MoodletName=Thirst|MoodletChange={{{burned thirst|0}}}}}{{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}}{{ConditionChange|MoodletName=Stress|MoodletChange={{{burned stress|0}}}}}{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{burned unhappiness|0}}}}}{{ConditionChange|WillMakeSick=1}}</small></TD>
   </TR>
   </TR>
</TABLE>|}}|}}
</TABLE>|}}|}}

Revision as of 05:11, 10 December 2013

[view] [edit] [history] [purge] Template documentation
The {{Consumables}} (previously called {{Consumables2}}) template is used to add a table to a food item's page. If a property is not included or is 0, it will not be displayed.

Parameters

Table

  • position [left|center|right]

Images

  • image [required]
  • burned image
  • rotten image
  • cooked image

Properties

  • perishable [true|false] (use 1 for true, 0 for false)
  • cookable [true|false] (use 1 for true, 0 for false)

Uncooked

Fresh
  • weight
  • hunger
  • boredom
  • stress
  • unhappiness
Stale

(Unrotten meaning not fresh anymore but not yet rotten

  • unrotten hunger
  • unrotten boredom
  • unrotten stress
  • unrotten unhappiness
Rotten
  • rotten hunger
  • rotten boredom
  • rotten stress
  • rotten unhappiness

Cooked

Fresh
  • cooked weight
  • cooked hunger
  • cooked boredom
  • cooked stress
  • cooked unhappiness
Stale
  • unrottencooked weight
  • unrottencooked hunger
  • unrottencooked boredom
  • unrottencooked stress
  • unrottencooked unhappiness
Rotten
  • rottencooked weight
  • rottencooked hunger
  • rottencooked boredom
  • rottencooked stress
  • rottencooked unhappiness

Burned

Burned
  • burned hunger
  • burned boredom
  • burned unhappiness

Examples

Example 1

Code
{{Consumables
|image = Grapes.png
|hunger = -15
|unrotten hunger = -11
|unrotten boredom = +10
|unrotten unhappiness = +10
|unrotten image = Grapes.png
|rotten hunger = -6
|rotten boredom = +20
|rotten unhappiness = +20
|perishable = 1
|rotten image = GrapesRotten.png
}}
Result
Nutritional Information
Fresh Stale Rotten
Grapes.png
Hunger: -15

Grapes.png
Hunger: -11
Boredom: +10
Unhappiness: +10

Grapes.png
Hunger: -6
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.


Example 2

Code
{{Consumables
 |position = center
 |image = Chicken.png
 |rotten image = Chicken Rotten.png
 |cooked image = Chicken Cooked.png
 |burned image = Chicken Overdone.png
 |perishable = 1
 |cookable = 1
 |hunger = -35
 |dangerous uncooked = 1
 |boredom = 0
 |unhappiness = 0
 |unrotten hunger = -26
 |unrotten unhappiness = +10
 |unrotten boredom = +10
 |rotten hunger = -15
 |rotten unhappiness = +20
 |rotten boredom = +20
 |cooked hunger = -45
 |cooked unhappiness = 0
 |cooked boredom = 0
 |unrottencooked hunger = -26
 |unrottencooked unhappiness = +10
 |unrottencooked boredom = +10
 |rottencooked hunger = -15
 |rottencooked unhappiness = +20
 |rottencooked boredom = +20
 |burned hunger = -11
 |burned boredom = +20
 |burned unhappiness = +20
}}
Result
Nutritional Information
Cooked Stale Rotten
Uncooked Chicken.png
Hunger: -35
Dangerous uncooked, may cause sickness.
Chicken.png
Hunger: -26
Boredom: +10
Unhappiness: +10
Dangerous uncooked, may cause sickness.
Chicken Rotten.png
Hunger: -15
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.
Cooked Chicken Cooked.png
Hunger: -45
Chicken Cooked.png
Hunger: -26
Boredom: +10
Unhappiness: +10
Chicken Cooked.png
Hunger: -15
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.
Burned Chicken Overdone.png
Hunger: -11
Boredom: +20
Unhappiness: +20
Dangerous, will cause sickness.
Documentation transcluded from Template:Consumables/doc.
Editors can experiment in this template's sandbox (create)