Template:ItemTemplate: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(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}}} }} }}

Revision as of 01:46, 22 July 2019

This template defines the table "Items". This table has not been created yet. Template:ItemTemplate/doc