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.

30 lines
1.3 KiB

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}}" title="{{item.name}}" width="36" height="36"/>
  4. <h3>{{item.name}}</h3>
  5. </header>
  6. <div class="tags">
  7. {{#if item.isIdentified}}
  8. <span class="tag {{data.rarity.name}}" data-trait="{{data.rarity.name}}" data-description="{{data.rarity.description}}"">{{localize data.rarity.label}}</span>
  9. {{/if}}
  10. {{#each data.traits as |trait|}}
  11. {{#unless trait.mystified}}
  12. <span class="tag" data-trait="{{this.name}}" data-description="{{this.description}}">{{localize trait.label}}</span>
  13. {{/unless}}
  14. {{/each}}
  15. {{#each data.properties as |property|}}
  16. <span class="tag tag_alt">{{localize property}}</span>
  17. {{/each}}
  18. </div>
  19. <div class="card-content">
  20. {{{item.description}}}
  21. </div>
  22. <footer class="card-footer">
  23. {{#if item.isIdentified}}
  24. <span>{{localize "PF2E.Item.Physical.LevelLabel" level=item.level}}</span>
  25. <span>{{localize "PF2E.Item.Physical.PriceLabel" price=(coinLabel item.price)}}</span>
  26. {{/if}}
  27. </footer>
  28. </div>