Template:Consumables: Difference between revisions
m (Okay... one small change at a time.) |
(Adding back in the fresh/rotten subsections.) |
||
Line 7: | Line 7: | ||
<div style="padding: 0em 1em;"> | <div style="padding: 0em 1em;"> | ||
<center> | <center> | ||
{{#ifexpr:{{{perishable|0}}}<>0|Fresh {{PAGENAME}}| }} | |||
[[Image:{{{image}}}|120px]] | [[Image:{{{image}}}|120px]] | ||
<small> | <small> |
Revision as of 02:47, 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, it will not be displayed. Possible properties to add include:
Weight [required]
Image [required]
Hunger
boredom
stress
happiness
Example usage in a page:
{{Consumables2 |name = Test |image = Template-info.png |hunger = -20 |weight = 0.2 }}