{{#if competences}} <div class="flex-shrink categorie-competence"> <ul class="item-list alterne-list competence-list"> <li class="item flexrow list-item "> <span> <header class="competence-header flexrow"> <span class="competence-title">{{categorie}}</span> </header> </span> {{#if @root.options.vueDetaillee}} <span class="competence-value" >Niv.</span> <span class="competence-xp">xp</span> {{#if (eq categorie 'Draconic')}} <span class="competence-xp-sort">sort</span> {{/if}} <div class="item-controls"> <i class="far fa-arrow-alt-circle-up"></i> <span class="competence-archetype">Arch.</span> <i class="far fa-edit"></i> {{#if @root.options.isGM}} <i class="far fa-trash"></i> {{/if}} </div> {{/if}} </li> {{#each competences as |comp key|}} {{> "systems/foundryvtt-reve-de-dragon/templates/actor/competence.html" comp}} {{/each}} <li></li> </ul> </div> {{/if}}