Template:Consumables: Difference between revisions
mNo edit summary |
(Converted markup to wikitext. Design colours uses "Food" from Template:Infobox nc. Other minor layout changes) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
########################### | |||
## PERISHABLE & COOKABLE ## | |||
########################### | |||
-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0| | -->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0| | ||
{{{!}} class="mw-collapsible" data-expandtext="Show Table" data-collapsetext="Hide Table" style="text-align: center; vertical-align:text-top; {{#switch: {{{position|}}}|center=margin-left:auto; margin-right:auto;|right=margin-left:auto;|left=margin-right:auto;|}} " cellspacing=0 cellpadding=5 | |||
{{!}}- | |||
! width=80px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} | |||
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Fresh | |||
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Stale | |||
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Rotten | |||
{{!}} style="color:rgba(0, 0, 0, 0); font-size:70%;" {{!}} | |||
{{!}}- | |||
! style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Uncooked | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{image|}}}|[[Image:{{{image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}} | |||
{{!}}}</small> | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{image|}}}|[[Image:{{{image}}}]]}}<br> | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrotten hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrotten boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrotten unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}} | |||
{{!}}}</small> | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-right: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{rotten image|}}}|[[Image:{{{rotten image}}}]]}}<br> | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{rotten hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{rotten boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rotten unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|WillMakeSick=1}} | |||
{{!}}}</small> | |||
{{!}}- | |||
! style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Cooked | |||
{{!}} style="vertical-align:top; background-color:#EEEEEE;" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{cooked hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{cooked boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}}</small> | |||
{{!}}} | |||
{{!}} style="vertical-align:top; background-color:#EEEEEE;" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrottencooked hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrottencooked boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrottencooked unhappiness|0}}}}} | |||
{{!}}}</small> | |||
{{!}} style="vertical-align:top; background-color:#EEEEEE; border-right: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{rottencooked hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{rottencooked boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rottencooked unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|WillMakeSick=1}} | |||
{{!}}}</small> | |||
{{!}}- | |||
! style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Burned | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-right: 1px solid #{{Infobox nc|Food}}; border-bottom: 1px solid #{{Infobox nc|Food}};" colspan=3 {{!}} <small>{{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}}<br> | |||
{{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}} | |||
{{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}} | |||
{{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{burned unhappiness|0}}}}} | |||
{{ConditionChange|WillMakeSick=1}}</small> | |||
{{!}}- | |||
{{!}}}|}}|}}<!-- | |||
##################### | |||
## PERISHABLE ONLY ## | |||
##################### | |||
-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}=0| | -->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}=0| | ||
{{{!}} class="mw-collapsible" data-expandtext="Show Table" data-collapsetext="Hide Table" style="text-align: center; vertical-align:text-top; {{#switch: {{{position|}}}|center=margin-left:auto; margin-right:auto;|right=margin-left:auto;|left=margin-right:auto;|}} " cellspacing=0 cellpadding=5 | |||
! width=202px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Fresh | |||
! width=202px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Stale | |||
! width=202px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Rotten | |||
{{!}} style="color:rgba(0, 0, 0, 0); font-size:70%;" {{!}} | |||
{{!}}- | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-left: 1px solid #{{Infobox nc|Food}}; border-bottom: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{image|}}}|[[Image:{{{image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small> | |||
{{!}}} | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-bottom: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{image|}}}|[[Image:{{{image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{unrotten hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{unrotten boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrotten unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}} | |||
{{!}}}</small> | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-right: 1px solid #{{Infobox nc|Food}}; border-bottom: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{rotten image|}}}|[[Image:{{{rotten image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{rotten hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{rotten boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{rotten unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|WillMakeSick=1}} | |||
{{!}}}</small> | |||
{{!}}}|}}|}}<!-- | |||
################### | |||
## COOKABLE ONLY ## | |||
################### | |||
-->{{#ifexpr:{{{cookable|0}}}<>0| {{#ifexpr:{{{perishable|0}}}=0| | -->{{#ifexpr:{{{cookable|0}}}<>0| {{#ifexpr:{{{perishable|0}}}=0| | ||
{{{!}} class="mw-collapsible" data-expandtext="Show Table" data-collapsetext="Hide Table" style="text-align: center; vertical-align:text-top; {{#switch: {{{position|}}}|center=margin-left:auto; margin-right:auto;|right=margin-left:auto;|left=margin-right:auto;|}} " cellspacing=0 cellpadding=5 | |||
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Uncooked | |||
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Cooked | |||
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Burned | |||
{{!}} style="color:rgba(0, 0, 0, 0); font-size:70%;" {{!}} | |||
{{!}}- | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-left: 1px solid #{{Infobox nc|Food}}; border-bottom: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{image|}}}|[[Image:{{{image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}} | |||
{{!}}}</small> | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-bottom: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{cooked image|}}}|[[Image:{{{cooked image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{cooked hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{cooked boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}} | |||
{{!}}}</small> | |||
{{!}} style="vertical-align:top; background-color:#F9F9F9; border-right: 1px solid #{{Infobox nc|Food}}; border-bottom: 1px solid #{{Infobox nc|Food}};" {{!}} <small> | |||
{{{!}} width=100% | |||
{{!}}- style="height:38px" | |||
{{!}} {{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{burned unhappiness|0}}}}} | |||
{{!}}- style="height:24px" | |||
{{!}} {{ConditionChange|WillMakeSick=1}} | |||
{{!}}}</small> | |||
{{!}}}|}}|}}</includeonly><noinclude>{{documentation}}[[category:infobox]]</noinclude> |
Revision as of 09:42, 17 August 2018
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)
Editors can experiment in this template's sandbox (create)