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 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

no description

Numbersuggested
Cooldowncd

no description

Numbersuggested
Durationduration

no description

Numberoptional
Trait 1 MP Effectmp1

Specify in % (without the sign)

Numberoptional
Trait 2 MP Effectmp2

Specify in % (without the sign)

Numberoptional
Trait 1 Cooldown Effectcd1

Specify in % (without the sign)

Numberoptional
Trait 2 Cooldown Effectcd2

Specify in % (without the sign)

Numberoptional
Trait 1 Duration Effectduration1

Specify in % (without the sign)

Numberoptional
Trait 2 Duration Effectduration2

Specify in % (without the sign)

Numberoptional
Trait 1 SkillText 1desc1_trait1

Pass an argument to a trait's SkillText.

Numberoptional
Trait 1 SkillText 2desc2_trait1

Pass an argument to a trait's SkillText.

Numberoptional
Trait 2 SkillText 1desc1_trait2

Pass an argument to a trait's SkillText.

Numberoptional
Trait 2 SkillText 2desc2_trait2

Pass an argument to a trait's SkillText.

Unknownoptional
Trait 1 Detail 1detail1_trait1

Custom detail field. (While undocumented, you can generate more than 2 fields)

Stringoptional
Trait 1 Detail 2detail2_trait1

Custom detail field. (While undocumented, you can generate more than 2 fields)

Stringoptional
Trait 2 Detail 1detail1_trait2

Custom detail field. (While undocumented, you can generate more than 2 fields)

Stringoptional
Trait 2 Detail 2detail2_trait2

Custom detail field. (While undocumented, you can generate more than 2 fields)

Stringoptional
Trait 1 Header 1header1_trait1

Custom detail header. (While undocumented, you can generate more than 2 headers)

Stringoptional
Trait 1 Header 2header2_trait1

Custom detail header. (While undocumented, you can generate more than 2 headers)

Stringoptional
Trait 2 Header 1header1_trait2

Custom detail header. (While undocumented, you can generate more than 2 headers)

Stringoptional
Trait 2 Header 2header2_trait2

Custom detail header. (While undocumented, you can generate more than 2 headers)

Stringoptional