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.

85 lines
3.4 KiB

1 year ago
1 year ago
1 year ago
  1. <div class="tab" data-group="main" data-tab="character">
  2. <div class="form-group">
  3. <label>{{localize "TOKEN.CharNameplate"}}</label>
  4. <input type="text" name="name" placeholder="{{localize "Name"}}" value="{{object.name}}" />
  5. </div>
  6. <div class="form-group">
  7. <label>{{localize "TOKEN.CharShowNameplate"}}</label>
  8. <select name="displayName" data-dtype="Number">
  9. {{selectOptions displayModes selected=object.displayName}}
  10. </select>
  11. </div>
  12. {{#unless isPrototype}}
  13. <div class="form-group">
  14. <label>{{localize "TOKEN.CharActor"}}</label>
  15. <select class="actor-template" name="actorId">
  16. {{#select object.actorId}}
  17. <option value="">{{localize "None"}}</option>
  18. {{#each actors}}
  19. <option value="{{this._id}}">{{this.name}}</option>
  20. {{/each}}
  21. {{/select}}
  22. </select>
  23. </div>
  24. {{/unless}}
  25. <div class="form-group">
  26. <label>{{localize "TOKEN.CharLink"}}</label>
  27. <input type="checkbox" name="actorLink" {{checked object.actorLink}}/>
  28. </div>
  29. {{#if isPrototype}}
  30. <hr>
  31. <div class="form-group">
  32. <label>{{localize "TOKEN.AppendNumber"}}</label>
  33. <input type="checkbox" name="appendNumber" {{checked object.appendNumber}}/>
  34. <p class="notes">{{localize "TOKEN.AppendNumberHint" name=object.name}}</p>
  35. </div>
  36. <div class="form-group">
  37. <label>{{localize "TOKEN.PrependAdjective"}}</label>
  38. <input type="checkbox" name="prependAdjective" {{checked object.prependAdjective}}/>
  39. <p class="notes">{{localize "TOKEN.PrependAdjectiveHint" name=object.name}}</p>
  40. </div>
  41. <hr>
  42. {{/if}}
  43. {{#unless isPrototype}}
  44. <div class="form-group slim">
  45. <label>{{localize "TOKEN.Coordinates"}} <span class="units">({{localize "Pixels"}})</span></label>
  46. <div class="form-fields">
  47. <label>X</label>
  48. {{numberInput object.x name="x" step=1 disabled=(not isGM) placeholder=(localize "Pixels")}}
  49. <label>Y</label>
  50. {{numberInput object.y name="y" step=1 disabled=(not isGM) placeholder=(localize "Pixels")}}
  51. </div>
  52. </div>
  53. <div class="form-group slim">
  54. <label>{{localize "Elevation"}} <span class="units">({{gridUnits}})</span></label>
  55. <div class="form-fields">
  56. {{numberInput object.elevation name="elevation" placeholder="units"}}
  57. </div>
  58. </div>
  59. {{/unless}}
  60. <div class="form-group slim">
  61. <label>{{localize "Rotation"}} <span class="units">({{localize "Degrees"}})</span></label>
  62. <div class="form-fields">
  63. <label>{{localize "TOKEN.Lock"}}</label>
  64. <input type="checkbox" name="lockRotation" {{checked object.lockRotation}}/>
  65. <label>{{localize "Rotation"}}</label>
  66. <input type="number" name="rotation" value="{{object.rotation}}"/>
  67. </div>
  68. </div>
  69. <div class="form-group">
  70. <label>{{localize "PF2E.Token.SecretDisposition.Label"}}</label>
  71. <input type="checkbox" name="disposition" value="-2" data-dtype="Number" {{checked (eq object.disposition -2)}} />
  72. <p class="hint">{{localize "PF2E.Token.SecretDisposition.Hint"}}</p>
  73. </div>
  74. </div>