<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_test" }}</h3>
  </div>
  <div class="reliability-meta flexrow flex-wrap">
    <span class="reliability-meta-item"><strong>{{ localize "VERMINE.reliability_severity" }}:</strong> {{severityLabel}}</span>
    <span class="reliability-meta-item"><strong>{{ localize "VERMINE.reliability" }}:</strong> {{oldReliability}}</span>
  </div>
  <ul class="flexrow reliability-results">
    {{#each results}}
    <li class="reliability-die {{#if this.isDamage}}damage{{/if}}">{{this.value}}</li>
    {{/each}}
  </ul>
  <div class="reliability-summary flexrow flex-wrap">
    <span><strong>{{ localize "VERMINE.reliability_damages" }}:</strong> {{dommages}}</span>
    <span><strong>{{ localize "VERMINE.reliability" }}:</strong> {{oldReliability}} → {{newReliability}}</span>
    {{#if state}}<span><strong>{{ localize "VERMINE.reliability_state" }}:</strong> {{state}}</span>{{/if}}
  </div>
  {{#each traitsNotes}}<p class="reliability-note">{{this}}</p>{{/each}}
  {{#if destroyed}}<p class="reliability-destroyed">{{ localize "VERMINE.reliability_destroyed" }}</p>{{/if}}
</div>
