forked from GitHub-Mirrors/foundry-sw5e
Add files via upload
This commit is contained in:
parent
3abfb6b88f
commit
30ff0a63ff
5 changed files with 142 additions and 0 deletions
18
templates/chat/tool-card.html
Normal file
18
templates/chat/tool-card.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<div class="sw5e chat-card item-card" data-actor-id="{{actor._id}}" data-item-id="{{item._id}}" {{#if tokenId}}data-token-id="{{tokenId}}"{{/if}}>
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{item.img}}" title="{{item.name}}" width="36" height="36"/>
|
||||
<h3>{{item.name}}</h3>
|
||||
</header>
|
||||
|
||||
<div class="card-content">{{{data.description.value}}}</div>
|
||||
|
||||
<div class="card-buttons">
|
||||
<button data-action="toolCheck" data-ability="{{data.ability.value}}">{{ localize "SW5E.Use" }} {{item.name}}</button>
|
||||
</div>
|
||||
|
||||
<footer class="card-footer">
|
||||
{{#each data.properties}}
|
||||
<span>{{this}}</span>
|
||||
{{/each}}
|
||||
</footer>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue