<div class="skill-item">
  <label for="system.skills.{{key}}.value" class="resource-label rollable" data-type="skill" data-label="{{key}}" title="{{ smarttlk 'SKILLS' key 'name' }} - {{ localize (concat 'VERMINE.rarity_' skill.rarity) }}">
    {{ smarttlk 'SKILLS' key 'name' }}
    {{#if skill.rarity}}
      <span class="rarity-badge rarity-{{skill.rarity}}" title="{{ localize (concat 'VERMINE.rarity_' skill.rarity) }}">
        {{skill.rarity}}
      </span>
    {{/if}}
  </label>
  <div class="skill-control">
    {{#if @root.isEditMode}}
    <input 
      type="range" 
      name="system.skills.{{key}}.value" 
      value="{{skill.value}}" 
      min="{{skill.min}}" 
      max="{{skill.max}}" 
      data-dtype="Number"
    />
    {{/if}}
    <span class="skill-value">{{skill.value}}D</span>
  </div>
</div>
