{{!-- SPDX-FileCopyrightText: 2021 Johannes Loher SPDX-FileCopyrightText: 2021 Gesina Schwalbe SPDX-License-Identifier: MIT --}} {{!-- !-- Render an item list entry row. !-- If the partial is called with a partial block, the partial block !-- content is inserted before the description. !-- @param itemData: The data of the item. !-- @param isEquipable: A flag to enable the equipped column. !-- @param hasQuantity: A flag to enable the quantity column. !-- @param hideDescription: A flag to disable the description column. !-- @param @partial-block: Custom column headers can be passed using the partial block. --}}
  • {{!-- equipped --}} {{#if isEquipable}} {{/if}} {{!-- image --}} {{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=itemData.data.rollable src=itemData.img alt=(localize "DS4.DocumentImageAltText" name=itemData.name) title=itemData.name rollableTitle=(localize "DS4.RollableImageRollableTitle" name=itemData.name) rollableClass="rollable-item"}} {{!-- amount --}} {{#if hasQuantity}} {{/if}} {{!-- name --}} {{!-- item type specifics --}} {{#if @partial-block }} {{> @partial-block}} {{/if}} {{!-- description --}} {{#unless hideDescription}}
    {{{itemData.data.description}}}
    {{/unless}} {{!-- control button group --}} {{> systems/ds4/templates/sheets/shared/components/control-button-group.hbs documentType="item" editTitle="DS4.UserInteractionEditItemTitle" deleteTitle="DS4.UserInteractionDeleteItemTitle"}}