<div class="vermine-reliability-message">
  <div class="reliability-header flexrow">
    {{#if item.img}}<img src="{{item.img}}" alt="{{item.name}}">{{/if}}
    <h3>{{item.name}} — {{ localize "VERMINE.reliability_repair" }}</h3>
  </div>
  <div class="reliability-meta flexrow flex-wrap">
    <span class="reliability-meta-item"><strong>{{ localize "VERMINE.reliability_repair_mode" }}:</strong> {{modeLabel}}</span>
    <span class="reliability-meta-item"><strong>{{ localize "VERMINE.reliability_skill" }}:</strong> {{skillLabel}}</span>
    <span class="reliability-meta-item"><strong>{{ localize "VERMINE.difficulty" }}:</strong> {{difficulty}}</span>
    {{#if handicap}}<span class="reliability-meta-item"><strong>{{ localize "VERMINE.handicap" }}:</strong> +{{handicap}}</span>{{/if}}
    {{#if pratiqueHandicap}}<span class="reliability-meta-item"><strong>{{ localize "VERMINE.handicap" }}:</strong> +{{pratiqueHandicap}}</span>{{/if}}
  </div>
  {{#if autoSuccess}}
  <p class="reliability-note">{{ localize "VERMINE.reliability_auto_success" }}</p>
  {{else}}
  <ul class="flexrow reliability-results">
    {{#each results}}
    <li class="reliability-die {{#if this.isSuccess}}success{{/if}}">{{this.value}}</li>
    {{/each}}
  </ul>
  {{/if}}
  <div class="reliability-summary flexrow flex-wrap">
    <span><strong>{{ localize "VERMINE.reliability_successes" }}:</strong> {{successes}} / {{required}}</span>
    <span><strong>{{ localize "VERMINE.reliability_result" }}:</strong> {{resultLabel}}</span>
  </div>
  {{#if fortuneNote}}<p class="reliability-note">{{fortuneNote}}</p>{{/if}}
  {{#if bienConcuNote}}<p class="reliability-note">{{bienConcuNote}}</p>{{/if}}
  {{#if pratiqueNote}}<p class="reliability-note">{{pratiqueNote}}</p>{{/if}}
</div>
