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

From The Deadlock Wiki
Jump to navigation Jump to search
Vergir (talk | contribs)
m Undo revision 67651 by Vergir, templatestyle does not support font-size: clamp()
Tag: Undo
Vergir (talk | contribs)
Note why container-type is set inline here (with help from vergir-bot LLM)
 
(6 intermediate revisions by 3 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.70em, 2vw, {{{fontsize|1em}}});">{{{description}}}</div>
   <!-- container-type is inline because TemplateStyles strips it; the description's cqw size measures against this box. -->
<div>{{#ifeq: {{{scale_type}}}|spirit|{{Ability card v2/Spirit mult|{{{scale_value}}}}}}}</div>
  <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></includeonly>
</div></includeonly>
<noinclude>
<noinclude>
{{#invoke:Abilities/card|get_ability_card|Wraith|2|false}}
{{#invoke:Abilities/card|get_ability_card|Wraith|2|false}}
Button functionality is handled by [[MediaWiki:Gadget-ability-upgrades.js]].
</noinclude>
</noinclude>

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.