Files
2026-05-05 13:55:42 +02:00

37 lines
1.6 KiB
Handlebars

<section class="mgne-sheet">
<div class="sheet-header">
<img class="item-portrait" src="{{item.img}}" data-edit="img" data-action="editImage" alt="{{item.name}}" />
<div class="header-fields">
<input type="text" name="name" value="{{source.name}}" />
</div>
</div>
<div class="item-form-grid item-form-grid-two">
<div class="item-form-row">
<label>{{localize "MGNE.Common.ArmorDie"}}</label>
<select name="system.armorDie">
{{#each selectOptions.armorDice}}
<option value="{{value}}" {{#if (isEqual ../source.system.armorDie value)}}selected{{/if}}>{{label}}</option>
{{/each}}
</select>
</div>
<div class="item-form-row">
<label>{{localize "MGNE.Common.Penalty"}}</label>
<select name="system.penalty">
{{#each selectOptions.penalties}}
<option value="{{value}}" {{#if (isEqual ../source.system.penalty value)}}selected{{/if}}>{{label}}</option>
{{/each}}
</select>
</div>
</div>
<div class="item-check-grid check-grid">
<label><input type="checkbox" name="system.equipped" {{#if source.system.equipped}}checked{{/if}} /> {{localize "MGNE.Common.Equipped"}}</label>
<label><input type="checkbox" name="system.broken" {{#if source.system.broken}}checked{{/if}} /> {{localize "MGNE.Common.Broken"}}</label>
</div>
<div class="inventory-header">
<h3>{{localize "MGNE.Common.Description"}}</h3>
</div>
<fieldset>
{{formInput systemFields.description enriched=(lookup enrichedFields "description") value=system.description name="system.description" toggled=true}}
</fieldset>
</section>