forked from public/foundryvtt-reve-de-dragon
Tirer dans les compendiums selon les fréquences
This commit is contained in:
16
templates/chat-compendium-table.html
Normal file
16
templates/chat-compendium-table.html
Normal file
@ -0,0 +1,16 @@
|
||||
<div>
|
||||
<img class="chat-icon" src="{{img}}" alt="{{typeName}}" />
|
||||
<h4>Table aléatoire: {{typeName}}</h4>
|
||||
<div>{{sourceCompendium}}</div>
|
||||
<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}} : </span>
|
||||
<span>{{linkCompendium @root.sourceCompendium row.document.id row.document.name}}</span>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
Reference in New Issue
Block a user