Files
fvtt-celestopol/templates/npc-blessures.hbs

32 lines
1.4 KiB
Handlebars

<div class="tab blessures {{tab.cssClass}}" data-group="sheet" data-tab="blessures">
<section class="track-section">
<div class="track-header">
<span class="track-title">
{{localize "CELESTOPOL.Track.blessures"}}
<span class="track-help" title="{{localize 'CELESTOPOL.Track.blessuresTooltip'}}">?</span>
</span>
<span class="wound-malus">{{localize "CELESTOPOL.Track.currentMalus"}} :
<strong>{{lookup @root.woundLevels system.blessures.lvl 'malus'}}</strong>
</span>
</div>
<div class="track-boxes">
{{#each (range 8) as |lvl|}}
<div class="track-box {{#if (lte lvl ../system.blessures.lvl)}}filled{{/if}}"
{{#if ../isEditable}}data-action="trackBox" data-path="system.blessures.lvl" data-index="{{lvl}}"{{/if}}>
<span class="box-label">{{lookup @root.woundLevels lvl 'malus'}}</span>
</div>
{{/each}}
</div>
<div class="track-level">
<label>{{localize "CELESTOPOL.Track.level"}}</label>
<span>{{system.blessures.lvl}}</span>
</div>
</section>
{{!-- Notes (libres) --}}
<div class="description-section notes-section">
<div class="section-header"><i class="fas fa-note-sticky"></i> {{localize "CELESTOPOL.Actor.notes"}}</div>
{{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
</div>
</div>