Files
fvtt-machine-gods-noxian-ex…/templates/shield.hbs
T

53 lines
2.3 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-three">
<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 class="item-form-row">
<label>{{localize "MGNE.Common.Weight"}}</label>
<select name="system.weight">
{{#each selectOptions.weightCategories}}
<option value="{{value}}" {{#if (isEqual ../source.system.weight value)}}selected{{/if}}>{{label}}</option>
{{/each}}
</select>
</div>
<div class="item-form-row">
<label>{{localize "MGNE.Common.DurabilityDie"}}</label>
<select name="system.durabilityDie">
{{#each selectOptions.usageDice}}
<option value="{{value}}" {{#if (isEqual ../source.system.durabilityDie 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>