Files
vermine2047/templates/actor/appv2/creature-info.hbs
T
2026-06-06 10:21:24 +02:00

74 lines
2.4 KiB
Handlebars

<div class="tab info sheet-part" data-group="sheet" data-tab="info">
<div class="grid grid-2col">
<div>
<h4>{{ localize 'IDENTITY.profile' }}</h4>
{{#if isEditMode}}
<input type="text" name="system.identity.profile" value="{{system.identity.profile}}"
placeholder="Profil..." style="width: 100%;" />
{{else}}
<span>{{system.identity.profile}}</span>
{{/if}}
</div>
<div>
<h4>{{ localize 'IDENTITY.origin' }}</h4>
{{#if isEditMode}}
<input type="text" name="system.identity.origin" value="{{system.identity.origin}}"
placeholder="Origine..." style="width: 100%;" />
{{else}}
<span>{{system.identity.origin}}</span>
{{/if}}
</div>
<div>
<h4>{{ localize 'IDENTITY.theme' }}</h4>
{{#if isEditMode}}
<input type="text" name="system.identity.theme" value="{{system.identity.theme}}"
placeholder="Concept..." style="width: 100%;" />
{{else}}
<span>{{system.identity.theme}}</span>
{{/if}}
</div>
<div>
<h4>{{ localize 'ADVERSITY.skills' }}</h4>
{{#if isEditMode}}
<input type="text" name="system.skills" value="{{system.skills}}"
placeholder="Compétences..." style="width: 100%;" />
{{else}}
<span>{{system.skills}}</span>
{{/if}}
</div>
</div>
<div class="grid-span-2">
<h4>{{ localize 'IDENTITY.notes' }}</h4>
{{editor system.identity.notes target="system.identity.notes" button=true owner=owner editable=editable}}
</div>
{{!-- Modes --}}
<div class="grid-span-2">
<h4>{{ localize 'VERMINE.modes' }}</h4>
<div class="grid grid-3col">
<div>
<label>
<input type="checkbox" name="system.modes.survival"
{{#if system.modes.survival}}checked{{/if}} data-dtype="Boolean" />
{{ localize 'GAME_MODES.survival' }}
</label>
</div>
<div>
<label>
<input type="checkbox" name="system.modes.nightmare"
{{#if system.modes.nightmare}}checked{{/if}} data-dtype="Boolean" />
{{ localize 'GAME_MODES.nightmare' }}
</label>
</div>
<div>
<label>
<input type="checkbox" name="system.modes.apocalypse"
{{#if system.modes.apocalypse}}checked{{/if}} data-dtype="Boolean" />
{{ localize 'GAME_MODES.apocalypse' }}
</label>
</div>
</div>
</div>
</div>