<div class="chat-message-header">
  <img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
  <h4 class=chat-actor-name>{{alias}}</h4>
</div>

  <hr>

  <div >
    <img class="chat-icon" src="{{img}}" alt="{{name}}" />
    <h4>
    {{#if (eq mode "stat")}}  
    Statistic : {{stat.label}}
    {{else}}
      {{#if (eq mode "spec")}}
        Technique : {{spec.name}}
      {{else}}
        {{#if (eq mode "weapon")}}
          Weapon attack : {{weapon.name}}   
        {{/if}}
      {{/if}}
    {{/if}}
    </h4>
  </div>

  <div class="flexcol">
    </div>

    <div>
      <ul>
        {{#if (eq mode "weapon")}}
        <li>Effect description : {{weapon.data.effectdescription}}</li>
        {{/if}}
        <li><strong>Final Result : {{finalScore}}</strong>
        
        {{#if linkedRollId}}
        <li><button class="chat-card-button apply-defense-roll" data-roll-score="{{finalScore}}" data-roll-id="{{@root.rollId}}" data-actor-id="{{actorId}}" data-defender-id="{{defenseAttackerId}}">Use this Roll as defense</button></li>
        {{/if}}

      </ul>  
    </div>

  </div>
