35 lines
1.6 KiB
Handlebars
35 lines
1.6 KiB
Handlebars
<!-- Character -->
|
|
<h3>Caractéristiques</h3>
|
|
<div class="grid grid-4col">
|
|
{{#each config.abilityCategories as |abilityCategory ackey|}}
|
|
<div>
|
|
<h4 class="align-center">{{ smarttl "ABILITY_CATEGORIES" ackey }}</h4>
|
|
{{#each @root.system.abilities as |ability key|}}
|
|
{{#if (eq ability.category ackey) }}
|
|
<div class="ability flexcol flex-group-center items-center">
|
|
<label for="system.abilities.{{key}}.value" class="resource-label rollable flexlarge align-left" data-label="{{ smarttl "ABILITIES" key }}">{{ smarttl "ABILITIES" key }}</label>
|
|
<input type="text" name="system.abilities.{{key}}.value" value="{{ability.value}}" data-dtype="Number"/>
|
|
</div>
|
|
{{/if}}
|
|
{{/each}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
<h3>Compétences</h3>
|
|
<div class="grid grid-cols-3">
|
|
{{#each config.skillCategories as |skillCategory sckey|}}
|
|
<div class="col">
|
|
<h4>{{ smarttl "SKILLS_CATEGORIES" sckey }}</h4>
|
|
{{#each @root.system.skills as |skill skey|}}
|
|
|
|
{{#if (eq skill.category sckey) }}
|
|
<div class="ability flexrow flex-group-center">
|
|
<label style="flex:80%;" for="system.skills.{{skey}}.value" class="resource-label rollable flexlarge align-left" data-roll="+@skills.{{skey}}d10" data-label="{{ smarttl "SKILLS" skey }}">{{ smarttl "SKILLS" skey }}
|
|
{{#if (eq skill.rarity 1)}}<sup>*</sup>{{/if}}{{#if (eq skill.rarity 2)}}<sup>**</sup>{{/if}}</label>
|
|
<input type="text" name="system.skills.{{skey}}.value" value="{{skill.value}}" data-dtype="Number"/>
|
|
</div>
|
|
{{/if}}
|
|
{{/each}}
|
|
</div>
|
|
{{/each}}
|
|
</div> |