Шаблон:Skill fact — различия между версиями
Blood (обсуждение | вклад) |
Blood (обсуждение | вклад) |
||
Строка 61: | Строка 61: | ||
| health loss = {{effect|Health|{{{alt|Потеря здоровья}}}|icon=Health Loss.png}}: {{{2|0}}} | | health loss = {{effect|Health|{{{alt|Потеря здоровья}}}|icon=Health Loss.png}}: {{{2|0}}} | ||
| health loss per interval = {{effect|Health|{{{alt|Потеря здоровья за интервал}}}|icon=Health Loss.png}}: {{{2|0}}}% | | health loss per interval = {{effect|Health|{{{alt|Потеря здоровья за интервал}}}|icon=Health Loss.png}}: {{{2|0}}}% | ||
− | | barrier = {{effect|Barrier|{{{alt| | + | | barrier = {{effect|Barrier|{{{alt|{{rus lang|effect|Barrier}}}}}|icon={{{icon|Barrier.png}}}}}{{#if:{{{strikes|}}}| ({{{strikes}}}x)}}: {{formatnum:{{{2|0}}}}} {{#if:{{{coefficient|}}}|{{coefficient|healing|num={{{coefficient}}}|base={{{2}}}}}}} |
<!-- Increase and decrease properties --> | <!-- Increase and decrease properties --> | ||
| attack speed increase = {{effect icon|icon=Radius.png}} Увеличение скорости атаки: {{fraction|{{{2|0}}}}}% | | attack speed increase = {{effect icon|icon=Radius.png}} Увеличение скорости атаки: {{fraction|{{{2|0}}}}}% | ||
Строка 154: | Строка 154: | ||
| misc = <span class="inline-icon effect">[[File:{{{icon|{{{image|Miscellaneous effect.png}}}}}}|20px|link=]]{{#if:{{{stacks|}}}|<sub>{{{stacks}}}</sub>|}}</span> {{{alt|''Другой эффект''}}}{{#if:{{{2|}}}|<span>:</span> {{formatnum:{{{2|}}}}}}} | | misc = <span class="inline-icon effect">[[File:{{{icon|{{{image|Miscellaneous effect.png}}}}}}|20px|link=]]{{#if:{{{stacks|}}}|<sub>{{{stacks}}}</sub>|}}</span> {{{alt|''Другой эффект''}}}{{#if:{{{2|}}}|<span>:</span> {{formatnum:{{{2|}}}}}}} | ||
<!-- Effect and default behavior --> | <!-- Effect and default behavior --> | ||
− | | effect = {{effect|{{{2|Effect}}}|{{{alt|}}}|stacks={{{stacks|}}}}}{{#ifeq:{{{3|0}}}|0|| ({{fraction|{{{3}}}}} {{{t|сек}}})}}{{#ifeq:{{{desc|+}}}|<!-- if set but empty -->|<!-- then display no description -->|<!-- else--><span>:</span> {{{desc|{{effect description|{{{2|}}}}}}}}}} | + | | effect = {{effect|{{{2|Effect}}}|{{{alt|{{rus lang|effect|{{{2|Effect}}}}}}}}|stacks={{{stacks|}}}}}{{#ifeq:{{{3|0}}}|0|| ({{fraction|{{{3}}}}} {{{t|сек}}})}}{{#ifeq:{{{desc|+}}}|<!-- if set but empty -->|<!-- then display no description -->|<!-- else--><span>:</span> {{{desc|{{effect description|{{{2|}}}}}}}}}} |
| #default = {{effect icon|icon={{{icon|Miscellaneous effect.png}}}|stacks={{{stacks|}}}}} {{ucfirst:{{{alt|{{{1}}}}}}}}{{#ifeq:{{{3|0}}}|0|| ({{fraction|{{{3}}}}}{{{t|s}}})}}{{#if:{{{2|}}}|<span>:</span> {{formatnum:{{{2|}}}}}}} | | #default = {{effect icon|icon={{{icon|Miscellaneous effect.png}}}|stacks={{{stacks|}}}}} {{ucfirst:{{{alt|{{{1}}}}}}}}{{#ifeq:{{{3|0}}}|0|| ({{fraction|{{{3}}}}}{{{t|s}}})}}{{#if:{{{2|}}}|<span>:</span> {{formatnum:{{{2|}}}}}}} | ||
}}{{#if:{{{game mode|}}}|</div>|}}<!-- | }}{{#if:{{{game mode|}}}|</div>|}}<!-- |
Версия 14:18, 3 мая 2021
- {{{1}}}
Содержание
Description
Skill facts are properties of a skill or trait displayed in the tooltip. The template provides correct formatting for creating skill facts for use in the {{skill infobox}} and {{trait infobox}}. Subobject creation uses {{Skill fact/subobject}}.
Usage
{{skill fact|<fact>|<value>}} {{skill fact|<fact>|<value>|game mode=<game modes in which the skill fact is used>}} {{skill fact|<fact>|<value>|<second value (if applicable)>|stacks=<stacks>|alt=<alternate text>|game mode=<game modes in which the skill fact is used>}} {{skill fact|effect|<effect>|<duration>|stacks=<stacks>|alt=<alternate text>|desc=<alternate description>}}
Parameters
Skill fact | Description | Example | Display |
---|---|---|---|
1 (unnamed parameter) | Case 1: Predefined skill facts automatically generating the full skill fact based on unnamed parameter 2 (number, standing for duration, percentage, range, etc...) and stacks (if applicable). For example boons as Might, conditions as Burning, etc... For a full list see examples below. | {{skill fact|might|5}}
|
|
Case 2: Effects, by setting it to "effect" the unnamed parameter 2 expects an effect page and unnamed parameter 3 is used to set the effect duration. It inherits the description from the effect page, set the parameter desc to override it (leave it empty if there's no description). Set the parameter "effect bonus" to associate an skill fact with it, e.g. for an effect granting a 25% damage increase set "effect bonus=Damage Increase" and "effect bonus number=25". | {{skill fact|effect|Superspeed|3}}
|
| |
Case 3: Non-predefined skill facts, case-sensitive! If a skill fact description differs from a already predefined one but still shares the same name, consider to set this parameter to <fact> alt and use the parameter alt to set the display name.
|
{{skill fact|Minimum Number of Attacks|1}}
|
| |
2 (unnamed parameter) | Case 1: For predefined skills, set it to the associated number, for example: duration, percentage, range. | {{skill fact|launch|500}}
|
|
Case 2: For effects, set this to the effect page. | {{skill fact|effect|Shock Field|4|desc=}}
|
| |
Case 3: For non-predefined skill facts, this could be anything, again case-sensitive. | {{skill fact|Aegis Refresh|40 seconds}}
|
| |
3 (unnamed parameter) | Case 1: For predefined skills, this parameter is rarely used, see examples below. | {{skill fact|gain|Ferocity|Precision|10}}
|
|
Case 2: For effect pages, set this to the effect duration. | {{skill fact|effect|Unblockable (effect)|10}}
|
| |
Case 3: For non-predefined skills, this parameter is used to set the duration. | {{skill fact|Costume Brawl Launch|<!--empty-->|1}}
|
| |
game mode | Used in conjunction with the parameter split set in the infobox. Allows to set game modes ("pve", "wvw", "pvp") the skill fact is available in, several game modes are separated by a whitespace. | {{skill fact|targets|10|game mode=pve}} {{skill fact|targets|5|game mode=wvw pvp}}
|
|
stacks | Set to the number of stacks | {{skill fact|vulnerability|10|stacks=5}}
|
|
alt | Set to change the displayed skill fact text, this allows to use unnamed parameter 1 for grouping skill facts. | {{skill fact|might|6|alt=Might per Hit}}
|
|
weapon | Used in conjunction with unnamed parameter 1 set to "damage" or "life siphon damage" and the parameter coefficient to calculate the damage based on those parameters. See Template:Damage calculation for a list of allowed weapon parameters. | {{skill fact|damage|weapon=sword|coefficient=1.0}}
|
|
coefficient | Used in conjunction with unnamed parameter 1 set to "damage", "healing", "barrier", "life siphon damage" or "life siphon healing". | {{skill fact|healing|512|coefficient=0.5}}
|
|
strikes | Used in conjunction with unnamed parameter 1 set to "damage" or "life siphon damage". | {{skill fact|damage|202|strikes=2}}
|
|
icon | Set to override the icon. | {{skill fact|Increased Attack Speed|20%|icon=Radius.png}}
|
|
linked skill | Set to display a linked skill in front of the skill fact. | {{skill fact|Vigor|linked skill=Rocket Boots|4}}
|
|
linked icon | Set to display an icon (without link) in front of the skill fact. | {{skill fact|effect|"Sic 'Em!" (effect)|10|linked icon=Ranger tango icon 20px.png}}
|
|
t | Allows to change the duration suffix for "effects". | {{skill fact|effect|Brawler Protection|3|t=m}}
|
|
Examples
Boons
Skill fact | Example | Display |
---|---|---|
aegis | {{skill fact|aegis|3}} |
|
alacrity | {{skill fact|alacrity|3}} |
|
fury | {{skill fact|fury|3}} |
|
might | {{skill fact|might|3}} |
|
protection | {{skill fact|protection|3}} |
|
quickness | {{skill fact|quickness|3}} |
|
regeneration | {{skill fact|regeneration|3}} |
|
resistance | {{skill fact|resistance|6}} |
|
retaliation | {{skill fact|retaliation|3}} |
|
stability | {{skill fact|stability|3}} |
|
swiftness | {{skill fact|swiftness|3}} |
|
vigor | {{skill fact|vigor|3}} |
|
Conditions
Skill fact | Example | Display |
---|---|---|
bleeding | {{skill fact|bleeding|3}} |
|
blind | {{skill fact|blind|3}} |
|
burning | {{skill fact|burning|3}} |
|
chilled | {{skill fact|chilled|3}} |
|
confusion | {{skill fact|confusion|3}} |
|
crippled | {{skill fact|crippled|3}} |
|
fear | {{skill fact|fear|3}} |
|
immobilized | {{skill fact|immobilized|3}} |
|
poisoned | {{skill fact|poisoned|3}} |
|
slow | {{skill fact|slow|2}} |
|
taunt | {{skill fact|taunt|3.25}} |
|
torment | {{skill fact|torment|10}} |
|
vulnerability | {{skill fact|vulnerability|3}} |
|
weakness | {{skill fact|weakness|3}} |
|
Control effects
Skill fact | Example | Display |
---|---|---|
daze | {{skill fact|daze|3}} |
|
daze alt | {{skill fact|daze alt|3}} |
|
float | {{skill fact|float|3}} |
|
knockback | {{skill fact|knockback|500}} |
|
knockdown | {{skill fact|knockdown|3}} |
|
launch | {{skill fact|launch|500}} |
|
pull | {{skill fact|pull|180}} |
|
sink | {{skill fact|sink|3}} |
|
stun | {{skill fact|stun|3}} |
|
stun alt | {{skill fact|stun alt|3}} |
|
Prior to the July 7, 2020 game update daze and stun used a gray instead of a purple icon, which can be obtained by add the suffix gray
(e.g. for /history pages).
Damage, Healing, and Barriers
Skill fact | Example | Display |
---|---|---|
damage | {{skill fact|damage|30|strikes=4|coefficient=3.2}} {{skill fact|damage|weapon=axe|strikes=4|coefficient=3.2}} {{skill fact|damage|180|coefficient=3.2|scaling=power-only}} |
|
healing | {{skill fact|healing|30|coefficient=0.9}} |
|
life siphon damage | {{skill fact|life siphon damage|weapon=axe|strikes=6|coefficient=1.5}} {{skill fact|life siphon damage|298|coefficient=0.1|scaling=power-only}} |
|
life siphon healing | {{skill fact|life siphon healing|450|coefficient=0.3}} |
|
health loss | {{skill fact|health loss|500}} |
|
health loss per interval | {{skill fact|health loss per interval|5}} |
|
barrier | {{skill fact|barrier|500|coefficient=0.1}} |
|
See Template:Damage calculation for a list of allowed weapon parameters.
Combo fields and finishers
Combo type | Example | Display |
---|---|---|
dark | {{skill fact|combo|dark}} |
|
ethereal | {{skill fact|combo|ethereal}} |
|
fire | {{skill fact|combo|fire}} |
|
ice | {{skill fact|combo|ice}} |
|
light | {{skill fact|combo|light}} |
|
lightning | {{skill fact|combo|lightning}} |
|
poison | {{skill fact|combo|poison}} |
|
smoke | {{skill fact|combo|smoke}} |
|
water | {{skill fact|combo|water}} |
|
blast | {{skill fact|combo|blast}} |
|
leap | {{skill fact|combo|leap}} |
|
projectile | {{skill fact|combo|projectile}} |
|
projectile (20% Chance) | {{skill fact|combo|projectile|y}} |
|
whirl | {{skill fact|combo|whirl}} |
Effects
Effects are identified by having an icon matching the effect received, with or without a duration, and either the effect description or an abbreviated version.
{{skill fact|effect|<effect>|<duration>|stacks=<stacks>|alt=<alternate text>|desc=<alternate description>}}
Skill fact | Example | Display |
---|---|---|
Distortion (effect) | {{skill fact|effect|Distortion (effect)|3}} |
|
Banner of Discipline (effect) | {{skill fact|effect|Banner of Discipline (effect)|desc=170 [[Precision]], 170 [[Ferocity]]}} |
|
Fencer's Finesse (effect) | {{skill fact|effect|Fencer's Finesse (effect)|6|desc=15 [[Ferocity]]}} |
|
Hide in Shadows (effect) | {{skill fact|effect|Hide in Shadows (effect)|6|alt=Stealth}} |
|
Increase and decrease modifiers
Most modifiers increase or decrease a value by a percentage. duration increase can either provide an base increase or percentage increase, specify a percentage using a % character.
Skill fact | Example | Display |
---|---|---|
attack speed increase | {{skill fact|attack speed increase|50}} |
|
damage increase | {{skill fact|damage increase|50}} |
|
damage reduced | {{skill fact|damage reduced|50}} |
|
damage reduction per hit | {{skill fact|damage reduction per hit|10}} |
|
condition damage increase | {{skill fact|condition damage increase|20}} |
|
condition damage reduced | {{skill fact|condition damage reduced|50}} |
|
duration increase | {{skill fact|duration increase|2}} |
|
duration increase | {{skill fact|duration increase|50%}} |
|
duration decreased | {{skill fact|duration decreased|2}} |
|
duration decreased | {{skill fact|duration decreased|50%}} |
|
radius increase | {{skill fact|radius increase|60}} |
|
radius increase | {{skill fact|radius increase|50%}} |
|
recharge reduced | {{skill fact|recharge reduced|50}} |
|
recharge time reduced | {{skill fact|recharge time reduced |60}} |
|
chance on critical hit | {{skill fact|chance on critical hit|33}} |
|
critical chance increase | {{skill fact|critical chance increase|33}} |
|
critical damage increase | {{skill fact|critical damage increase|33}} |
|
movement speed increase | {{skill fact|movement speed increase|33}} |
Notable properties
Skill fact | Example | Display |
---|---|---|
gain | {{skill fact|gain|Vitality|Power|7}} |
|
condition | {{skill fact|condition|Burning}} |
|
condition effect ignored | {{skill fact|condition effect ignored|Blinded}} |
|
conditions removed | {{skill fact|conditions removed|2}} |
General properties
Skill fact | Example | Display |
---|---|---|
adrenaline | {{skill fact|adrenaline|3}} |
|
attribute | {{skill fact|attribute|Vitality|250}} |
|
attribute | {{skill fact|attribute|Vitality|-250}} |
|
attribute | {{skill fact|attribute|attribute increase|150}} |
|
attribute | {{skill fact|attribute|attribute reduced|150}} |
|
blocks missiles | {{skill fact|blocks missiles}} |
|
boon | {{skill fact|boon|Stability}} |
|
boons removed | {{skill fact|boons removed|2}} |
|
bounce | {{skill fact|bounce|5}} |
|
breaks enemy targeting | {{skill fact|breaks enemy targeting}} |
|
breaks stun | {{skill fact|breaks stun}} |
|
cannot critical hit | {{skill fact|cannot critical hit}} |
|
capture | {{skill fact|capture}} |
|
combat | {{skill fact|combat}} |
|
count recharge | {{skill fact|count recharge|10}} |
|
duration | {{skill fact|duration|30}} |
|
endurance gained | {{skill fact|endurance gained|100}} |
|
evade | {{skill fact|evade|0.75}} |
|
interval | {{skill fact|interval|3}} |
|
invulnerability | {{skill fact|invulnerability|2}} |
|
life force | {{skill fact|life force|5}} |
|
maximum count | {{skill fact|maximum count|5}} |
|
percent | {{skill fact|percent|10}} |
|
pierces | {{skill fact|pierces}} |
|
pulses | {{skill fact|pulses|3}} |
|
radius | {{skill fact|radius|500}} |
|
range | {{skill fact|range|500}} |
|
recharge time | {{skill fact|recharge time|3}} |
|
reflect | {{skill fact|reflect}} |
|
revive | {{skill fact|revive|10}} |
|
targets | {{skill fact|targets|5}} |
|
allied targets | {{skill fact|allied targets|5}} |
|
health threshold | {{skill fact|health threshold|50}} |
|
heat gain | {{skill fact|heat gain|5}} |
|
heat threshold | {{skill fact|heat threshold|50}} |
|
unblockable | {{skill fact|unblockable}} |