Template:Traits/doc: Difference between revisions

From Elwiki
No edit summary
m (add lang)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Lua|Traits}}
{{Lua|Traits}}
== All trait examples ==
<pre><nowiki>{{Traits
|Rena
|Lyrical Flow
|Empowered, Gigantic
|130
|140
}}</nowiki></pre>
{{Traits
|Rena
|Lyrical Flow
|Empowered, Gigantic
|130
|140
}}
<pre><nowiki>{{Traits
|Rose
|Penetrating Bullet
|Light, Heavy
|mp=300
|cd=21
|mp1=70
}}</nowiki></pre>
{{Traits
|Rose
|Penetrating Bullet
|Light, Heavy
|mp=300
|cd=21
|mp1=70
}}
<pre><nowiki>{{Traits
|Rose
|Viper Shot
|Light, Regenerating (1)
|mp=35
|mp1=70
|mp2=65
|ecp=true
}}</nowiki></pre>
{{Traits
|Rose
|Viper Shot
|Light, Regenerating (1)
|mp=35
|mp1=70
|mp2=65
|ecp=true
}}
<pre><nowiki>{{Traits
|Elesis
|Outburst
|Useful, Enhanced
|dmg1=67
|hits=10
}}</nowiki></pre>
{{Traits
|Elesis
|Outburst
|Useful, Enhanced
|dmg1=67
|hits=10
}}
<pre><nowiki>{{Traits
|Noah
|Eternal Fog
|Reversed, Critical
|mp=300
|cd=21
|mp1=47
|cd2=65
|def_ignore2=66
|pvp_def_ignore2=33
}}</nowiki></pre>
{{Traits
|Noah
|Eternal Fog
|Reversed, Critical
|mp=300
|cd=21
|mp1=47
|cd2=65
|def_ignore2=66
|pvp_def_ignore2=33
}}
<pre><nowiki>{{Traits
|Eve
|Trojan Horse
|Haste, Regenerating (1)
|mp=300
|cd=21
|cd1=75
|mp2=45
|chance2=68
}}</nowiki></pre>
{{Traits
|Eve
|Trojan Horse
|Haste, Regenerating (1)
|mp=300
|cd=21
|cd1=75
|mp2=45
|chance2=68
}}
<pre><nowiki>{{Traits
|Ara
|Iceberg
|Regenerating (2), Ruthless
|mp=300
|cd=21
|cd1=55
|chance1=68
}}</nowiki></pre>
{{Traits
|Ara
|Iceberg
|Regenerating (2), Ruthless
|mp=300
|cd=21
|cd1=55
|chance1=68
}}
<pre><nowiki>{{Traits
|Add
|Venipuncture
|Evil, Powerful
|20
|cd=21
|cd2=135
}}</nowiki></pre>
{{Traits
|Add
|Venipuncture
|Evil, Powerful
|20
|cd=21
|cd2=135
}}
<pre><nowiki>{{Traits
|Elsword
|Armor Break
|Killing Blow (1), Killing Blow (2)
|duration=20
|duration1=145
|
|56
|effects={{se|073|Test}} Physical Defense Decrease: 20%<br/>{{se|074|Test}} Magical Defense Decrease: 10%<br/>
}}</nowiki></pre>
{{Traits
|Elsword
|Armor Break
|Killing Blow (1), Killing Blow (2)
|duration=20
|duration1=145
|
|56
|effects={{se|073|Test}} Physical Defense Decrease: 20%<br/>{{se|074|Test}} Magical Defense Decrease: 10%<br/>
}}
<pre><nowiki>{{Traits
|Raven
|Shockwave - Divider
|Absorbing, Persistent
|40
|120
}}</nowiki></pre>
{{Traits
|Raven
|Shockwave - Divider
|Absorbing, Persistent
|40
|120
}}
<pre><nowiki>{{Traits
|Aisha
|Icicle Spear
|Evil, Persistent2
|40
|120
}}</nowiki></pre>
{{Traits
|Aisha
|Icicle Spear
|Evil, Persistent2
|40
|120
}}
<br>
<templatedata>
<templatedata>
{
{
Line 34: Line 246:
"traits"
"traits"
]
]
},
"4": {
"label": "Trait 1 SkillText",
"description": "Comma-separated values provided to the SkillText template. Warning! Does not generate details properly when they're needed."
},
"5": {
"label": "Trait 2 SkillText",
"description": "Comma-separated values provided to the SkillText template. Warning! Does not generate details properly when they're needed."
},
},
"mp": {
"mp": {
Line 96: Line 316:
"type": "number"
"type": "number"
},
},
"desc1_trait1": {
"duration1": {
"label": "Trait 1 SkillText 1",
"label": "Trait 1 Duration Effect",
"description": "Pass an argument to a trait's SkillText.",
"description": "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.",
"type": "number"
"type": "number"
},
},
"desc1_trait2": {
"duration2": {
"label": "Trait 2 SkillText 1",
"label": "Trait 2 Duration Effect",
"description": "Pass an argument to a trait's SkillText.",
"description": "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.",
"type": "number"
"type": "number"
},
},
"desc2_trait1": {
"chance1": {
"label": "Trait 1 SkillText 2",
"label": "Trait 1 Chance Effect",
"description": "Pass an argument to a trait's SkillText.",
"description": "For Regenerating trait"
"type": "number"
},
"desc2_trait2": {
"label": "Trait 2 SkillText 2",
"description": "Pass an argument to a trait's SkillText."
},
"detail1_trait1": {
"label": "Trait 1 Detail 1",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait1": {
"label": "Trait 1 Detail 2",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail1_trait2": {
"label": "Trait 2 Detail 1",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait2": {
"label": "Trait 2 Detail 2",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail1_trait1_pvp": {
"label": "Trait 1 Detail 1 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait1_pvp": {
"label": "Trait 1 Detail 2 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail1_trait2_pvp": {
"label": "Trait 2 Detail 1 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait2_pvp": {
"label": "Trait 2 Detail 2 (PvP)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail1_trait1_enhanced": {
"label": "Trait 1 Detail 1 (Final Enhanced)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
"detail2_trait1_enhanced": {
"label": "Trait 1 Detail 2 (Final Enhanced)",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
},
"detail1_trait2_enhanced": {
"chance2": {
"label": "Trait 2 Detail 1 (Final Enhanced)",
"label": "Trait 2 Chance Effect",
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"description": "For Regenerating trait"
"type": "string"
},
},
"detail2_trait2_enhanced": {
"mp_enhanced_pvp": {
"label": "Trait 2 Detail 2 (Final Enhanced)",
"label": "MP Usage (PvP Enhanced)"
"description": "Custom detail field. (While undocumented, you can generate more than 2 fields)",
"type": "string"
},
},
"header1_trait1": {
"cd_enhanced_pvp": {
"label": "Trait 1 Header 1",
"label": "Cooldown (PvP Enhanced)"
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)",
"type": "string"
},
},
"header2_trait1": {
"duration_enhanced_pvp": {
"label": "Trait 1 Header 2",
"label": "Duration (PvP Enhanced)"
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)",
"type": "string"
},
},
"header1_trait2": {
"hits": {
"label": "Trait 2 Header 1",
"label": "Useful Hit Count"
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)",
"type": "string"
},
},
"header2_trait2": {
"detail1": {
"label": "Trait 2 Header 2",
"label": "Trait 1 Detail Force",
"description": "Custom detail header. (While undocumented, you can generate more than 2 headers)",
"description": "Only works for Max Hits (probably)"
"type": "string"
},
},
"duration1": {
"detail2": {
"label": "Trait 1 Duration Effect",
"label": "Trait 2 Detail Force",
"description": "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.",
"description": "Only works for Max Hits (probably)"
"type": "number"
},
},
"duration2": {
"lang": {
"label": "Trait 2 Duration Effect",
"label": "Language Suffix",
"description": "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.",
"description": "A language suffix for multi-language variants.",
"type": "number"
"example": "zh-hans"
}
}
},
},
Line 212: Line 366:
"2",
"2",
"3",
"3",
"4",
"5",
"lang",
"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",
"desc1_trait1",
"desc1_trait2",
"desc2_trait1",
"desc2_trait2",
"detail1_trait1",
"detail2_trait1",
"detail1_trait2",
"detail2_trait2",
"detail1_trait1_pvp",
"detail2_trait1_pvp",
"detail1_trait2_pvp",
"detail2_trait2_pvp",
"detail1_trait1_enhanced",
"detail2_trait1_enhanced",
"detail1_trait2_enhanced",
"detail2_trait2_enhanced",
"header1_trait1",
"header2_trait1",
"header1_trait2",
"header2_trait2",
"duration1",
"duration1",
"duration2"
"duration2",
"chance1",
"chance2",
"hits",
"detail1",
"detail2"
]
]
}
}
</templatedata>
</templatedata>

