Template:Stat Effects: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
{|  
{|  
|-  
|-  
| rowspan="3" style="padding-right: 0.5em;" | [[File:StatBars.png|200px|frameless|Stat Bars]] ||style="text-align: center;" | {{{health|±0}}}
| rowspan="3" style="padding-right: 0.5em;" | [[File:StatBars.png|230px|frameless|link=|Stat Bars]] ||style="text-align: center;" | {{{health|±0}}}
|-  
|-  
| style="text-align: center;" | {{{stamina|±0}}}
| style="text-align: center;" | {{{stamina|±0}}}
Line 10: Line 10:
'''Vigor'''
'''Vigor'''
<p style="margin-left: 1.6em;">{{{vigor|±0}}}</p><!--
<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>
-->{{#if:{{{effects|}}}|<!--TRUE--><h4>Other Effects</h4><p style=margin-left: 1.6em;">{{{effects}}}</p>}}{{#ifeq:{{{nocat|}}}|true|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Consumables]]</includeonly>}}<noinclude>


==Usage==
==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.
The Stat Effects 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
<pre>{{Stat_Effects
|health=<Hit points>
|health=<Hit points>

Latest revision as of 12:39, 12 September 2018

Stat Effects

Stat Bars ±0
±0
±0

Vigor

±0

Usage

The Stat Effects 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.