foundryvtt-reve-de-dragon/templates/common/compendium-link.hbs

21 lines
503 B
Handlebars
Raw Permalink Normal View History

2024-05-31 21:42:09 +02:00
<span draggable="true">
<a class="{{#if pack}}content-link{{else}}rdd-world-content-link{{/if}}"
2023-01-15 23:21:19 +01:00
data-id="{{id}}"
2024-05-31 21:42:09 +02:00
data-link=""
{{#if doctype}}
data-doctype="{{doctype}}"
data-type="{{doctype}}"
{{/if}}
{{#if pack}}
data-pack="{{pack}}"
data-uuid="Compendium.{{pack}}.{{id}}"
{{/if}} >
{{#if img}}
<img class="in-text-img" src="{{img}}" data-tooltip="{{name}}" />
{{else}}
<i class="fas fa-suitcase"></i>
{{/if}}
{{name}}
</a>
2023-01-15 23:21:19 +01:00
</span>