Template:Traits/doc

From Elwiki
Revision as of 16:30, 24 August 2022 by Ritsu (talk | contribs) (Created page with " <templatedata> { "params": { "1": { "label": "Character Name", "description": "Used to apply a color to table headers.", "example": "Laby", "type": "string", "required": true, "suggested": true }, "2": { "label": "Skill Name", "example": "Suplen", "type": "string", "required": true, "suggested": true }, "3": { "label": "Traits", "description": "Both trait names separated with a comma. White-space is stripped.", "examp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 effect1

First trait's values included in the SkillText template.

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

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, math formulas will be calculated immediately, and proper suffixes (MP and Seconds) will be added.

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, math formulas will be calculated immediately, and proper suffixes (MP and Seconds) will be added.

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