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

From The Deadlock Wiki
Jump to navigation Jump to search
No edit summary
Vergir (talk | contribs)
Note why container-type is set inline here (with help from vergir-bot LLM)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div id="ability-upgrade-{{{cost}}}" data-index="{{{index}}}" tabindex=0 class="cdx-button cdx-button--action-progressive ability-upgrade">
<div id="ability-upgrade-{{{cost}}}" data-index="{{{index}}}" tabindex=0 class="cdx-button cdx-button--action-progressive ability-upgrade">
   <div class="ability-upgrade-header">{{Ap|{{{cost}}}|icon_size=15px}}</div>
   <div class="ability-upgrade-header">{{Ap|{{{cost}}}|icon_size=15px}}</div>
   <div class="ac-upgrade-desc" style="font-size: clamp(0.60em, 2vw, {{{fontsize|1em}}});">{{{description}}}</div>
   <!-- container-type is inline because TemplateStyles strips it; the description's cqw size measures against this box. -->
  <div class="ac-upgrade-descwrap" style="container-type: inline-size;"><div class="ac-upgrade-desc" style="font-size: {{{fontsize|0.9rem}}}; line-height: {{{lineheight|1.4}}};">{{{description}}}</div></div>
<div>{{#if: {{{scale_type|}}}|{{Ability card v2/Card/Scaling|{{{scale_value}}}|scale_type={{{scale_type}}}}}}}</div>
<div>{{#if: {{{scale_type|}}}|{{Ability card v2/Card/Scaling|{{{scale_value}}}|scale_type={{{scale_type}}}}}}}</div>
</div></includeonly>
</div></includeonly>

Latest revision as of 19:14, 1 August 2026


Project Mind


Cast Range 25m






Number of Charges 0


Cooldown 46s



Teleport to the targeted location.
Barrier:



25m

Cast Range
Barrier:

x0


0

Barrier

0s  Barrier Duration

Ability Point1
15m Cast Range
Ability Point2
300 Barrier for 5s. Barrier scales with Spirit Power.
Ability Point5
-32s Cooldown

Button functionality is handled by MediaWiki:Gadget-ability-upgrades.js.