|
<div class="pf2e chat-card weapon-card" data-actor-id="{{actor.id}}" data-item-id="{{item.id}}" {{#if tokenId}}data-token-id="{{tokenId}}"{{/if}}>
|
|
<header class="card-header flexrow">
|
|
<img src="{{item.img}}" alt="{{item.name}}" />
|
|
<h3>{{item.name}}</h3>
|
|
</header>
|
|
|
|
<div class="tags" data-tooltip-class="pf2e">
|
|
{{#if (and item.isIdentified (ne item.rarity "common"))}}
|
|
<span
|
|
class="tag rarity {{item.rarity}}"
|
|
data-trait="{{item.rarity}}"
|
|
data-tooltip="{{data.rarity.description}}"
|
|
>{{localize data.rarity.label}}</span>
|
|
{{/if}}
|
|
{{#each data.traits as |trait|}}
|
|
{{#unless trait.mystified}}
|
|
<span class="tag" data-trait="{{trait.name}}" data-tooltip="{{trait.description}}">{{localize trait.label}}</span>
|
|
{{/unless}}
|
|
{{/each}}
|
|
{{#each data.properties as |property|}}
|
|
<span class="tag tag_secondary">{{localize property}}</span>
|
|
{{/each}}
|
|
{{#if (and item.isIdentified data.material)}}<span class="tag tag_material">{{data.material}}</span>{{/if}}
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
{{{item.description}}}
|
|
</div>
|
|
|
|
<footer class="card-footer">
|
|
{{#if item.isIdentified}}
|
|
<span>{{localize "PF2E.Item.Physical.LevelLabel" level=item.level}}</span>
|
|
<span>{{localize "PF2E.Item.Physical.PriceLabel" price=(coinLabel item.price)}}</span>
|
|
{{/if}}
|
|
</footer>
|
|
</div>
|