Template:AbilityInfobox
More actions
ItemInfobox
Simple infobox for displaying basic item info
Usage
ability - name of the ability. This name will be used to search for image. Defaults to PAGENAME. For further info read Template:AbilityFrame]]
description - in-game ability description
requirements - requirements to unlock this ability. E.g. Defeat Keely the Frost Archer
school - Magic School it belongs to, eg. Blood, Frost.
class - Must be set to "Basic Spell", "Travel Spell", "Ultimate Spell" or "Vampire Power". This parameter is very important and case sensitive. If not defined properly, the infobox breaks on mobile.
type - type of the ability. Type can be seen in ability description when you hover over equiped ability on hotbar UI. Currently known types are: Projectile, Target Area, Dash, Channeling.
castTime - ability cast time
cooldown - ability cooldown
Example
{{AbilityInfobox
| ability=Shadowbolt
| description=A shadow projectile that deals 200% magic damage and inflicts 1s fading snare.
| requirements=Default Spell
| school=Blood
| class=Basic
| type=Projectile
| cooldown=7s
| charges=1
| castTime=1.2s
}}
<infobox theme-source="class"> <panel> <section>
<title source="title"><default>AbilityInfobox</default></title><default> {{#vardefine: abilityName | {{#replace:Shadowbolt| |}} }}{{#vardefine: abilityNameNoSpace | {{#replace:{{#var: abilityName}}}} }}{{#vardefine: subLink | File:Ability_{{#var: abilityNameNoSpace}}.png }}{{#vardefine: bgSizeParameter | 225 }}{{#vardefine: frameName | normal }}{{#vardefine: generalScaleFactor | 0.95}}{{#vardefine: bgSize | Expression error: Unrecognized punctuation character "{". }}{{#vardefine: bgSizeScaledUp | Expression error: Unrecognized punctuation character "{". }}{{#vardefine: bgSizeScaledDown | Expression error: Unrecognized punctuation character "{". }}{{#vardefine: frameOffsetBase | Expression error: Unrecognized punctuation character "{". }}{{#vardefine: frameOffsetTravel | Expression error: Unrecognized punctuation character "{". }}{{#vardefine: frameOffsetUltimate | Expression error: Unrecognized punctuation character "{". }}{{#vardefine: isSpecialFrame | }}{{#vardefine: isCircle | 0 }}{{#vardefine: frameOffsetLeft | }}{{#vardefine: frameOffsetTop | }}
</section>
</panel>
<format>
</format>
<label>Unlock Requirement</label>
<label>Magic School</label>
<format>[[Abilities# Magic|]]</format>
<label>Class</label>
<format>Basic Spell</format>
<label>Type</label>
<label>Dash Range</label>
<format>{{{range}}}</format>
<label>Cast Time</label>
<format>1.2s</format>
<label>Cooldown</label>
<format>7s</format>
<label>Charges</label>
<format>1</format>
<label>Recast Time</label>
<format>{{{RecastTime}}}</format>
</infobox>