Template:Ability card v2/Card: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
No edit summary
Saag (talk | contribs)
Added some links on icons
Line 7: Line 7:
       <div style="font-size: 1.6rem">{{#if:{{{name_link|}}}|[[{{{name_link}}}|{{{name}}}]]|{{{name}}}}}</div>
       <div style="font-size: 1.6rem">{{#if:{{{name_link|}}}|[[{{{name_link}}}|{{{name}}}]]|{{{name}}}}}</div>
       <div style="display:flex; flex-direction:row; margin-left: 10px;">
       <div style="display:flex; flex-direction:row; margin-left: 10px;">
         {{Ability_card_v2/HeaderAttr|{{{range|}}}|uom=m|icon=CastRange.png}}
         {{Ability_card_v2/HeaderAttr|{{{range|}}}|uom=m|icon=[[File:CastRange.png|20px|link=Ability_Range]]}}
         {{Ability_card_v2/HeaderAttr|{{{radius|}}}|uom=m|icon=AttributeIconTechRange.png}}
         {{Ability_card_v2/HeaderAttr|{{{radius|}}}|uom=m|icon=[[File:AttributeIconTechRange.png|20px|link=Ability_Range]]}}
         {{Ability_card_v2/HeaderAttr|{{{ability_width|}}}|uom=m|icon=AttributeIconTechRange.png}}
         {{Ability_card_v2/HeaderAttr|{{{ability_width|}}}|uom=m|icon=[[File:AttributeIconTechRange.png|20px|link=Ability_Range]]}}
         {{Ability_card_v2/HeaderAttr|{{{duration|}}}|uom=s|icon=AttributeIconTechDuration.png}}
         {{Ability_card_v2/HeaderAttr|{{{duration|}}}|uom=s|icon=[[File:AttributeIconTechDuration.png|20px|link=]]}}
       </div>
       </div>
     </div>
     </div>
     <div style="display:flex; flex-direction:column; align-items: end; padding: 20px 0 20px 0">
     <div style="display:flex; flex-direction:column; align-items: end; padding: 20px 0 20px 0">
       <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;">
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{num_of_charges|}}}|icon=AttributeIconMaxChargesIncrease.png|style=margin-right: 0;}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{num_of_charges|}}}|icon=[[File:AttributeIconMaxChargesIncrease.png|20px|link=]]|style=margin-right: 0;}}
         {{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}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{charge_cooldown|}}}|uom=s|icon=[[File:AttributeIconTechCooldownBetweenChargeUses.png|15px|link=Cooldowns]]|style=font-size: 12px; background-color: #242424; margin-right: 0;}}
       </div>
       </div>
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{cooldown|}}}|uom=s|icon=AttributeIconTechCooldown.png}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{cooldown|}}}|uom=s|icon=[[File:AttributeIconTechCooldown.png|20px|link=Cooldowns]]}}
     </div>
     </div>
   </div>
   </div>
Line 48: Line 48:


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

Revision as of 22:32, 24 September 2024

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