Latest revision as of 21:03, 18 March 2024

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

All trait examples

{{Traits
|Rena
|Lyrical Flow
|Empowered, Gigantic
|130
|140
}}
Empowered Lyrical FlowGigantic Lyrical Flow
Attribute EffectAttribute Effect
Damage increased to 130%Skill size increased to 140%
{{Traits
|Rose
|Penetrating Bullet
|Light, Heavy
|mp=300
|cd=21
|mp1=70
}}
Light Penetrating BulletHeavy Penetrating Bullet
Attribute EffectMP UsageAttribute EffectCooldown
MP Usage decreased to 70%210 MPDamage increased to 144%
Cooldown increased to 120%
25.2 Seconds
{{Traits
|Rose
|Viper Shot
|Light, Regenerating (1)
|mp=35
|mp1=70
|mp2=65
|ecp=true
}}
Light Viper ShotRegenerating (1) Viper Shot
Attribute EffectECP UsageAttribute EffectECP Recovery
MP Usage decreased to 80%24.5 ECP50% chance of regaining 65% of the MP Usage22.75 ECP
{{Traits
|Elesis
|Outburst
|Useful, Enhanced
|dmg1=67
|hits=10
}}
Useful OutburstEnhanced Outburst
Attribute EffectMax HitsAttribute Effect
Max Hits increased
Damage decreased to 67%
10 Critical Hit Rate increased to 100%
Damage decreased to 80%
{{Traits
|Noah
|Eternal Fog
|Reversed, Critical
|mp=300
|cd=21
|mp1=47
|cd2=65
|def_ignore2=66
|pvp_def_ignore2=33
}}
Reversed Eternal FogCritical Eternal Fog
Attribute EffectMP UsageCooldownAttribute EffectMP Usage
MP Usage decreased to 47%
Cooldown increased to 150%
141 MP31.5 SecondsMP Usage increased to 100%
Skill will ignore 66% defense (33% defense in PvP)
300 MP
{{Traits
|Eve
|Trojan Horse
|Haste, Regenerating (1)
|mp=300
|cd=21
|cd1=75
|mp2=45
|chance2=68
}}
Haste Trojan HorseRegenerating (1) Trojan Horse
Attribute EffectCooldownAttribute EffectMP Recovery
Cooldown decreased to 75%15.75 Seconds68% chance of regaining 45% of the MP Usage135 MP
{{Traits
|Ara
|Iceberg
|Regenerating (2), Ruthless
|mp=300
|cd=21
|cd1=55
|chance1=68
}}
Regenerating (2) IcebergRuthless Iceberg
Attribute EffectCooldownAttribute EffectCooldown
68% chance of lowering cooldown to 55%11.55 SecondsSkill will cancel Mana Break
Cooldown increased to 200%
42 Seconds
{{Traits
|Add
|Venipuncture
|Evil, Powerful
|20
|cd=21
|cd2=135
}}
Evil VenipuncturePowerful Venipuncture
Attribute EffectAttribute EffectCooldown
Skill will burn 20 MP per hitSuper Armor added to the skill
Cooldown increased to 135%
28.35 Seconds
{{Traits
|Elsword
|Armor Break
|Killing Blow (1), Killing Blow (2)
|duration=20
|duration1=145
|
|56
|effects={{se|073|Test}} Physical Defense Decrease: 20%<br/>{{se|074|Test}} Magical Defense Decrease: 10%<br/>
}}
Killing Blow (1) Armor BreakKilling Blow (2) Armor Break
Attribute EffectDurationAttribute EffectEffects
Skill effect's duration increased to 145%29 SecondsSkill effect's effectiveness increased by 56% Self BuffTestSelf BuffTest Physical Defense Decrease: 20%
 Self BuffTestSelf BuffTest Magical Defense Decrease: 10%
{{Traits
|Raven
|Shockwave - Divider
|Absorbing, Persistent
|40
|120
}}
Absorbing Shockwave - DividerPersistent Shockwave - Divider
Attribute EffectAttribute Effect
MP Gain of the skill increased to 40%Skill will reduce 120 KD per hit
{{Traits
|Aisha
|Icicle Spear
|Evil, Persistent2
|40
|120
}}
Evil Icicle SpearPersistent Icicle Spear
Attribute EffectAttribute EffectMax Hits
Skill will burn 40 MP per hitRange and duration increased to 120%-


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

A language suffix for multi-language variants.

Example
zh-hans
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