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.

100 lines
3.9 KiB

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. {{labels.featType}}
  16. </li>
  17. <li>
  18. <input type="text" name="system.requirements" value="{{system.requirements}}" placeholder="{{ localize 'DND5E.Requirements' }}"/>
  19. </li>
  20. <li>
  21. <input type="text" name="system.source" value="{{system.source}}" placeholder="{{ localize 'DND5E.Source' }}"/>
  22. </li>
  23. </ul>
  24. </div>
  25. </header>
  26. {{!-- Item Sheet Navigation --}}
  27. <nav class="sheet-navigation tabs" data-group="primary">
  28. <a class="item active" data-tab="description">{{ localize "DND5E.Description" }}</a>
  29. <a class="item" data-tab="details">{{ localize "DND5E.Details" }}</a>
  30. <a class="item" data-tab="effects">{{ localize "DND5E.Effects" }}</a>
  31. </nav>
  32. {{!-- Item Sheet Body --}}
  33. <section class="sheet-body">
  34. {{!-- Description Tab --}}
  35. {{> "dnd5e.item-description"}}
  36. {{!-- Details Tab --}}
  37. <div class="tab details" data-group="primary" data-tab="details">
  38. <h3 class="form-header">{{localize "DND5E.ItemFeatureDetails"}}</h3>
  39. {{!-- Feature Type --}}
  40. <div class="form-group">
  41. <label>{{localize "DND5E.ItemFeatureType"}}</label>
  42. <select name="system.type.value">
  43. {{selectOptions config.featureTypes selected=system.type.value blank="" labelAttr="label"}}
  44. </select>
  45. </div>
  46. {{#if featureSubtypes}}
  47. <div class="form-group">
  48. <label>
  49. {{localize "DND5E.ItemFeatureSubtype"
  50. category=(lookup (lookup config.featureTypes system.type.value) "label")}}
  51. </label>
  52. <select name="system.type.subtype">
  53. {{selectOptions featureSubtypes selected=system.type.subtype blank=""}}
  54. </select>
  55. </div>
  56. {{/if}}
  57. <h3 class="form-header">{{ localize "DND5E.FeatureUsage" }}</h3>
  58. {{!-- Item Activation Template --}}
  59. {{> "dnd5e.item-activation"}}
  60. {{!-- Recharge Requirement --}}
  61. {{#if system.activation.type}}
  62. <div class="form-group recharge">
  63. <label>{{ localize "DND5E.FeatureActionRecharge" }}</label>
  64. <div class="form-fields">
  65. <span>{{ localize "DND5E.FeatureRechargeOn" }}</span>
  66. {{numberInput system.recharge.value name="system.recharge.value"
  67. placeholder=(localize "DND5E.FeatureRechargeResult")}}
  68. <label class="checkbox">
  69. {{ localize "DND5E.Charged" }}
  70. <input type="checkbox" name="system.recharge.charged" {{checked system.recharge.charged}}/>
  71. </label>
  72. </div>
  73. </div>
  74. {{/if}}
  75. <h3 class="form-header">{{ localize "DND5E.FeatureAttack" }}</h3>
  76. {{!-- Item Action Template --}}
  77. {{> "dnd5e.item-action"}}
  78. </div>
  79. {{!-- Effects Tab --}}
  80. <div class="tab effects flexcol" data-group="primary" data-tab="effects">
  81. {{> "dnd5e.active-effects"}}
  82. </div>
  83. </section>
  84. </form>