Template:Consumables

From PZwiki
Revision as of 06:11, 4 December 2013 by ZombieLawnGnome (talk | contribs)
Consumables


[[Image:{{{image}}}|120px]] Weight: unknown




Usage Example: Use this template to add an infobox to a consumable item's page. If a property is not included or is 0, it will not be displayed. Possible properties to add include:

Image [required]

Weight, Hunger, boredom, stress, unhappiness

perishable [true|false] (use 1 for true, 0 for false)

cookable [true|false] (use 1 for true, 0 for false)

unrotten hunger, unrotten boredom, unrotten stress, unrotten unhappiness (Unrotten meaning not fresh anymore but not yet rotten)

rotten hunger, rotten boredom, rotten stress, rotten unhappiness

code

Example usage in a page:

{{Consumables2 |name = Grapes |image = Item_Grapes.png |hunger = 0 |weight = 0.0 |perishable = 1 |rotten image = Item_GrapesRotten.png |rotten hunger = 0 }}