foundryvtt-reve-de-dragon/templates/chat-compendium-table.hbs

22 lines
582 B
Handlebars
Raw Permalink Normal View History

<div>
<img class="chat-icon" src="{{img}}" data-tooltip="{{typeName}}" />
<h4>Table aléatoire: {{typeName}}</h4>
{{#with (lookup table 0) as |row|}}
<div>
{{row.document.pack}}
</div>
{{/with}}
<br>
</div>
<div>
<ul class="flexcol item-list alterne-list">
{{#each table as |row|}}
2024-10-16 23:29:18 +02:00
<li class="item list-item ">
<span class="flex-group-left">
{{row.min}}{{#unless (eq row.min row.max)}}-{{row.max}}{{/unless}}&nbsp;: {{linkCompendium row.document.pack row.document.id row.document.name}}
</span>
</li>
{{/each}}
</ul>
</div>