You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wanderhome-foundry-system/templates/item/item-sheet.hbs

47 lines
1.3 KiB
Handlebars

{{! This template is a fallback for when items don't have more specific templates. }}
{{! Generally, you'll want to make more specific templates when possible. }}
<form class='{{cssClass}}' autocomplete='off'>
<header class='sheet-header'>
<img
class='profile-img'
src='{{item.img}}'
data-edit='img'
title='{{item.name}}'
/>
<div class='header-fields'>
<h1 class='charname'><input
name='name'
type='text'
value='{{item.name}}'
placeholder='Name'
/></h1>
</div>
</header>
{{! Sheet Tab Navigation }}
<nav class='sheet-tabs tabs' data-group='primary'>
<a class='item' data-tab='description'>Description</a>
<a class='item' data-tab='attributes'>Attributes</a>
</nav>
{{! Sheet Body }}
<section class='sheet-body'>
{{! Description Tab }}
<div class='tab' data-group='primary' data-tab='description'>
{{! Editors must receive enriched text data from getData to properly handle rolls }}
{{editor
enrichedDescription
target='system.description'
engine='prosemirror'
button=true
editable=editable
}}
</div>
{{! Attributes Tab }}
<div class='tab attributes' data-group='primary' data-tab='attributes'>
{{! As you add new fields, add them in here! }}
</div>
</section>
</form>