{{!-- TODO: Refactor to avoid code duplication with items-overview and talents-overview --}} {{!-- ======================================================================== --}} {{!-- INLINE PARTIAL DEFINITIONS --}} {{!-- ======================================================================== --}} {{!-- !-- Render a list row for a base item from a given item. !-- Base item means it just has an image, a description, and a name (and effects). !-- It is a flexbox with a child for each item value of interest. !-- The partial assumes a variable item to be given in the context. !-- !-- @param item: hand over the item to the partial as hash parameter --}} {{#*inline "itemListEntry"}}
  • {{!-- image --}}
    {{!-- name --}} {{!-- description --}}
    {{{item.data.description}}}
    {{!-- control buttons --}} {{> systems/ds4/templates/actor/partials/overview-control-buttons.hbs }}
  • {{/inline}} {{!-- !-- Render a list header for a base item list entries from a given item. --}} {{#*inline "itemListHeader"}}
  • {{!-- image --}}
    {{!-- name --}}
    {{localize 'DS4.ItemName'}}
    {{!-- description --}}
    {{localize 'DS4.Description'}}
    {{!-- control buttons placeholder --}}
  • {{/inline}} {{!-- ======================================================================== --}}
      {{> itemListHeader }} {{#each itemsByType.specialCreatureAbility as |item id|}} {{> itemListEntry item=item}} {{/each}}
    {{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='specialCreatureAbility' }}