Files
hbm-foundry-system/templates/item/race.hbs
T
2026-06-09 22:06:56 +02:00

26 lines
1.4 KiB
Handlebars
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="hbm item-body race">
<div class="row">
<label>{{localize 'HBM.race.attributePoints'}}: <input type="number" name="system.attributePoints" value="{{system.attributePoints}}" min="0"/></label>
<label>{{localize 'HBM.race.skillPoints'}}: <input type="number" name="system.skillPoints" value="{{system.skillPoints}}" min="0"/></label>
</div>
<label>{{localize 'HBM.race.physicalDescription'}}<input type="text" name="system.physicalDescription" value="{{system.physicalDescription}}"/></label>
<fieldset>
<legend>{{localize 'HBM.race.traits'}}
<button type="button" data-action="addArrayEntry" data-path="system.traits"
data-template='{"name":"","description":""}' title="{{localize 'HBM.ui.add'}}"></button>
</legend>
{{#each system.traits as |t idx|}}
<div class="row">
<input type="text" name="system.traits.{{idx}}.name" value="{{t.name}}"
placeholder="{{localize 'HBM.ui.name'}}" />
<input type="text" name="system.traits.{{idx}}.description" value="{{t.description}}"
placeholder="{{localize 'HBM.gear.description'}}" />
<button type="button" data-action="removeArrayEntry" data-path="system.traits" data-index="{{idx}}">✕</button>
</div>
{{/each}}
</fieldset>
<label>{{localize 'HBM.race.description'}}<textarea name="system.description"
rows="6">{{system.description}}</textarea></label>
</div>