Files
2026-01-14 14:16:31 +01:00

52 lines
1.9 KiB
Handlebars

<section>
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
{{!-- Is this the character's Core Skill? --}}
<div class="form-group">
<label>{{localize "PRISMRPG.Label.isCoreSkill"}}</label>
<input type="checkbox" name="system.isCoreSkill" {{checked system.isCoreSkill}} />
<p class="hint">{{localize "PRISMRPG.Hint.isCoreSkill"}}</p>
</div>
{{!-- First Sub-Attribute for Skill Checks --}}
<div class="form-group">
<label>{{localize "PRISMRPG.Label.subAttribute1"}}</label>
<select name="system.subAttribute1">
{{#each config.SUB_ATTRIBUTES}}
<option value="{{@key}}" {{#if (eq ../system.subAttribute1 @key)}}selected{{/if}}>
{{localize this.label}}
</option>
{{/each}}
</select>
<p class="hint">First sub-attribute used for skill checks</p>
</div>
{{!-- Second Sub-Attribute for Skill Checks --}}
<div class="form-group">
<label>{{localize "PRISMRPG.Label.subAttribute2"}}</label>
<select name="system.subAttribute2">
{{#each config.SUB_ATTRIBUTES}}
<option value="{{@key}}" {{#if (eq ../system.subAttribute2 @key)}}selected{{/if}}>
{{localize this.label}}
</option>
{{/each}}
</select>
<p class="hint">Second sub-attribute used for skill checks</p>
</div>
{{!-- Notes --}}
<fieldset>
<legend>{{localize "PRISMRPG.Label.notes"}}</legend>
{{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
</fieldset>
{{!-- Description --}}
<fieldset>
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</section>