Template:Consumables: Difference between revisions

From PZwiki
(changed the semantics to *un*happiness to match the game's way of putting it.)
m (Corrected a missed instance of 'happiness' in the explanation text.)
Line 48: Line 48:
Image [required]
Image [required]


Weight, Hunger, boredom, stress, happiness
Weight, Hunger, boredom, stress, unhappiness


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


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



Revision as of 04:00, 4 December 2013

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)

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 }}