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)
No edit summary
Line 6: Line 6:
     <div style="display:flex; flex-direction:column; padding: 10px">
     <div style="display:flex; flex-direction:column; padding: 10px">
       <div style="font-size: 26px">{{{name}}}</div>
       <div style="font-size: 26px">{{{name}}}</div>
       <div>{{{radius|}}}</div>
       {{#if: {{{radius|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px">[[File:AttributeIconTechRange.png|20px]]{{{radius}}}</div>}}{{#if: {{{range|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px">{{{range}}}</div>}}{{#if: {{{ability_width|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px">{{{ability_width}}}</div>}}{{#if: {{{duration|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px">{{{duration}}}</div>}}
      <div>{{{range|}}} </div>
      <div>{{{ability_width|}}} </div>
      <div>{{{duration|}}}</div>
     </div>
     </div>
     <div style="display:flex; flex-direction:column; padding: 10px">
     <div style="display:flex; flex-direction:column; padding: 10px">
       <div style="display:flex; flex-direction:row;">
       <div style="display:flex; flex-direction:row;">
         <div>{{{num_of_charges|}}}</div>
         {{#if: {{{num_of_charges|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px">[[File:AttributeIconMaxChargesIncrease.png|20px]]{{{num_of_charges|}}}</div>}}{{#if: {{{charge_cooldown|}}}|<div style="background-color: #242424; padding: 1px 3px 1px 3px">[[File:AttributeIconTechCooldown.png|20px]]{{{charge_cooldown|}}}</div>}}
        <div>{{{charge_cooldown|}}}</div>  
       </div>
       </div>
       <div>{{{cooldown|}}}</div>
       {{#if: {{{cooldown|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px">[[File:AttributeIconTechCooldown.png|20px]]{{{cooldown|}}}</div>}}
     </div>
     </div>
   </div>
   </div>
Line 38: Line 33:
</div></includeonly>
</div></includeonly>
<noinclude>
<noinclude>
{{#invoke:AbilityData|get_ability_card|Grey Talon|3|true}}
{{#invoke:AbilityData|get_ability_card|Bebop|4|true}}
</noinclude>
</noinclude>

Revision as of 19:54, 22 September 2024


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