Template:Consumables: Difference between revisions

From PZwiki
mNo edit summary
(style changes; no longer uses Template:Infobox nc for colours)
Line 6: Line 6:


-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0|
-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}<>0|
{{{!}} style="background:#F9F9F9; text-align:center; vertical-align:text-top; {{#switch: {{{position|}}}|center=margin-left:auto; margin-right:auto;|right=margin-left:auto;|left=margin-right:auto;|}} border: 1px solid #{{Infobox nc|Food}};" cellpadding=5
{{{!}} class="pztable" 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;|}} border: 1px solid #{{Infobox nc|Food}};" cellpadding=5
{{!}}-  
{{!}}-  
! width=32px {{!}}
! width=32px {{!}}
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}};" {{!}} Fresh
! width=268px {{!}} Fresh
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}};" {{!}} Stale
! width=268px {{!}} Stale
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}};" {{!}} Rotten
! width=268px {{!}} Rotten
{{!}}-  
{{!}}-  
! style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} <div style="transform:rotate(270deg);">Uncooked</div>
! <div style="transform:rotate(270deg);">Uncooked</div>
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} <small>
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 27: Line 27:
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}}}</small>
{{!}}}</small>
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 40: Line 40:
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}}}</small>
{{!}}}</small>
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 54: Line 54:
{{!}}}</small>
{{!}}}</small>
{{!}}-  
{{!}}-  
! style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}};" {{!}} <div style="transform:rotate(270deg);">Cooked</div>
! <div style="transform:rotate(270deg);">Cooked</div>
{{!}} style="vertical-align:top; background-color:#EEEEEE;" {{!}} <small>
{{!}} <small>
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 66: Line 66:
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}}</small>
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}}</small>
{{!}}}
{{!}}}
{{!}} style="vertical-align:top; background-color:#EEEEEE;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 77: Line 77:
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrottencooked unhappiness|0}}}}}
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{unrottencooked unhappiness|0}}}}}
{{!}}}</small>
{{!}}}</small>
{{!}} style="vertical-align:top; background-color:#EEEEEE;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 91: Line 91:
{{!}}}</small>
{{!}}}</small>
{{!}}-
{{!}}-
! style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} <div style="transform:rotate(270deg);">Burned</div>
! <div style="transform:rotate(270deg);">Burned</div>
{{!}} style="vertical-align:top; background-color:#F9F9F9;" colspan=3 {{!}} <small>{{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}}<br>
{{!}} style="vertical-align:top;" colspan=3 {{!}} <small>{{#if:{{{burned image|}}}|[[Image:{{{burned image}}}]]}}<br>
{{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}}
{{ConditionChange|MoodletName=Hunger|MoodletChange={{{burned hunger|0}}}}}
{{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}}
{{ConditionChange|MoodletName=Boredom|MoodletChange={{{burned boredom|0}}}}}
Line 105: Line 105:


-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}=0|
-->{{#ifexpr:{{{perishable|0}}}<>0| {{#ifexpr:{{{cookable|0}}}=0|
{{{!}} style="background:#F9F9F9; text-align: center; vertical-align:text-top; {{#switch: {{{position|}}}|center=margin-left:auto; margin-right:auto;|right=margin-left:auto;|left=margin-right:auto;|}} border: 1px solid #{{Infobox nc|Food}};" cellpadding=5
{{{!}} class="pztable" 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;|}}" cellpadding=5
! width=202px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Fresh
! width=202px {{!}} Fresh
! width=202px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Stale
! width=202px {{!}} Stale
! width=202px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Rotten
! width=202px {{!}} Rotten
{{!}}-
{{!}}-
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>  
{{!}} style="vertical-align:top;" {{!}} <small>  
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 123: Line 123:
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small>
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}</small>
{{!}}}
{{!}}}
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%
{{{!}} width=100%
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 136: Line 136:
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}}}</small>
{{!}}}</small>
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%  
{{{!}} width=100%  
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 156: Line 156:


-->{{#ifexpr:{{{cookable|0}}}<>0| {{#ifexpr:{{{perishable|0}}}=0|
-->{{#ifexpr:{{{cookable|0}}}<>0| {{#ifexpr:{{{perishable|0}}}=0|
{{{!}} style="background:#F9F9F9; text-align: center; vertical-align:text-top; {{#switch: {{{position|}}}|center=margin-left:auto; margin-right:auto;|right=margin-left:auto;|left=margin-right:auto;|}} border: 1px solid #{{Infobox nc|Food}};" cellpadding=5
{{{!}} class="pztable" 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;|}}" cellpadding=5
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Uncooked
! width=268px {{!}} Uncooked
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Cooked
! width=268px {{!}} Cooked
! width=268px style="background-color:#{{Infobox nc|Food}}; color:#{{Infobox nc|Food|text}}" {{!}} Burned
! width=268px {{!}} Burned
{{!}}-
{{!}}-
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%  
{{{!}} width=100%  
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 174: Line 174:
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}} {{ConditionChange|DangerousUncooked={{{dangerous uncooked|0}}}}}
{{!}}}</small>
{{!}}}</small>
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%  
{{{!}} width=100%  
{{!}}- style="height:38px"
{{!}}- style="height:38px"
Line 185: Line 185:
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}}
{{!}} {{ConditionChange|MoodletName=Unhappiness|MoodletChange={{{cooked unhappiness|0}}}}}
{{!}}}</small>
{{!}}}</small>
{{!}} style="vertical-align:top; background-color:#F9F9F9;" {{!}} <small>
{{!}} style="vertical-align:top;" {{!}} <small>
{{{!}} width=100%  
{{{!}} width=100%  
{{!}}- style="height:38px"
{{!}}- style="height:38px"

Revision as of 13:54, 4 May 2019

[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)