Toggle menu
517
2.5K
889
23.2K
Deadlock Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ability card v2/Card: Difference between revisions

Template page
Sur (talk | contribs)
m translate 'Notes'
Sur (talk | contribs)
m internal functions now use hero_key instead of hero_name, removing the need to redo O(N)
Line 27: Line 27:
   <!-- INFO SECTIONS -->
   <!-- INFO SECTIONS -->
<div style="margin: 5px 10px 10px 10px; padding: 8px 0 8px 0; width: calc(100% - 18px);">
<div style="margin: 5px 10px 10px 10px; padding: 8px 0 8px 0; width: calc(100% - 18px);">
     {{#invoke: AbilityData|get_all_info_sections|{{{hero_name}}}|{{{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: 10px; justify-content: center; width: calc(97% - 16px); min-width: 280px;>
   <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 10px; justify-content: center; width: calc(97% - 16px); min-width: 280px;>
     {{#invoke: AbilityData|get_upgrades|{{{hero_name}}}|{{{ability_num}}}}}
     {{#invoke: AbilityData|get_upgrades|{{{hero_key}}}|{{{ability_num}}}}}
   </div>
   </div>
   <!-- NOTES -->
   <!-- NOTES -->