Files
T

87 lines
3.1 KiB
Handlebars
Raw Permalink 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-row">
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Range"}}</label>
{{formInput systemFields.range value=system.range}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Targets"}}</label>
{{formInput systemFields.targets value=system.targets}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.Duration"}}</label>
{{formInput systemFields.duration value=system.duration}}
</div>
</div>
<div class="form-row">
<div class="form-group">
<label>{{localize "AWEMMY.Ability.IsDaily"}}</label>
{{formInput systemFields.isDaily value=system.isDaily}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Ability.FlowPointCost"}}</label>
{{formInput systemFields.flowPointCost value=system.flowPointCost}}
</div>
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Item.RollBonus"}}</label>
{{formInput systemFields.rollBonus value=system.rollBonus placeholder="e.g. 2 to Recall Knowledge"}}
</div>
<div class="form-group-tags">
<label>{{localize "AWEMMY.Ability.Traits"}}</label>
<div class="tags-list">
{{#each system.traits}}
<span class="tag" data-tooltip="{{traitTooltip this}}">{{this}} <a data-action="removeTrait" data-index="{{@index}}">×</a></span>
{{/each}}
<input type="text" class="new-tag" data-action="addTrait"
list="awemmy-trait-suggestions"
placeholder="{{localize 'AWEMMY.Ability.AddTrait'}}" />
<datalist id="awemmy-trait-suggestions">
{{#each traitSuggestions}}<option value="{{this}}">{{/each}}
</datalist>
</div>
</div>
<fieldset>
<legend>{{localize "AWEMMY.Item.Description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</div>
</section>