Template:Stat Effects/0.5: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Updated indentation and usage)
mNo edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h2>Consumable</h2>
===Stat Effects===
;Amount of Health Given
{| style="border: 1px solid rgb(183,143,81); background: rgba(80,60,30,0.4);"
<p style="margin-left: 1.6em;">{{{health|None}}}</p>
|-
;Amount of Stamina Given
| style="padding-left: 0.5em; padding-right: 0.5em;" | Health || style="background: rgba(255,80,80,0.6); padding-right: 8em;"|  ||style="padding-left: 1em; padding-right: 1em; text-align: center;" | {{{health|None}}}
<p style="margin-left: 1.6em;">{{{stamina|None}}}</p>
|-
;Amount of Food Given
| style="padding-left: 0.5em; padding-right: 0.5em;" | Stamina || style="background: rgba(255,255,255,0.8);" | || style="padding-left: 1em; padding-right: 1em; text-align: center;" | {{{stamina|None}}}
<p style="margin-left: 1.6em;">{{{food|None}}}</p>
|-
;Research Required to Create
| 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}}}
<p style="margin-left: 1.6em;">{{{researchrequired|None}}}</p>
|}<noinclude>
;Resources Required to Create
<p style="margin-left: 1.6em;">{{{resourcesrequired|None}}}</p><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 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>{{Consumable_Food
<pre>{{Stat_Effects
|health=<Hit points>
|health=<Hit points>
|stamina=<Stamina Points>
|stamina=<Stamina Points>
|food=<Food points>
|food=<Food points>
|researchrequired=<Links to schematics>
}}</pre>
|resourcesrequired=<Links to resources>}}</pre>
*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.
 
{{:Template Ordering}}
[[Category:Templates]]</noinclude>
[[Category:Templates/0.5]]</noinclude>

Latest revision as of 19:12, 19 July 2022

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.

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