Template:ItemTemplate: Difference between revisions

changed hunger to link to the satiation page
(added more cooking attributes)
(changed hunger to link to the satiation page)
Line 58: Line 58:
<!--food stuff-->
<!--food stuff-->
{{#if: {{{ismeat|}}}{{{isplant|}}}{{{isfungus|}}}|{{infobox row|Food Contains|{{#ifeq:{{{ismeat|}}}| yes | <p>Meat</p>}}{{#ifeq:{{{isplant|}}}| yes | <p>Plants</p>}}{{#ifeq:{{{isfungus|}}}| yes | <p>Fungi</p>}} }} }}
{{#if: {{{ismeat|}}}{{{isplant|}}}{{{isfungus|}}}|{{infobox row|Food Contains|{{#ifeq:{{{ismeat|}}}| yes | <p>Meat</p>}}{{#ifeq:{{{isplant|}}}| yes | <p>Plants</p>}}{{#ifeq:{{{isfungus|}}}| yes | <p>Fungi</p>}} }} }}
{{#if: {{{hunger|}}}  | {{infobox row|Hunger|{{{hunger}}} }} }}
{{#if: {{{hunger|}}}  | {{infobox row|[[Hunger#Satiation|Satiation]]|{{{hunger}}} }} }}
{{#if: {{{thirst|}}}  | {{infobox row|Thirst|{{{thirst}}} }} }}
{{#if: {{{thirst|}}}  | {{infobox row|[[Thirst]]|{{{thirst}}} }} }}
{{#if: {{{healing|}}} | {{infobox row|Healing|{{{healing}}} }} }}
{{#if: {{{healing|}}} | {{infobox row|Healing|{{{healing}}} }} }}
{{#if: {{{butcheredinto|}}}| {{infobox row|Butchered into|{{{butcheredinto}}} }} }}
{{#if: {{{butcheredinto|}}}| {{infobox row|Butchered into|{{{butcheredinto}}} }} }}