Jump to content

Template:Ability card v2/Card: Difference between revisions

From Deadlock Wiki
Snes (talk | contribs)
Match in game card - added subtly gap between ability charge and cooldown boxes, and increased cast cooldown text size.
m Updated Cooldown link to Ability_Cooldown
Line 18: Line 18:
         <div style="display:flex; flex-direction:row; justify-content: flex-end; margin-bottom: 5px; margin-right: 20px;">
         <div style="display:flex; flex-direction:row; justify-content: flex-end; margin-bottom: 5px; margin-right: 20px;">
           {{Ability_card_v2/HeaderAttr|{{{num_of_charges|}}}|icon=[[File:AttributeIconMaxChargesIncrease.png|20px|link=]]|style=margin-right: 0;}}
           {{Ability_card_v2/HeaderAttr|{{{num_of_charges|}}}|icon=[[File:AttributeIconMaxChargesIncrease.png|20px|link=]]|style=margin-right: 0;}}
           {{Ability_card_v2/HeaderAttr|{{{charge_cooldown|}}}|uom=s|icon=[[File:AttributeIconTechCooldownBetweenChargeUses.png|16px|link=Cooldowns]]|style=margin-left: 1px; margin-right: 0}}
           {{Ability_card_v2/HeaderAttr|{{{charge_cooldown|}}}|uom=s|icon=[[File:AttributeIconTechCooldownBetweenChargeUses.png|16px|link=Ability Cooldown]]|style=margin-left: 1px; margin-right: 0}}
         </div>
         </div>
           {{Ability_card_v2/HeaderAttr|{{{cooldown|}}}|uom=s|icon=[[File:AttributeIconTechCooldown.png|20px|link=Cooldowns]]}}
           {{Ability_card_v2/HeaderAttr|{{{cooldown|}}}|uom=s|icon=[[File:AttributeIconTechCooldown.png|20px|link=Ability Cooldown]]}}
       </div>
       </div>
     </div>
     </div>
Line 52: Line 52:
<code><nowiki>Eg. {{#invoke:Abilities/card|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:Abilities/card|get_ability_card|Abrams|3|false}}
{{#invoke:Abilities/card|get_ability_card|Abrams|2|false}}
</noinclude>
</noinclude>

Revision as of 00:37, 26 November 2024

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

Shoulder Charge




1.2s



37s

   Script error: The function "get_all_info_sections" does not exist.
   Script error: The function "get_upgrades" does not exist.