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

<div class="tab biography" data-group="primary" data-tab="biography">
{{#if (or document.isOwner biography.visibility.appearance)}}
<h3 class="header" data-tooltip-class="pf2e">
<span>{{localize "PF2E.BiographyAppearance"}}</span>
{{#if editable}}
<a data-action="toggle-bio-visibility" data-section="appearance" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
<i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.appearance}}-slash{{/unless}}"></i>
</a>
{{/if}}
</h3>
<section class="appearance-details{{#if editable}} editable{{/if}}">
<div class="bio appearance">
<div class="biography-content">
{{editor enrichedContent.appearance target="system.details.biography.appearance" button=true owner=owner editable=editable}}
</div>
</div>
<label class="pc pc_height">
<span class="details-label">{{localize "PF2E.Height"}}</span>
<input type="text" class="details-input" id="{{options.id}}-pc-height" name="system.details.height.value" value="{{data.details.height.value}}" />
</label>
<label class="pc pc_weight">
<span class="details-label">{{localize "PF2E.Weight"}}</span>
<input type="text" class="details-input" id="{{options.id}}-pc-weight" name="system.details.weight.value" value="{{data.details.weight.value}}" />
</label>
</section>
{{/if}}
{{#if (or document.isOwner biography.visibility.backstory)}}
<h3 class="header" data-tooltip-class="pf2e">
<span>{{localize "PF2E.BiographyBackStory"}}</span>
{{#if editable}}
<a data-action="toggle-bio-visibility" data-section="backstory" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
<i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.backstory}}-slash{{/unless}}"></i>
</a>
{{/if}}
</h3>
<section{{#if editable}} class="editable"{{/if}}>
<div class="bio backstory">
<div class="biography-content">
{{editor enrichedContent.backstory target="system.details.biography.backstory" button=true owner=owner editable=editable}}
</div>
</div>
<div class="bio birth-place">
<label class="details-label" for="{{document.uuid}}-birth-place">{{localize "PF2E.BiographyBirthPlace"}}</label>
<span>
<input type="text" id="{{document.uuid}}-birth-place" name="system.details.biography.birthPlace" value="{{biography.birthPlace}}" />
</span>
</div>
</section>
{{/if}}
{{#if (or document.isOwner biography.visibility.personality)}}
<h3 class="header" data-tooltip-class="pf2e">
<span>{{localize "PF2E.BiographyPersonalityHeader"}}</span>
{{#if editable}}
<a data-action="toggle-bio-visibility" data-section="personality" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
<i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.personality}}-slash{{/unless}}"></i>
</a>
{{/if}}
</h3>
<section class="personality{{#if editable}} editable{{/if}}">
<div class="bio attitude">
<label class="details-label" for="{{document.uuid}}-attitude">{{localize "PF2E.BiographyAttitude"}}</label>
<span>
<input type="text" id="{{document.uuid}}-attitude" name="system.details.biography.attitude" value="{{biography.attitude}}" />
</span>
</div>
<div class="bio beliefs">
<label class="details-label" for="{{document.uuid}}-beliefs">{{localize "PF2E.BiographyBeliefs"}}</label>
<span>
<input type="text" id="{{document.uuid}}-beliefs" name="system.details.biography.beliefs" value="{{biography.beliefs}}" />
</span>
</div>
<div class="bio likes">
<label class="details-label" for="{{document.uuid}}-likes">{{localize "PF2E.BiographyLikes"}}</label>
<span>
<input type="text" id="{{document.uuid}}-likes" name="system.details.biography.likes" value="{{biography.likes}}" />
</span>
</div>
<div class="bio dislikes">
<label class="details-label" for="{{document.uuid}}-dislikes">{{localize "PF2E.BiographyDislikes"}}</label>
<span>
<input type="text" id="{{document.uuid}}-dislikes" name="system.details.biography.dislikes" value="{{biography.dislikes}}" />
</span>
</div>
<div class="bio catchphrases">
<label class="details-label" for="{{document.uuid}}-catchphrases">{{localize "PF2E.BiographyCatchphrases"}}</label>
<span>
<input type="text" id="{{document.uuid}}-catchphrases" name="system.details.biography.catchphrases" value="{{biography.catchphrases}}" />
</span>
</div>
</section>
{{/if}}
{{#if (or document.isOwner biography.visibility.campaign)}}
<h3 class="header" data-tooltip-class="pf2e">
<span>{{localize "PF2E.BiographyCampaignNotesHeader"}}</span>
{{#if editable}}
<a data-action="toggle-bio-visibility" data-section="campaign" data-tooltip="PF2E.Actor.Character.Biography.ToggleVisibility">
<i class="fa-solid fa-fw fa-eye{{#unless biography.visibility.campaign}}-slash{{/unless}}"></i>
</a>
{{/if}}
</h3>
<section class="campaign{{#if editable}} editable{{/if}}">
<div class="bio campaign-notes">
<h4 class="details-label">{{localize "PF2E.BiographyCampaignNotes"}}</h4>
<div class="biography-content">
{{editor enrichedContent.campaignNotes target="system.details.biography.campaignNotes" button=true owner=owner editable=editable}}
</div>
</div>
<div class="bio allies">
<h4 class="details-label">{{localize "PF2E.BiographyAllies"}}</h4>
<div class="biography-content">
{{editor enrichedContent.allies target="system.details.biography.allies" button=true owner=owner editable=editable}}
</div>
</div>
<div class="bio enemies">
<h4 class="details-label">{{localize "PF2E.BiographyEnemies"}}</h4>
<div class="biography-content">
{{editor enrichedContent.enemies target="system.details.biography.enemies" button=true owner=owner editable=editable}}
</div>
</div>
<div class="bio organizations">
<h4 class="details-label">{{localize "PF2E.BiographyOrganizations"}}</h4>
<div class="biography-content">
{{editor enrichedContent.organizations target="system.details.biography.organizations" button=true owner=owner editable=editable}}
</div>
</div>
</section>
{{/if}}
</div>