Files
l5rx-chiaroscuro/system/templates/actors/character/narrative.html
2026-04-24 22:04:09 +02:00

60 lines
3.2 KiB
HTML

<div class="narrative-content">
{{!-- Ninjo --}}
<fieldset>
<legend class="text-block-header">{{localize 'l5r5e.social.ninjo'}}</legend>
<label class="attribute-label">
<textarea type="text" name="system.social.ninjo" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.ninjo}}</textarea>
</label>
</fieldset>
{{!-- Passé problématique --}}
<fieldset>
<legend class="text-block-header">{{localize 'chiaroscuro.character.past_problems'}}</legend>
<label class="attribute-label">
<textarea type="text" name="system.social.past_problems" {{^if data.editable_not_soft_locked}}disabled{{/if}}>{{data.system.social.past_problems}}</textarea>
</label>
</fieldset>
</div>
<div class="narrative-list narrative-list-full">
{{!-- Advantages --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.social.advantages'}}
{{#if data.editable_not_soft_locked}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["distinction","passion"]' 'includes' item.system.peculiarity_type}}
{{> 'systems/l5rx-chiaroscuro/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
{{!-- Disadvantages --}}
<fieldset>
<legend class="text-block-header">
{{localize 'l5r5e.social.disadvantages'}}
{{#if data.editable_not_soft_locked}}
<a data-item-type="peculiarity" class="peculiarity-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
{{/if}}
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond '["adversity","anxiety"]' 'includes' item.system.peculiarity_type}}
{{> 'systems/l5rx-chiaroscuro/templates/items/peculiarity/peculiarity-entry.html' peculiarity=item id=id editable=../data.editable_not_soft_locked}}
{{/ifCond}}
{{/each}}
</ul>
</fieldset>
</div>
<fieldset class="stances-content flexrow">
<legend class="text-block-header">{{localize 'chiaroscuro.character.default_ring'}}</legend>
<ul class="item-list">
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="air"}}
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="water"}}
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="fire"}}
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="earth"}}
{{> 'systems/l5rx-chiaroscuro/templates/actors/character/stance-simple.html' stance=data.system.stance ringId="void"}}
</ul>
</fieldset>