Template:Ability card v2/Card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
m 100% width
Saag (talk | contribs)
m Migrated to Abilities/card module
Line 27: Line 27:
   <!-- INFO SECTIONS -->
   <!-- INFO SECTIONS -->
<div style="margin: 5px 10px 0px 10px; padding: 3px 0 5px 0; width: calc(100% - 18px);">
<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: Abilities/card|get_all_info_sections|{{{hero_key}}}|{{{ability_num}}}}}
</div>
</div>


   <!-- UPGRADES -->
   <!-- UPGRADES -->
   <div style="display:flex; flex-direction:row; flex-wrap: wrap; margin-bottom: 5px; justify-content: center; width: calc(97% - 16px); min-width: 280px;>
   <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: Abilities/card|get_upgrades|{{{hero_key}}}|{{{ability_num}}}}}
   </div>
   </div>
   <!-- NOTES -->
   <!-- NOTES -->
Line 50: Line 50:
   </div>}}
   </div>}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
<code><nowiki>Eg. {{#invoke:AbilityData|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}}
<code><nowiki>Eg. {{#invoke:Abilities/card|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}}
</nowiki></code>
</nowiki></code>
{{#invoke:AbilityData|get_ability_card|Abrams|3|false}}
{{#invoke:Abilities/card|get_ability_card|Abrams|3|false}}
</noinclude>
</noinclude>

Revision as of 16:41, 26 October 2024

Eg. {{#invoke:Abilities/card|get_ability_card|<hero_name>|<ability_number>|<link_on_name>|<notes>}}

Infernal Resilience




Regenerate a portion of incoming damage over time.

11%

Damage regenerated


20s

Regeneration Time


1  Health Regen

Ability Point 1
+1.5 Health Regen


Ability Point 2
+150 Health


Ability Point 5
+5.5% Damage regenerated