Template:Traits/doc

From Elwiki
Revision as of 17:58, 14 January 2023 by Ritsu (talk | contribs)
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 char

Used to apply a color to table headers.

Example
Laby
Stringrequired
Skill Name2 skill

no description

Example
Suplen
Stringrequired
Traits3 traits

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

Default
-, -
Example
Light, Regenerating (1)
Stringsuggested
MP Usagemp

The template returns an error if you specify the multiplier argument (such as mp1) while this field is empty.

Numbersuggested
Cooldowncd

The template returns an error if you specify the multiplier argument (such as cd1) while this field is empty.

Numbersuggested
MP Usage (PvP)mp_pvp

no description

Numberoptional
Cooldown (PvP)cd_pvp

no description

Numberoptional
MP Usage (Final Enhanced)mp_enhanced

no description

Numberoptional
Cooldown (Final Enhanced)cd_enhanced

no description

Numberoptional
Trait 1 MP Effectmp1

Specify in % (without the sign). If certain MP traits are active (such as Reversed), and this field is empty for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Critical = 120, Light = 80).

Numberoptional
Trait 2 MP Effectmp2

Specify in % (without the sign). If certain MP traits are active (such as Reversed), and this field is empty for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Critical = 120, Light = 80).

Numberoptional
Trait 1 Cooldown Effectcd1

Specify in % (without the sign). If certain Cooldown traits are active (such as Reversed), and this field is empty for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Heavy = 120, Haste = 80, Ruthless = 200, Powerful = 150).

Numberoptional
Trait 2 Cooldown Effectcd2

Specify in % (without the sign). If certain Cooldown traits are active (such as Reversed), and this field is empty for the exact index, the template returns an error. Specific traits derive the default values and thus do not require this argument provided (Heavy = 120, Haste = 80, Ruthless = 200, Powerful = 150).

Numberoptional
Durationduration

The template returns an error if you specify the multiplier argument (such as duration1) while this field is empty.

Numberoptional
Duration (PvP)duration_pvp

no description

Numberoptional
Duration (Final Enhanced)duration_enhanced

no description

Numberoptional
Trait 1 Duration Effectduration1

Specify in % (without the sign). If Killing Blow (1) is active, and this field is empty for the exact index, the template returns an error.

Numberoptional
Trait 2 Duration Effectduration2

Specify in % (without the sign). If Killing Blow (1) is active, and this field is empty for the exact index, the template returns an error.

Numberoptional