Template:Ability card v2/Card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
added notes area
Saag (talk | contribs)
improved header attr spacing
Line 10: Line 10:
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{radius|}}}|uom=m|icon=AttributeIconTechRange.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{radius|}}}|uom=m|icon=AttributeIconTechRange.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{ability_width|}}}|uom=m|icon=AttributeIconTechRange.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{ability_width|}}}|uom=m|icon=AttributeIconTechRange.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{duration|}}}|uom=m|icon=AttributeIconMaxChargesIncrease.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{duration|}}}|uom=s|icon=AttributeIconMaxChargesIncrease.png}}
       </div>
       </div>
     </div>
     </div>
     <div style="display:flex; flex-direction:column; align-items: end; padding: 20px">
     <div style="display:flex; flex-direction:column; align-items: end; padding: 20px">
       <div style="display:flex; flex-direction:row; justify-content: flex-end; margin-bottom: 5px">
       <div style="display:flex; flex-direction:row; justify-content: flex-end; margin-bottom: 5px; margin-right: 20px;">
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{num_of_charges|}}}|icon=AttributeIconMaxChargesIncrease.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{num_of_charges|}}}|icon=AttributeIconMaxChargesIncrease.png|style=margin-right: 0;}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{charge_cooldown|}}}|uom=s|icon=AttributeIconTechCooldownBetweenChargeUses.png|style=font-size: 12px; background-color: #242424;|icon_size=15px}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{charge_cooldown|}}}|uom=s|icon=AttributeIconTechCooldownBetweenChargeUses.png|style=font-size: 12px; background-color: #242424; margin-right: 0;|icon_size=15px}}
       </div>
       </div>
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{cooldown|}}}|uom=s|icon=AttributeIconTechCooldown.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{cooldown|}}}|uom=s|icon=AttributeIconTechCooldown.png}}
Line 46: Line 46:


</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{#invoke:AbilityData|get_ability_card|McGinnis|1|true}}
{{#invoke:AbilityData|get_ability_card|Wraith|1|true}}
</noinclude>
</noinclude>

Revision as of 17:19, 23 September 2024

Script error: The function "get_ability_card" does not exist.