Initial release for FoundryVTT
This commit is contained in:
20
templates/chat/item-card.hbs
Normal file
20
templates/chat/item-card.hbs
Normal file
@@ -0,0 +1,20 @@
|
||||
<section class="dnc-chat-card dnc-chat-card-item">
|
||||
<header class="chat-card-header">
|
||||
<div class="chat-card-heading">
|
||||
<p class="chat-card-kicker">Objet</p>
|
||||
<h2>{{item.name}}</h2>
|
||||
<p class="chat-card-subtitle">{{item.type}}</p>
|
||||
</div>
|
||||
</header>
|
||||
<div class="chat-item-body">
|
||||
{{#if item.img}}<img class="chat-item-image" src="{{item.img}}" alt="{{item.name}}">{{/if}}
|
||||
<div class="chat-item-content">
|
||||
<div class="chat-pill-row">
|
||||
{{#if usageLabel}}<span class="chat-pill">De d'usage {{usageLabel}}</span>{{/if}}
|
||||
{{#if item.system.degats}}<span class="chat-pill">Degats {{item.system.degats}}</span>{{/if}}
|
||||
</div>
|
||||
{{#if item.system.effet}}<p class="chat-note"><strong>Effet</strong> : {{item.system.effet}}</p>{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{#if item.system.description}}<div class="chat-description">{{{item.system.description}}}</div>{{/if}}
|
||||
</section>
|
||||
Reference in New Issue
Block a user