fvtt-rolemaster-frp/templates/sheets/actors/parts/actor-fav-spells.html

20 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2024-07-26 09:20:48 +02:00
<table>
<th><div class="spell-name spell-headeritem">{{ localize "rmfrp.pc_sheet_spell.name" }}</div></th>
<th><div class="spell-entry spell-headeritem">{{ localize "rmfrp.pc_sheet_spell.area_of_effect" }}</div></th>
<th><div class="spell-entry spell-headeritem">{{ localize "rmfrp.pc_sheet_spell.duration" }}</div></th>
<th><div class="spell-entry spell-headeritem">{{ localize "rmfrp.pc_sheet_spell.range" }}</div></th>
<th><div class="spell-entry spell-headeritem">{{ localize "rmfrp.pc_sheet_spell.type" }}</div></th>
2024-07-26 09:20:48 +02:00
{{#each spells as |spell id|}}
{{#if spell.system.favorite}}
<tr class="item" data-item-id="{{spell._id}}">
<td><div class="spell-name">
<h4>{{spell.name}}</h4>
</div></td>
<td><div class="spell-entry item-prop">{{spell.system.area_of_effect}}</div></td>
<td><div class="spell-entry item-prop">{{spell.system.duration}}</div></td>
<td><div class="spell-entry item-prop">{{spell.system.range}}</div></td>
<td><div class="spell-entry item-prop">{{spell.system.type}}</div></td>
</tr>
{{/if}}
{{/each}}
</table>