daggerheart/templates/sheets/items/domainCard/header.hbs
WBHarry 8c84edddad
[PR][Feature] 798 - Attribution (#986)
* Added attribution for items, adversary and environment

* Added Attribution to all adversaries

* Added attribution to environments

* Added attribution for class and subclass

* Added Attribution to Ancestry/Community

* Added Attribution for Beastforms

* Added Attribution to DomainCards

* Added Attribution for wepaons

* Attribution for Armor/Loot/Consumables

* Added a setting to hide attribution
2025-08-18 11:44:59 +10:00

29 lines
No EOL
1.4 KiB
Handlebars

<header class='item-card-header'>
<img class='profile' src='{{source.img}}' data-action='editImage' data-edit='img' />
<div class="item-icons-list">
<span class="item-icon">
<span class="recall-label">{{localize "DAGGERHEART.ITEMS.DomainCard.recallCost"}}</span>
<span class="recall-value">{{source.system.recallCost}}</span>
<i class="fa-solid fa-bolt"></i>
</span>
<span class="item-icon">
<span class="recall-label">{{localize @root.domain.label}}</span>
<img src="{{@root.domain.src}}" alt="">
</span>
</div>
<div class='item-info'>
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
<div class='item-description'>
<h3>{{localize 'TYPES.Item.domainCard'}}</h3>
<h3>
{{localize (concat 'DAGGERHEART.CONFIG.DomainCardTypes.' source.system.type)}}
<span>-</span>
{{localize @root.domain.label}}
<span>-</span>
{{localize "DAGGERHEART.GENERAL.level"}}:
{{source.system.level}}
</h3>
</div>
{{#if (and showAttribution source.system.attributionLabel)}} <div class="attribution-header-label">{{source.system.attributionLabel}}</div>{{/if}}
</div>
</header>