foundryvtt-reve-de-dragon/templates/apps/textroll/link-text-roll-carac-competence.hbs

15 lines
602 B
Handlebars
Raw Normal View History

2025-01-12 20:00:13 +01:00
<span class="content-link roll-text-link"
data-code="{{param.code}}"
data-json="{{json-stringify param}}"
data-carac-code="{{param.carac.code}}"
{{#if param.competence}}data-competence="{{param.competence}}"{{/if~}}
{{#if param.diff}}data-diff="{{param.diff}}"{{/if~}}>
2025-01-12 20:00:13 +01:00
<a class="roll-text">
{{~uppercase param.carac.label~}}
{{#if param.competence}} / {{upperFirst param.competence}}{{/if~}}
{{#if param.diff}} à {{param.diff}}{{/if~}}</a>
2025-01-12 22:45:07 +01:00
{{~#if options.showlink}}
2025-01-12 20:00:13 +01:00
<a class="chat-roll-text" data-tooltip="Montrer"><i class="fas fa-comment"></i></a>
2025-01-12 22:45:07 +01:00
{{/if~}}
2025-01-12 20:00:13 +01:00
</span>