User:Saag/AbilityCircle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
<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: | <div style="max-width: 350px; height: 30px"></div> | ||
{{#invoke:AbilityData|get_ability_card|{{{hero_name}}}|{{{ability_num}}}|true}} | {{#invoke:AbilityData|get_ability_card|{{{hero_name}}}|{{{ability_num}}}|true}} | ||
</div> | </div> | ||
Line 17: | Line 17: | ||
Isolated port of the ability circle and background from [[Template:Ability card]]. Intended for use on [[Heroes]]. | Isolated port of the ability circle and background from [[Template:Ability card]]. Intended for use on [[Heroes]]. | ||
{{AbilityCircle|hero_name=Abrams|ability_num=2}} {{AbilityCircle|hero_name=Ivy|ability_num=4}}{{User:Saag/AbilityCircle|hero_name=Abrams|ability_num=1}} | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
Revision as of 20:49, 22 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
hero_name | hero_name | Name of the Hero
| Unknown | required |
ability_num | ability_num | Number of the ability
| Unknown | required |
iconsize | iconsize | Size of the whole icon. Defaults to 90
| Unknown | optional |
bgsize | bgsize | Size of the background circle. Should almost always be larger than the icon
| Unknown | optional |
displayicon | displayicon | Use if the ability icon has a different name or uses another icon.
| Unknown | optional |