Template:HeroSkill
From Gigantic Wiki
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:HeroSkill/doc to edit this documentation. (How does this work?) |
- Description
- This template creates a block about hero's skill, with upgrades placed into collapsible part, hidden by default. It must be used on primary pages about hero (see: Category:Heroes).
- Template uses subtemplates Template:HeroSkill/header and Template:HeroSkill/stats, and Extension:TemplateStyles; for styles see Template:HeroSkill/styles.css.
- Syntax
- Copy and fill the following code:
{{HeroSkill |hero = |name = |order = <1-5> <!---- stats -----> |cd = <cooldown in seconds> |heal = <healing value> |dmg = <damage value> |lf = <light armor front> |lb = <light armor back> |hf = <heavy armor front> |hb = <heavy armor back> |dmgnote = <additional note on damage> |range = <range/distance value or description> |more = <additional stat> |time = <duration> <!---- description -----> |desc = |descadd = <!---- upgrades -----> <!---- tier 1 left ----> |L = |l = |lt = <!---- tier 1 right ----> |R = |r = |rt = <!---- tier 2 left/left ----> |LL = |ll = |llt = <!---- tier 2 left/right ----> |LR = |lr = |lrt = <!---- tier 2 right/left ----> |RL = |rl = |rlt = <!---- tier 2 right/right ----> |RR = |rr = |rrt = }}
order
defines skill's icon, keyboard/gamepad binding and type, and is used to apply collapsed parts with upgrades correctly1
is for basic attack, it adds corresponding note2
,3
and4
provide only keyboard/gamepad bindings5
is for focus ability, adds corresponding note
- Most of stat parameters require only numerical values; detailed damage info is presented as tooltip
- For cases when second ability doesn't have cooldown, and is not counted as basic attack, type
cd = 0
, then damage or healing parameters if needed (examples: Ezren Ghal, Imani). - For very rare cases when first ability is about healing, while second is an actual basic attack (example: Vadasi):
- in first skill fill only
heal
parameter - in second skill leave
cd
blank but filldmg
andadmg
- in first skill fill only
- Upgrade parameters:
- Capital letters parameters, like
L
andRR
, are for titles - Lowercase ones, like
l
andrr
, are for descriptions - Lowercase parameters ending with "t" are for upgrade type icons, which are:
- Capital letters parameters, like
-
attack
-
strength
-
agility
-
improv
-
control
-
temp
- Additional templates can be used in descriptions of skills and upgrades:
- Template:MiniSkill, for other skills mention
- Icon with word and tooltip templates: Template:Term, Template:Buff, Template:Debuff, Template:CC
- Simple icon templates:
-
{{dmg}}
-
{{armor}}
-
{{heal}}
-
{{range}}
-
{{CD}}
-
{{dur}}
-
{{timer}}
- Usage example
- Code:
{{HeroSkill |hero = Vadasi |name = RAY OF LIGHT |order = 1 |heal = 75HP/s |range = 11m |desc = '''HOLD [LMB/RT]:''' Healing beam.{{*}}{{buff|heal|Heals}} allies, +75HP/s for beam duration. |descadd = '''EMPOWERED LIGHT'''<br>'''[E/RB], HOLD [LMB/RT]:''' Empowered healing beam, consumes orbs.{{*}}{{buff|heal|Heals}} allies, +150HP/s till end of charged orb duration.{{*}}Every {{timer}}3s, consumes one orb. <!---- tier 1 left ----> |L = Succour |lt = strength |l = '''[E/RB], HOLD [LMB/RT]:''' Increases {{buff|heal|healing}} per orb.{{*}}{{heal}}+170/190/210HP/s <!---- tier 1 right ----> |R = Light of Judgment |rt = attack |r = While healing ally, deals {{term|dmg|damage}} to an enemy within 5m.{{*}}'''HOLD [LMB/RT]:''' {{dmg}}10dmg per tick (0.25s).{{*}}'''[E/RB], HOLD [LMB/RT]:''' {{dmg}}20dmg per tick (0.25s) with orbs. <!---- tier 2 left/left ----> |LL = Righteous Defenses |llt = strength |ll = '''[E/RB], HOLD [LMB/RT]:''' Healing with orbs gives +15{{term|armor}} to targeted allies for {{dur}}0.5s. <!---- tier 2 left/right ----> |LR = Life Transfer |lrt = strength |lr = ⬩ Increases {{buff|heal|healing}} (without orbs): +125HP/s{{*}}Sacrifice own {{term|hp|health}}: -75HP/s. <!---- tier 2 right/left ----> |RL = Contrast |rlt = attack |rl = {{MiniSkill|Vadasi|2|SMITE}} gains +2% {{term|crit}} chance. <!---- tier 2 right/right ----> |RR = Determination |rrt = strength |rr = '''[E/RB], HOLD [LMB/RT]:''' Damaging enemies with orbs gains +15% front to own front {{buff|lowdmg|damage reduction}}.}}
- Results:
- Other examples (need to be updated - see Vadasi for up to date examples)
Code | |
---|---|
Code | |
---|---|
{{HeroSkill |hero = Xenobia |name = Gaze of Envy |order = 1 |dmg = 26 |lf = 22 |lb = 24 |hf = 19 |hb = 21 |dmgnote = per tick (0.1s) |range = 11m |more = {{term|steal|0}}25 HP/s |desc = '''HOLD [LMB/RT]:''' Beam absorbs enemy {{term|health}}. {{buff|heal|Heals}} self, +25HP/s. <!---- tier 1 left ----> |L = Greedy Gaze |l = Drain more {{buff|regen|health}}. ''(+25 HP/s)'' <!---- tier 2 left/left ----> |LL = Survival of the Cruelest |ll = When your health is below 50%, drain 50% more {{buff|regen|health}}. <!---- tier 2 left/right ----> |LR = Domineering Glare |lr = When your health is above 50%, deal more <br>{{buff|dmg|damage}}. ''(+25% dmg)'' <!---- tier 1 right ----> |R = Withering Gaze |r = While attached, inflicts {{debuff|weak|weakness}}. ''(1s duration)'' <!---- tier 2 right/left ----> |RL = Sap Strength |rl = {{debuff|weak|Weakness}} becomes stronger as you continue to hit the same enemy. ''(Maximum: -50% damage.)'' <!---- tier 2 right/right ----> |RR = Siphon Strength |rr =Allies near your target gain +15% basic attack <br>{{buff|dmg|damage}} for 1s. <br>Does not effect self.}} |
Code | |
---|---|
Code | |
---|---|