Template:Stat Effects: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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--><h4>Other Effects<h4><br/><p style=margin-left: 1.6em;">{{{effects}}}</p>}}{{#ifeq:{{{nocat|}}}|true|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Consumables]]</includeonly>}}<noinclude>
-->{{#if:{{{effects|}}}|<!--TRUE--><h4>Other Effects</h4><br/><p style=margin-left: 1.6em;">{{{effects}}}</p>}}{{#ifeq:{{{nocat|}}}|true|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Consumables]]</includeonly>}}<noinclude>


==Usage==
==Usage==

Revision as of 21:50, 5 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.