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.

83 lines
2.8 KiB

1 year ago
1 year ago
1 year ago
  1. <form class="{{cssClass}} flexcol" autocomplete="off">
  2. {{!-- Item Sheet Header --}}
  3. <header class="sheet-header flexrow">
  4. <img class="profile" src="{{item.img}}" data-tooltip="{{item.name}}" data-edit="img"/>
  5. <div class="header-details flexrow">
  6. <h1 class="charname">
  7. <input name="name" type="text" value="{{item.name}}" placeholder="{{ localize 'DND5E.ItemName' }}"/>
  8. </h1>
  9. <div class="item-subtitle">
  10. <h4 class="item-type">{{itemType}}</h4>
  11. <span class="item-status">{{itemStatus}}</span>
  12. </div>
  13. <ul class="summary flexrow">
  14. <li>
  15. <select name="system.rarity">
  16. {{selectOptions config.itemRarity selected=system.rarity blank=""}}
  17. </select>
  18. </li>
  19. <li>
  20. <input type="text" name="system.source" value="{{system.source}}" placeholder="{{ localize 'DND5E.Source' }}"/>
  21. </li>
  22. </ul>
  23. </div>
  24. </header>
  25. {{!-- Item Sheet Navigation --}}
  26. <nav class="sheet-navigation tabs" data-group="primary">
  27. <a class="item active" data-tab="description">{{ localize "DND5E.Description" }}</a>
  28. <a class="item" data-tab="details">{{ localize "DND5E.Details" }}</a>
  29. </nav>
  30. {{!-- Item Sheet Body --}}
  31. <section class="sheet-body">
  32. {{!-- Description Tab --}}
  33. {{> "dnd5e.item-description"}}
  34. {{!-- Details Tab --}}
  35. <div class="tab details" data-group="primary" data-tab="details">
  36. <h3 class="form-header">{{localize 'DND5E.ItemContainerDetails'}}</h3>
  37. <div class="form-group stacked">
  38. <label>{{ localize "DND5E.ItemContainerStatus" }}</label>
  39. <label class="checkbox">
  40. <input type="checkbox" name="system.equipped" {{ checked system.equipped }}>
  41. {{ localize "DND5E.Equipped" }}
  42. </label>
  43. </div>
  44. <div class="form-group">
  45. <label>{{localize 'DND5E.ItemContainerCapacity'}}</label>
  46. <div class="form-fields">
  47. {{numberInput system.capacity.value name="system.capacity.value" placeholder="&mdash;"}}
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label>{{localize 'DND5E.ItemContainerCapacityType'}}</label>
  52. <select name="system.capacity.type">
  53. {{selectOptions config.itemCapacityTypes selected=system.capacity.type}}
  54. </select>
  55. </div>
  56. <div class="form-group">
  57. <label>{{localize "DND5E.Attunement"}}</label>
  58. <select name="system.attunement" data-dtype="Number">
  59. {{selectOptions config.attunements selected=system.attunement}}
  60. </select>
  61. </div>
  62. <div class="form-group stacked">
  63. <label>{{localize 'DND5E.ItemContainerProperties'}}</label>
  64. <label class="checkbox">
  65. <input type="checkbox" name="system.capacity.weightless" {{checked system.capacity.weightless}}>
  66. {{localize 'DND5E.ItemContainerWeightless'}}
  67. </label>
  68. </div>
  69. </section>
  70. </form>