foundryvtt-reve-de-dragon/templates/chat-compendium-table.html
Vincent Vandemeulebrouck 1208eb8ae1 Amélioration des tooltips
- title/alt remplacés par des data-tooltip
- description de ce que font les boutons
- description des items survolés
2023-12-04 02:32:26 +01:00

21 lines
563 B
HTML

<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|}}
<li class="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>