Template:Timed Effect: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<h2>Effect Specification{{#if{{{name|}}}|:: }}{{{name|}}}</h2> ;Stat <p style="margin-left: 1.6em;">{{{stat|<Information Missing>}}}{{#if:{{{stat|}}}|<!--true-->|<includeonly>Category:Missing_information</includeonly>}}</p> ;Amount <p style="margin-left: 1.6em;">{{{regen|<Information Missing>}}}  per second{{#if:{{{regen|}}}|<!--true-->|<includeonly>Category:Missing_information</includeonly>}}</p> ;Duration <p style="margin-left: 1.6em;">{{{duration|<Informa...")
 
mNo edit summary
Line 1: Line 1:
<h2>Effect Specification{{#if{{{name|}}}|:: }}{{{name|}}}</h2>
<h2>Effect Specification{{#if:{{{name|}}}|: <h2>Effect Specification</h2>}}</h2>
;Stat
;Stat
<p style="margin-left: 1.6em;">{{{stat|<Information Missing>}}}{{#if:{{{stat|}}}|<!--true-->|<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{stat|<Information Missing>}}}{{#if:{{{stat|}}}|<!--true-->|<includeonly>[[Category:Missing_information]]</includeonly>}}</p>

Revision as of 19:36, 19 July 2022

Effect Specification

Stat

<Information Missing>

Amount

<Information Missing>  per second

Duration

<Information Missing> second(s)

Usage

The Effect Specification template is meant to be used with any item that can add a timed stat effect to the character. Usually these are from consumable items or combat.

{{Effect_Specification
|name=<Name>
|stat=<StatName>
|regen=<RegenPerSecond>
|duration=<DurationInSeconds>
|category=<CategoryName>?
}}
  • The code above can be pasted into your page and edited.
  • Most attributes are required and will display <Information Missing> if not provided. Items marked with a "?" are optional.
  • Category:Missing_information is added conditionally.

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