Template:Ability card v2/Card: Difference between revisions
Jump to navigation
Jump to search
m internal functions now use hero_key instead of hero_name, removing the need to redo O(N) |
m padding reduced slightlyyy |
||
Line 26: | Line 26: | ||
<!-- INFO SECTIONS --> | <!-- INFO SECTIONS --> | ||
<div style="margin: 5px 10px | <div style="margin: 5px 10px 0px 10px; padding: 3px 0 5px 0; width: calc(100% - 18px);"> | ||
{{#invoke: AbilityData|get_all_info_sections|{{{hero_key}}}|{{{ability_num}}}}} | {{#invoke: AbilityData|get_all_info_sections|{{{hero_key}}}|{{{ability_num}}}}} | ||
</div> | </div> | ||
<!-- UPGRADES --> | <!-- UPGRADES --> | ||
<div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: | <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 5px; justify-content: center; width: calc(97% - 16px); min-width: 280px;> | ||
{{#invoke: AbilityData|get_upgrades|{{{hero_key}}}|{{{ability_num}}}}} | {{#invoke: AbilityData|get_upgrades|{{{hero_key}}}|{{{ability_num}}}}} | ||
</div> | </div> |
Revision as of 19:34, 15 October 2024
Eg. {{#invoke:AbilityData|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}}
Script error: The function "get_ability_card" does not exist.