foundry-dsa41-game/src/templates/ui/partial-equipment-button.hbs

23 lines
610 B
Handlebars

<table class="inventory-table">
<thead>
<tr>
<th colspan="2"></th>
<th>Anzahl</th>
<th>Gewicht</th>
</tr>
</thead>
<tbody>
{{#each this}}
<tr class="equipment" data-item-id="{{this.id}}" draggable="true">
<td class="icon"><img alt="" src="{{this.icon}}" width="16" height="16"></td>
<td class="name">{{this.name}}</td>
<td class="quantity">{{this.quantity}}</td>
<td class="weight">{{#if this.worn}}({{/if}}{{this.weight}}{{#if this.worn}}){{/if}}</td>
</tr>
{{/each}}
</tbody>
</table>