Template:Ability card v2/Card/UpgradeBox: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Saag (talk | contribs)
Saag (talk | contribs)
Updated aesthetic to match in game
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; max-height: 120px; {{#ifeq: {{{scale_type}}} | spirit | background: rgb(42,41,43);
<div style="display:flex; flex-direction:column; flex-grow: 1; flex-basis: 0; justify-content: flex-start; max-height: 120px; background-color: #555555; padding: 0 0px 20px 0px; margin: 6px; text-align: center; box-shadow: 0 0 10px #2A2A2A; border-radius: 5px">
background: radial-gradient(circle, rgba(42,41,43,1) 0%, rgba(59,49,69,1) 100%);  |background-color: #2A2A2A}}; padding: 20px 0px 20px 0px; margin: 5px; text-align: center; border: 3px solid {{#ifeq: {{{scale_type}}} | spirit | #583D6F | #2A2A2A}}; box-shadow: 0 0 10px {{#ifeq: {{{scale_type}}} | spirit | #3d2c4d | #2A2A2A}}; border-radius: 1px">
   <div style="padding: 2px 0 0 2px; font-size: clamp(0.70em, 2vw, 1em); background-color: #121212; border-radius: 5px 5px 0 0; ">{{Ap|{{{cost}}}|icon_size=15px}}</div>
  {{#ifeq: {{{scale_type}}}|spirit|
   <div style="padding: 10px 4px 4px 4px; font-size: clamp(0.70em, 2vw, {{{fontsize|1em}}});">{{{description}}}</div>
   <div style="position: relative;">
<div>{{#ifeq: {{{scale_type}}}|spirit|{{Ability card v2/Spirit mult|{{{scale_value}}}}}}}</div>
    <div style="position: absolute; top: -40px; right: -2px">
    {{Ability card v2/Spirit mult|{{{scale_value}}}}}
    </div>
  </div>}}
  <div style="font-size: clamp(0.70em, 2vw, 1em);">{{Ap|{{{cost}}}}}</div>
   <div style="font-size: clamp(0.70em, 2vw, {{{fontsize|1em}}}); padding: 5px;">{{{description}}}</div>
</div></includeonly>
</div></includeonly>
<noinclude>
<noinclude>
{{#invoke:AbilityData|get_ability_card|Lash|1|true}}
{{#invoke:AbilityData|get_ability_card|Infernus|2|false}}
</noinclude>
</noinclude>

Revision as of 12:40, 28 September 2024


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