All user data for FoundryVTT. Includes worlds, systems, modules, and any asset in the "foundryuserdata" directory. Does NOT include the FoundryVTT installation itself.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.1 KiB

1 year ago
1 year ago
1 year ago
  1. <div class="pf2e chat-card item-card" data-actor-id="{{actor.id}}" data-item-id="{{item.id}}" {{#if tokenId}}data-token-id="{{tokenId}}"{{/if}}>
  2. <header class="card-header flexrow">
  3. <img src="{{item.img}}" alt="{{item.name}}" />
  4. <h3>
  5. {{item.name}}
  6. {{{actionGlyph item.system.actions.value}}}
  7. </h3>
  8. </header>
  9. <div class="tags" data-tooltip-class="pf2e">
  10. {{#unless (eq data.rarity.name "common")}}
  11. <span
  12. class="tag rarity {{item.rarity}}"
  13. data-trait="{{item.rarity}}"
  14. data-tooltip="{{data.rarity.description}}"
  15. >{{localize data.rarity.label}}</span>
  16. {{/unless}}
  17. {{#each data.traits as |trait|}}
  18. <span class="tag" data-trait="{{trait.name}}" data-tooltip="{{trait.description}}">{{localize trait.label}}</span>
  19. {{/each}}
  20. </div>
  21. <div class="card-content">
  22. {{{item.description}}}
  23. </div>
  24. <footer class="card-footer">
  25. {{#each data.properties}}
  26. <span>{{localize this}}</span>
  27. {{/each}}
  28. </footer>
  29. </div>