Template:Stat Effects/0.5: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
|-  
|-  
| style="padding-left: 0.5em; padding-right: 0.5em;" | Food || style="background: rgba(80,255,80,0.6);" | || style="padding-left: 1em; padding-right: 1em; text-align: center;" | {{{food|None}}}
| style="padding-left: 0.5em; padding-right: 0.5em;" | Food || style="background: rgba(80,255,80,0.6);" | || style="padding-left: 1em; padding-right: 1em; text-align: center;" | {{{food|None}}}
|}<includeonly>[[Category:Consumable]]</includeonly><noinclude>
|}<includeonly>[[Category:Consumables]]</includeonly><noinclude>


==Usage==
==Usage==
Line 18: Line 18:
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*Any of the attributes can be left out entirely and they will use their default value.
*Any of the attributes can be left out entirely and they will use their default value.
*Adds [[:Category:Consumable]].
*Adds [[:Category:Consumables]].
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 14:30, 27 January 2018

Stat Effects

Health None
Stamina None
Food None

Usage

The Consumable Food template is meant to be used for any inventory item that can be consumed and will provide a stat modification. This includes all foods as well as bandages.

{{Stat_Effects
|health=<Hit points>
|stamina=<Stamina Points>
|food=<Food points>
}}
  • The code above can be pasted into your page and edited.
  • Any of the attributes can be left out entirely and they will use their default value.
  • Adds Category:Consumables.