foundryvtt-reve-de-dragon/templates/chat-resultat-rdd.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2020-12-31 02:08:58 +01:00
<h4>
{{#if show.title}}{{show.title}}: {{/if}}
<br>
2020-12-31 02:08:58 +01:00
<span class="tooltip">
{{rolled.caracValue}} à {{numberFormat rolled.finalLevel decimals=0 sign=true}}
{{#if ajustements}}
<div class="tooltiptext ttt-ajustements">
2020-12-31 02:08:58 +01:00
<div>Ajustements</div>
{{#each ajustements as |item key|}}
<div class="{{#if item.strong}}strong-text{{/if}}" >{{item.label}}: {{numberFormat item.value decimals=0 sign=true}}{{#if item.unit}}{{item.unit}}{{/if}}</div>
{{/each}}
</div>
{{/if}}
</span>
{{#if rolled.needSignificative}}<label class="rdd-need-significative">(&times;&frac12;)</label>{{/if}} =
{{rolled.score}}%
</h4>
<div><span>{{rolled.roll}} : </span><span class="rdd-roll-{{rolled.code}} strong-text">{{rolled.quality}}</span></div>
2020-12-31 02:08:58 +01:00
{{#if show.points}}
<hr>
2020-12-31 02:08:58 +01:00
<div>
<span>{{rolled.ptTache}} points de tâche{{#if rolled.ptQualite}}, ajustement Qualité {{numberFormat rolled.ptQualite decimals=0 sign=true}}{{/if}}</span>
</div>
{{/if}}
{{~#if show.explications}}
{{#unless show.points}}<hr>{{/unless}}
2020-12-31 02:08:58 +01:00
<div>
{{show.explications}}
</div>
{{/if}}