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

21 lines
568 B
HTML
Raw Permalink Normal View History

<div>
<img class="chat-icon" src="{{img}}" alt="{{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|}}
<li class="select-target item list-item" >
<span>{{row.min}}{{#unless (eq row.min row.max)}}-{{row.max}}{{/unless}} : &nbsp;</span>
<span>{{linkCompendium row.document.pack row.document.id row.document.name}}</span>
</li>
{{/each}}
</ul>
</div>