Files
fvtt-adventures-with-emmy/templates/ability.hbs
T
2026-03-06 08:06:57 +01:00

51 lines
1.8 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.
<section>
<div class="item-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>
<div class="item-body">
<div class="form-row">
<div class="form-group">
<label>{{localize "AWEMMY.Ability.TypeLabel"}}</label>
{{formField systemFields.abilityType value=system.abilityType localize=true}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.CostLabel"}}</label>
{{formField systemFields.cost value=system.cost localize=true}}
</div>
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Frequency"}}</label>
{{formInput systemFields.frequency value=system.frequency}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Requirements"}}</label>
{{formInput systemFields.requirements value=system.requirements}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Trigger"}}</label>
{{formInput systemFields.trigger value=system.trigger}}
</div>
<div class="form-group-tags">
<label>{{localize "AWEMMY.Ability.Traits"}}</label>
<div class="tags-list">
{{#each system.traits}}
<span class="tag">{{this}} <a data-action="removeTrait" data-index="{{@index}}">×</a></span>
{{/each}}
<input type="text" class="new-tag" data-action="addTrait" placeholder="{{localize 'AWEMMY.Ability.AddTrait'}}" />
</div>
</div>
<fieldset>
<legend>Description</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</div>
</section>