Template:Consumables: Difference between revisions

From PZwiki
(Fixed a display error where consumption warning wasn't showing unless unhappiness was defined.)
(Cloned the code from the now-working sandbox branch.)
Line 1: Line 1:
<includeonly>
<includeonly><!--
<!-- Table to use if the item is both perishable and cooked-->
 
{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0|
--- Table to use if the item is both perishable and cookable ---
 
-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0|
<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>
Line 8: Line 10:
   <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>{{#ifexpr:{{{hunger|0}}}<>0|'''Hunger:''' {{{hunger}}}<BR />|}}{{#ifexpr:{{{thirst|0}}}<>0|'''Thirst:''' {{{thirst}}}<BR />|}}{{#ifexpr:{{{boredom|0}}}<>0|'''Boredom Change:''' {{{boredom}}}<BR />|}}{{#ifexpr:{{{stress|0}}}<>0|'''Stress Change:''' {{{stress}}}<BR />|}}{{#ifexpr:{{{unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{unhappiness}}}|}}</small></TD>
     <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">'''{{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{image|}}} | [[Image:{{{image}}}]] | (No Image)}}<BR /><SMALL>{{#ifexpr:{{{unrotten hunger|0}}}<>0|'''Hunger:''' {{{unrotten hunger}}}<BR />|}}{{#ifexpr:{{{unrotten thirst|0}}}<>0|'''Thirst:''' {{{unrotten thirst}}}<BR />|}}{{#ifexpr:{{{unrotten boredom|0}}}<>0|'''Boredom Change:''' {{{unrotten boredom}}}<BR />|}}{{#ifexpr:{{{unrotten stress|0}}}<>0|'''Stress Change:''' {{{unrotten stress}}}<BR />|}}{{#ifexpr:{{{unrotten unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{unrotten unhappiness}}}<BR />|}}</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">'''Rotten {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{rotten image|}}} | [[Image:{{{rotten image}}}]] | (No Image)}}<BR /><small>{{#ifexpr:{{{rotten hunger|0}}}<>0|'''Hunger:''' {{{rotten hunger}}}<BR />|}}{{#ifexpr:{{{rotten thirst|0}}}<>0|'''Thirst:''' {{{rotten thirst}}}<BR />|}}{{#ifexpr:{{{rotten boredom|0}}}<>0|'''Boredom Change:''' {{{rotten boredom}}}<BR />|}}{{#ifexpr:{{{rotten stress|0}}}<>0|'''Stress Change:''' {{{rotten stress}}}<BR />|}}{{#ifexpr:{{{rotten unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{rotten unhappiness}}}<BR />}}<font style="color:red">Consuming this may make you [[Moodles#Sick|sick]].</font></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>
   </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}}}]] | (No Image)}}<BR /><small>{{#ifexpr:{{{cooked hunger|0}}}<>0|'''Hunger:''' {{{cooked hunger}}}<BR />|}}{{#ifexpr:{{{cooked thirst|0}}}<>0|'''Thirst:''' {{{cooked thirst}}}<BR />|}}{{#ifexpr:{{{cooked boredom|0}}}<>0|'''Boredom Change:''' {{{cooked boredom}}}<BR />|}}{{#ifexpr:{{{cooked stress|0}}}<>0|'''Stress Change:''' {{{cooked stress}}}<BR />|}}{{#ifexpr:{{{cooked unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{cooked unhappiness}}}<BR />}}</small></TD>
     <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">'''Cooked {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{cooked image|}}} | [[Image:{{{cooked image}}}]] | (No Image)}}<BR /><SMALL>{{#ifexpr:{{{unrottencooked hunger|0}}}<>0|'''Hunger:''' {{{unrottencooked hunger}}}<BR />}}{{#ifexpr:{{{unrottencooked thirst|0}}}<>0|'''Thirst:''' {{{unrottencooked thirst}}}<BR />|}}{{#ifexpr:{{{unrottencooked boredom|0}}}<>0|'''Boredom Change:''' {{{unrottencooked boredom}}}<BR />}}{{#ifexpr:{{{unrottencooked stress|0}}}<>0|'''Stress Change:''' {{{unrottencooked stress}}}<BR />|}}{{#ifexpr:{{{unrottencooked unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{unrottencooked unhappiness}}}<BR />}}</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">'''Rotten Cooked {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{cooked image|}}} | [[Image:{{{cooked image}}}]] | (No Image)}}<BR /><small>{{#ifexpr:{{{rottencooked hunger|0}}}<>0|'''Hunger:''' {{{rottencooked hunger}}}<BR />|}}{{#ifexpr:{{{rottencooked thirst|0}}}<>0|'''Thirst:''' {{{rottencooked thirst}}}<BR />|}}{{#ifexpr:{{{rottencooked boredom|0}}}<>0|'''Boredom Change:''' {{{rottencooked boredom}}}<BR />|}}{{#ifexpr:{{{rottencooked stress|0}}}<>0|'''Stress Change:''' {{{rottencooked stress}}}<BR />|}}{{#ifexpr:{{{rottencooked unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{rottencooked unhappiness}}}<BR />|}}<font style="color:red">Consuming this may make you [[Moodles#Sick|sick]].</font></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>
   </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}}}]] | (No Image)}}<BR /><small>{{#ifexpr:{{{burned hunger|0}}}<>0|'''Hunger:''' {{{burned hunger}}}<BR />|}}{{#ifexpr:{{{burned thirst|0}}}<>0|'''Thirst:''' {{{burned thirst}}}<BR />|}}{{#ifexpr:{{{burned boredom|0}}}<>0|'''Boredom Change:''' {{{burned boredom}}}<BR />|}}{{#ifexpr:{{{burned stress|0}}}<>0|'''Stress Change:''' {{{burned stress}}}<BR />|}}{{#ifexpr:{{{burned unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{burned unhappiness}}}<BR />}}<font style="color:red">Consuming this may make you [[Moodles#Sick|sick]].</font></small></TD>
     <TD style="vertical-align:top">'''Burned {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{cooked image|}}}|[[Image:{{{cooked 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>|}}|}}<!--
| }} |}}
 
<!-- Table to use if the item is only perishable-->
--- Table to use if the item is only perishable ---
{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}=0|
 
-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}=0|
<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>
Line 31: Line 34:
   </TR>
   </TR>
   <TR>
   <TR>
     <TD style="vertical-align:top">'''Fresh {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{image|}}} | [[Image:{{{image}}}]] }} <BR /><small>{{#ifexpr:{{{hunger|0}}}<>0|'''Hunger:''' {{{hunger}}}<BR />|}}{{#ifexpr:{{{thirst|0}}}<>0|'''Thirst:''' {{{thirst}}}<BR />|}}{{#ifexpr:{{{boredom|0}}}<>0|'''Boredom Change:''' {{{boredom}}}<BR />|}}{{#ifexpr:{{{stress|0}}}<>0|'''Stress Change:''' {{{stress}}}<BR />|}}{{#ifexpr:{{{unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{unhappiness}}}|}}</small></TD>
     <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">'''{{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{image|}}} | [[Image:{{{image}}}]] | (No Image)}}<BR /><SMALL>{{#ifexpr:{{{unrotten hunger|0}}}<>0|'''Hunger:''' {{{unrotten hunger}}}<BR />|}}{{#ifexpr:{{{unrotten thirst|0}}}<>0|'''Thirst:''' {{{unrotten thirst}}}<BR />|}}{{#ifexpr:{{{unrotten boredom|0}}}<>0|'''Boredom Change:''' {{{unrotten boredom}}}<BR />|}}{{#ifexpr:{{{unrotten stress|0}}}<>0|'''Stress Change:''' {{{unrotten stress}}}<BR />|}}{{#ifexpr:{{{unrotten unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{unrotten unhappiness}}}<BR />|}}</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">'''Rotten {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{rotten image|}}} | [[Image:{{{rotten image}}}]] | (No Image)}}<BR /><small>{{#ifexpr:{{{rotten hunger|0}}}<>0|'''Hunger:''' {{{rotten hunger}}}<BR />|}}{{#ifexpr:{{{rotten thirst|0}}}<>0|'''Thirst:''' {{{rotten thirst}}}<BR />|}}{{#ifexpr:{{{rotten boredom|0}}}<>0|'''Boredom Change:''' {{{rotten boredom}}}<BR />|}}{{#ifexpr:{{{rotten stress|0}}}<>0|'''Stress Change:''' {{{rotten stress}}}<BR />|}}{{#ifexpr:{{{rotten unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{rotten unhappiness}}}<BR />}}<font style="color:red">Consuming this may make you [[Moodles#Sick|sick]].</font></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>
   </TR>
   </TR>
</TABLE>
</TABLE>|}}|}}<!--
| }} | }}
 
<!-- Table to use if the item only cookable-->
--- Table to use if the item only cookable
{{#ifexpr:{{{cookable|0}}}<>0| {{#ifexpr:{{{perishable|0}}}=0|
 
-->{{#ifexpr:{{{cookable|0}}}<>0| {{#ifexpr:{{{perishable|0}}}=0|
<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>
Line 44: Line 48:
   </TR>
   </TR>
   <TR>
   <TR>
    <TH>Uncooked</TH>
  <TH>Uncooked</TH>
     <TD style="vertical-align:top">'''{{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}} }}'''<BR />{{#if: {{{image|}}} | [[Image:{{{image}}}]] }} <BR /><small>{{#ifexpr:{{{hunger|0}}}<>0|'''Hunger:''' {{{hunger}}}<BR />|}}{{#ifexpr:{{{thirst|0}}}<>0|'''Thirst:''' {{{thirst}}}<BR />|}}{{#ifexpr:{{{boredom|0}}}<>0|'''Boredom Change:''' {{{boredom}}}<BR />|}}{{#ifexpr:{{{stress|0}}}<>0|'''Stress Change:''' {{{stress}}}<BR />|}}{{#ifexpr:{{{unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{unhappiness}}}|}}</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>
   </TR>
   </TR>
   <TR>
   <TR>
     <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}}}]] | (No Image)}}<BR /><small>{{#ifexpr:{{{cooked hunger|0}}}<>0|'''Hunger:''' {{{cooked hunger}}}<BR />|}}{{#ifexpr:{{{cooked thirst|0}}}<>0|'''Thirst:''' {{{cooked thirst}}}<BR />|}}{{#ifexpr:{{{cooked boredom|0}}}<>0|'''Boredom Change:''' {{{cooked boredom}}}<BR />|}}{{#ifexpr:{{{cooked stress|0}}}<>0|'''Stress Change:''' {{{cooked stress}}}<BR />|}}{{#ifexpr:{{{cooked unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{cooked unhappiness}}}<BR />}}</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>
   </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}}}]] | (No Image)}}<BR /><small>{{#ifexpr:{{{burned hunger|0}}}<>0|'''Hunger:''' {{{burned hunger}}}<BR />|}}{{#ifexpr:{{{burned thirst|0}}}<>0|'''Thirst:''' {{{burned thirst}}}<BR />|}}{{#ifexpr:{{{burned boredom|0}}}<>0|'''Boredom Change:''' {{{burned boredom}}}<BR />|}}{{#ifexpr:{{{burned stress|0}}}<>0|'''Stress Change:''' {{{burned stress}}}<BR />|}}{{#ifexpr:{{{burned unhappiness|0}}}<>0|'''Unhappiness Change:''' {{{burned unhappiness}}}<BR />}}<font style="color:red">Consuming this may make you [[Moodles#Sick|sick]].</font></small></TD>
     <TD style="vertical-align:top">'''Burned {{#ifeq:{{{name|x}}}|x|{{PAGENAME}}|{{{name}}}}}'''<BR />{{#if:{{{cooked image|}}}|[[Image:{{{cooked 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>|}}|}}
| }} | }}
</includeonly><noinclude>
</includeonly>
 
<noinclude>
{{documentation}}
{{documentation}}
[[category:templates]]
[[category:templates]]
</noinclude>
</noinclude>

Revision as of 05:49, 10 December 2013

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Consumables/doc.
Editors can experiment in this template's sandbox (create)