daggerheart/templates/ui/tooltip/effect.hbs
WBHarry 4aab5d315a
[V14] 1604 - ActiveEffect Durations (#1634)
* Added daggerheart durations and auto expiration of them

* Added duration to all tier1 adversaries

* Finished all adversaries and environments

* Remaining compendiums updated

* Improved styling of duration in tooltips

* .
2026-02-17 18:57:03 +01:00

15 lines
No EOL
625 B
Handlebars

<div class="daggerheart dh-style tooltip card-style">
<img class="tooltip-image" src="{{item.img}}" />
<h2 class="tooltip-title">{{item.name}}</h2>
{{#if description}}
<div class="tooltip-description">{{{description}}}</div>
{{/if}}
{{#if item.system.duration.type}}
<div class="tooltip-duration">
<div class="duration-inner-container">
<span>{{localize "EFFECT.DURATION.Label"}}:</span>
<span>{{localize (concat "DAGGERHEART.CONFIG.ActiveEffectDuration." item.system.duration.type )}}</span>
</div>
</div>
{{/if}}
</div>