User:Saag/AbilityCircle: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
Added hidden margin to allow cursor to bridge
Saag (talk | contribs)
No edit summary
Line 9: Line 9:
               <div class="popover-content" style="text-align:left; margin-top: -30px;">
               <div class="popover-content" style="text-align:left; margin-top: -30px;">
                   <div style="width: auto; height: 30px"></div>
                   <div style="width: auto; height: 30px"></div>
                   {{#invoke:AbilityData|get_ability_card|{{{hero_name}}}|{{{ability_num}}}}}
                   {{#invoke:AbilityData|get_ability_card|{{{hero_name}}}|{{{ability_num}}}|add_link=true}}
               </div>
               </div>

Revision as of 13:50, 14 September 2024

                 Script error: The function "get_ability_card" does not exist.


Isolated port of the ability circle and background from Template:Ability card. Intended for use on Heroes.


                 Script error: The function "get_ability_card" does not exist.


No description.

Template parameters

ParameterDescriptionTypeStatus
hero_namehero_name

Name of the Hero

Example
Bebop
Unknownrequired
ability_numability_num

Number of the ability

Example
1
Unknownrequired
iconsizeiconsize

Size of the whole icon. Defaults to 90

Default
90
Example
20
Unknownoptional
bgsizebgsize

Size of the background circle. Should almost always be larger than the icon

Example
128
Unknownoptional
displayicondisplayicon

Use if the ability icon has a different name or uses another icon.

Example
Smoke Bomb.png
Unknownoptional