ds4/templates/sheets/actor/components/core-values.hbs

20 lines
824 B
Handlebars
Raw Permalink Normal View History

2021-06-26 22:02:00 +02:00
{{!--
SPDX-FileCopyrightText: 2021 Johannes Loher
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
SPDX-License-Identifier: MIT
--}}
<div class="ds4-core-values">
{{#each config.i18n.attributes as |attribute-label attribute-key|}}
2021-04-13 21:40:52 +02:00
{{> systems/ds4/templates/sheets/actor/components/core-value.hbs core-value-label=attribute-label
2022-11-21 03:00:46 +01:00
core-value-key=attribute-key core-value-data=(lookup ../data.system.attributes
attribute-key) core-value-variant="attribute" actor-id=../data._id}}
{{/each}}
{{#each config.i18n.traits as |trait-label trait-key|}}
2021-04-13 21:40:52 +02:00
{{> systems/ds4/templates/sheets/actor/components/core-value.hbs core-value-label=trait-label
core-value-key=trait-key
2022-11-21 03:00:46 +01:00
core-value-data=(lookup ../data.system.traits trait-key) core-value-variant="trait" actor-id=../data._id}}
{{/each}}
</div>