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 5: Line 5:
   <!-- HEADER -->
   <!-- HEADER -->
   <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212; font-size: 14px;">     
   <div style="display:flex; flex-direction:row; justify-content: space-between; width: 100%; background: #121212; font-size: 14px;">     
     <div style="display:flex; flex-direction:column; padding: 10px">
     <div style="display:flex; flex-direction:column; padding: 20px">
       <div style="font-size: 26px">{{{name}}}</div>
       <div style="font-size: 26px">{{{name}}}</div>
       <div style="display:flex; flex-direction:row;">
       <div style="display:flex; flex-direction:row;">
      {{#if: {{{range|}}}|<div style="background-color: #2C2C2C; margin-right: 20px; padding: 1px 3px 1px 3px">{{Icon/Grey|[[File:CastRange.png|20px]]|{{ValueAndUom|{{{range}}}|m|uom_style=font-size: 10px; color: #9C9C9C}}}}</div>}}{{#if: {{{radius|}}}|<div style="background-color: #2C2C2C; margin-right: 20px; padding: 1px 3px 1px 3px; border-radius: 1px">{{Icon/Grey|[[File:AttributeIconTechRange.png|20px]]|{{ValueAndUom|{{{radius}}}|m|uom_style=font-size: 10px; color: #9C9C9C}}}}</div>}}{{#if: {{{ability_width|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px; border-radius: 1px">{{{ability_width}}}</div>}}{{#if: {{{duration|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px">{{{duration}}}</div>}}
        {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{range|}}}|uom=m|icon=CastRange.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|{{{duration|}}}|uom=m|icon=AttributeIconMaxChargesIncrease.png}}
       </div>
       </div>
     </div>
     </div>
     <div style="display:flex; flex-direction:column; padding: 10px">
     <div style="display:flex; flex-direction:column; padding: 20px">
       <div style="display:flex; flex-direction:row;">
       <div style="display:flex; flex-direction:row;">
         {{#if: {{{num_of_charges|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px; border-radius: 1px">{{Icon/Grey|[[File:AttributeIconMaxChargesIncrease.png|20px]]|{{{num_of_charges|}}}}}</div>}}{{#if: {{{charge_cooldown|}}}|<div style="background-color: #242424; padding: 1px 3px 1px 3px; border-radius: 1px">{{Icon/Grey|[[File:AttributeIconTechCooldown.png|20px]]|{{ValueAndUom|{{{charge_cooldown}}}|m|uom_style=font-size: 10px; color: #9C9C9C}}}}</div>}}
         {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{num_of_charges|}}}|icon=AttributeIconMaxChargesIncrease.png}}
        {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{charge_cooldown|}}}|uom=s|icon=AttributeIconTechCooldown.png}}
       </div>
       </div>
      {{#if: {{{cooldown|}}}|<div style="background-color: #2C2C2C; padding: 1px 3px 1px 3px; border-radius: 1px">{{Icon/Grey|[[File:AttributeIconTechCooldown.png|20px]]|{{ValueAndUom|{{{cooldown}}}|m|uom_style=font-size: 10px; color: #9C9C9C}}}}</div>}}
        {{User:Saag/Sandbox/AbilityCard/HeaderAttr|{{{cooldown|}}}|uom=s|icon=AttributeIconTechCooldown.png}}
     </div>
     </div>
   </div>
   </div>
Line 36: Line 40:
</div></includeonly>
</div></includeonly>
<noinclude>
<noinclude>
{{#invoke:AbilityData|get_ability_card|Bebop|2|true}}
{{#invoke:AbilityData|get_ability_card|Wraith|1|true}}
</noinclude>
</noinclude>

Revision as of 22:19, 22 September 2024


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