Template:Traits/doc

From Elwiki
Information: This template is using a Scribunto Module: Module:Traits.

A template used to generate a tabular information section about a skill's traits.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Character Name1

Used to apply a color to table headers.

Example
Laby
Stringrequired
Skill Name2

no description

Example
Suplen
Stringrequired
Traits3

Both trait names separated with a comma. White-space is stripped.

Default
-, -
Example
Light, Regenerating (1)
Stringsuggested
Trait 1 Values4 effects1

First trait's values included in the SkillText template.

Default
Trait's default values
Example
80, 150
Stringoptional
Trait 2 Values5 effects2

Second trait's values included in the SkillText template.

Default
Trait's default values
Example
130
Stringoptional
Trait 1 Description6 desc1

First trait's additional attribute information, such as Cooldown or MP Usage when the trait is selected. Split headers fields between values with a semicolon, and fields with a comma. Header fields can be skipped & auto-filled for certain traits: Light, Critical, Heavy, Haste, Regenerating (1) & (2), Reversed, Killing Blow (1). If header fields skipped, mathematic formulas will be calculated immediately, and proper suffixes (MP and Seconds) will be added. If multiplication sign not detected, the template will try to calculate the effect based on what it has.

Example
MP Usage, Duration; 200 MP; 25 Seconds
Stringoptional
Trait 2 Description7 desc2

Second trait's additional attribute information, such as Cooldown or MP Usage when the trait is selected. Split headers fields between values with a semicolon, and fields with a comma. Header fields can be skipped & auto-filled for certain traits: Light, Critical, Heavy, Haste, Regenerating (1) & (2), Reversed, Killing Blow (1). If header fields skipped, mathematic formulas will be calculated immediately, and proper suffixes (MP and Seconds) will be added. If multiplication sign not detected, the template will try to calculate the effect based on what it has.

Example
Duration, Attack Increase; 10 Seconds, 15%
Stringoptional