Template:Stat Effects: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Draft}}
===Stat Effects===
[[Category:Templates]]
{|
|-
| rowspan="3" style="padding-right: 0.5em;" | [[File:StatBars.png|200px|frameless|Stat Bars]] ||style="text-align: center;" | {{{health|±0}}}
|-
| style="text-align: center;" | {{{stamina|±0}}}
|-
| style="text-align: center;" | {{{food|±0}}}
|}
'''Vigor'''
<p style="margin-left: 1.6em;">{{{vigor|±0}}}</p><!--
-->{{#if:{{{effects|}}}|<!--TRUE--><br/>'''Effects'''<br/><p style=margin-left: 1.6em;">{{{effects}}}</p>}}<includeonly>[[Category:Consumables]]</includeonly><noinclude>
 
==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.
<pre>{{Stat_Effects
|health=<Hit points>
|stamina=<Stamina Points>
|food=<Food points>
|vigor=<Vigor points>
|effects=<List of effects>
}}</pre>
*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]].
{{:Template Ordering}}
[[Category:Templates]]</noinclude>

Revision as of 10:15, 11 April 2018

Stat Effects

Stat Bars ±0
±0
±0

Vigor

±0

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>
|vigor=<Vigor points>
|effects=<List of effects>
}}
  • 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.

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.