Template:Traits/doc: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 121: Line 121:
"label": "Trait 2 Chance Effect",
"label": "Trait 2 Chance Effect",
"description": "For Regenerating trait"
"description": "For Regenerating trait"
},
"mp_enhanced_pvp": {
"label": "MP Usage (PvP Enhanced)"
},
"cd_enhanced_pvp": {
"label": "Cooldown (PvP Enhanced)"
},
"duration_enhanced_pvp": {
"label": "Duration (PvP Enhanced)"
},
"hits": {
"label": "Useful Hit Count"
},
"detail1": {
"label": "Trait 1 Detail Force",
"description": "Only works for Max Hits (probably)"
},
"detail2": {
"label": "Trait 2 Detail Force",
"description": "Only works for Max Hits (probably)"
}
}
},
},
Line 132: Line 152:
"5",
"5",
"mp",
"mp",
"mp_pvp",
"mp_enhanced",
"mp_enhanced_pvp",
"cd",
"cd",
"mp_pvp",
"cd_pvp",
"cd_pvp",
"mp_enhanced",
"cd_enhanced",
"cd_enhanced",
"cd_enhanced_pvp",
"duration",
"duration_pvp",
"duration_enhanced",
"duration_enhanced_pvp",
"mp1",
"mp1",
"mp2",
"mp2",
"cd1",
"cd1",
"cd2",
"cd2",
"duration",
"duration_pvp",
"duration_enhanced",
"duration1",
"duration1",
"duration2",
"duration2",
"chance1",
"chance1",
"chance2"
"chance2",
"hits",
"detail1",
"detail2"
]
]
}
}
</templatedata>
</templatedata>

Revision as of 12:18, 27 March 2023

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
Trait 1 SkillText4

Comma-separated values provided to the SkillText template. Warning! Does not generate details properly when they're needed.

Unknownoptional
Trait 2 SkillText5

Comma-separated values provided to the SkillText template. Warning! Does not generate details properly when they're needed.

Unknownoptional
MP Usagemp

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

Numbersuggested
MP Usage (PvP)mp_pvp

no description

Numberoptional
MP Usage (Final Enhanced)mp_enhanced

no description

Numberoptional
MP Usage (PvP Enhanced)mp_enhanced_pvp

no description

Unknownoptional
Cooldowncd

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

Numbersuggested
Cooldown (PvP)cd_pvp

no description

Numberoptional
Cooldown (Final Enhanced)cd_enhanced

no description

Numberoptional
Cooldown (PvP Enhanced)cd_enhanced_pvp

no description

Unknownoptional
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
Duration (PvP Enhanced)duration_enhanced_pvp

no description

Unknownoptional
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
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
Trait 1 Chance Effectchance1

For Regenerating trait

Unknownoptional
Trait 2 Chance Effectchance2

For Regenerating trait

Unknownoptional
Useful Hit Counthits

no description

Unknownoptional
Trait 1 Detail Forcedetail1

Only works for Max Hits (probably)

Unknownoptional
Trait 2 Detail Forcedetail2

Only works for Max Hits (probably)

Unknownoptional