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.

131 lines
7.3 KiB

1 year ago
1 year ago
1 year ago
1 year ago
  1. <div class="tab biography" data-group="primary" data-tab="biography">
  2. {{#if (or document.isOwner biography.visibility.appearance)}}
  3. <h3 class="header" data-tooltip-class="pf2e">
  4. <span>{{localize "PF2E.BiographyAppearance"}}</span>
  5. {{#if editable}}
  6. <a data-action="toggle-bio-visibility" data-section="appearance" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
  7. <i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.appearance}}-slash{{/unless}}"></i>
  8. </a>
  9. {{/if}}
  10. </h3>
  11. <section class="appearance-details{{#if editable}} editable{{/if}}">
  12. <div class="bio appearance">
  13. <div class="biography-content">
  14. {{editor enrichedContent.appearance target="system.details.biography.appearance" button=true owner=owner editable=editable}}
  15. </div>
  16. </div>
  17. <label class="pc pc_height">
  18. <span class="details-label">{{localize "PF2E.Height"}}</span>
  19. <input type="text" class="details-input" id="{{options.id}}-pc-height" name="system.details.height.value" value="{{data.details.height.value}}" />
  20. </label>
  21. <label class="pc pc_weight">
  22. <span class="details-label">{{localize "PF2E.Weight"}}</span>
  23. <input type="text" class="details-input" id="{{options.id}}-pc-weight" name="system.details.weight.value" value="{{data.details.weight.value}}" />
  24. </label>
  25. </section>
  26. {{/if}}
  27. {{#if (or document.isOwner biography.visibility.backstory)}}
  28. <h3 class="header" data-tooltip-class="pf2e">
  29. <span>{{localize "PF2E.BiographyBackStory"}}</span>
  30. {{#if editable}}
  31. <a data-action="toggle-bio-visibility" data-section="backstory" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
  32. <i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.backstory}}-slash{{/unless}}"></i>
  33. </a>
  34. {{/if}}
  35. </h3>
  36. <section{{#if editable}} class="editable"{{/if}}>
  37. <div class="bio backstory">
  38. <div class="biography-content">
  39. {{editor enrichedContent.backstory target="system.details.biography.backstory" button=true owner=owner editable=editable}}
  40. </div>
  41. </div>
  42. <div class="bio birth-place">
  43. <label class="details-label" for="{{document.uuid}}-birth-place">{{localize "PF2E.BiographyBirthPlace"}}</label>
  44. <span>
  45. <input type="text" id="{{document.uuid}}-birth-place" name="system.details.biography.birthPlace" value="{{biography.birthPlace}}" />
  46. </span>
  47. </div>
  48. </section>
  49. {{/if}}
  50. {{#if (or document.isOwner biography.visibility.personality)}}
  51. <h3 class="header" data-tooltip-class="pf2e">
  52. <span>{{localize "PF2E.BiographyPersonalityHeader"}}</span>
  53. {{#if editable}}
  54. <a data-action="toggle-bio-visibility" data-section="personality" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
  55. <i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.personality}}-slash{{/unless}}"></i>
  56. </a>
  57. {{/if}}
  58. </h3>
  59. <section class="personality{{#if editable}} editable{{/if}}">
  60. <div class="bio attitude">
  61. <label class="details-label" for="{{document.uuid}}-attitude">{{localize "PF2E.BiographyAttitude"}}</label>
  62. <span>
  63. <input type="text" id="{{document.uuid}}-attitude" name="system.details.biography.attitude" value="{{biography.attitude}}" />
  64. </span>
  65. </div>
  66. <div class="bio beliefs">
  67. <label class="details-label" for="{{document.uuid}}-beliefs">{{localize "PF2E.BiographyBeliefs"}}</label>
  68. <span>
  69. <input type="text" id="{{document.uuid}}-beliefs" name="system.details.biography.beliefs" value="{{biography.beliefs}}" />
  70. </span>
  71. </div>
  72. <div class="bio likes">
  73. <label class="details-label" for="{{document.uuid}}-likes">{{localize "PF2E.BiographyLikes"}}</label>
  74. <span>
  75. <input type="text" id="{{document.uuid}}-likes" name="system.details.biography.likes" value="{{biography.likes}}" />
  76. </span>
  77. </div>
  78. <div class="bio dislikes">
  79. <label class="details-label" for="{{document.uuid}}-dislikes">{{localize "PF2E.BiographyDislikes"}}</label>
  80. <span>
  81. <input type="text" id="{{document.uuid}}-dislikes" name="system.details.biography.dislikes" value="{{biography.dislikes}}" />
  82. </span>
  83. </div>
  84. <div class="bio catchphrases">
  85. <label class="details-label" for="{{document.uuid}}-catchphrases">{{localize "PF2E.BiographyCatchphrases"}}</label>
  86. <span>
  87. <input type="text" id="{{document.uuid}}-catchphrases" name="system.details.biography.catchphrases" value="{{biography.catchphrases}}" />
  88. </span>
  89. </div>
  90. </section>
  91. {{/if}}
  92. {{#if (or document.isOwner biography.visibility.campaign)}}
  93. <h3 class="header" data-tooltip-class="pf2e">
  94. <span>{{localize "PF2E.BiographyCampaignNotesHeader"}}</span>
  95. {{#if editable}}
  96. <a data-action="toggle-bio-visibility" data-section="campaign" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
  97. <i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.campaign}}-slash{{/unless}}"></i>
  98. </a>
  99. {{/if}}
  100. </h3>
  101. <section class="campaign{{#if editable}} editable{{/if}}">
  102. <div class="bio campaign-notes">
  103. <h4 class="details-label">{{localize "PF2E.BiographyCampaignNotes"}}</h4>
  104. <div class="biography-content">
  105. {{editor enrichedContent.campaignNotes target="system.details.biography.campaignNotes" button=true owner=owner editable=editable}}
  106. </div>
  107. </div>
  108. <div class="bio allies">
  109. <h4 class="details-label">{{localize "PF2E.BiographyAllies"}}</h4>
  110. <div class="biography-content">
  111. {{editor enrichedContent.allies target="system.details.biography.allies" button=true owner=owner editable=editable}}
  112. </div>
  113. </div>
  114. <div class="bio enemies">
  115. <h4 class="details-label">{{localize "PF2E.BiographyEnemies"}}</h4>
  116. <div class="biography-content">
  117. {{editor enrichedContent.enemies target="system.details.biography.enemies" button=true owner=owner editable=editable}}
  118. </div>
  119. </div>
  120. <div class="bio organizations">
  121. <h4 class="details-label">{{localize "PF2E.BiographyOrganizations"}}</h4>
  122. <div class="biography-content">
  123. {{editor enrichedContent.organizations target="system.details.biography.organizations" button=true owner=owner editable=editable}}
  124. </div>
  125. </div>
  126. </section>
  127. {{/if}}
  128. </div>