{{#if editingDescription}} {{else}} {{#if (eq item.type "spell")}} {{> "dnd5e.spell-block" activation=system.activation fullWidth=true }} {{/if}} {{#if info}}
{{#each info}}
{{#if label}}
{{ localize label }} {{#if (and @root.editable config)}} {{/if}}
{{/if}}
{{{ value }}}
{{/each}}
{{/if}} {{#if singleDescription}} {{#if editable}} {{{ enriched.description }}} {{else}}
{{{ enriched.description }}}
{{/if}} {{else}}
{{!-- When identified, show extra descriptions --}} {{#if (or isIdentified user.isGM)}} {{!-- All users see the main, identified description --}} {{> ".description" collapsible=item.isOwner label="DND5E.Description" target="system.description.value" enriched=enriched.description }} {{!-- Only GM users are able to see and edit the unidentified description --}} {{#if (and isIdentifiable user.isGM)}} {{> ".description" collapsible=true label="DND5E.DescriptionUnidentified" target="system.unidentified.description" enriched=enriched.unidentified }} {{/if}} {{!-- Owners can see and edit the chat description. It is only visible to non-owners if not blank. --}} {{#if (or item.isOwner system.description.chat)}} {{> ".description" collapsible=item.isOwner label="DND5E.DescriptionChat" target="system.description.chat" enriched=enriched.chat }} {{/if}} {{else}} {{!-- When unidentified, non-GM users can only see and edit the unidentified description --}} {{#if (or item.isOwner system.unidentified.description)}} {{> ".description" collapsible=false label="DND5E.Description" target="system.unidentified.description" enriched=enriched.unidentified }} {{/if}} {{/if}}
{{/if}} {{/if}} {{#if (or isIdentified user.isGM)}} {{/if}}
{{#*inline ".description"}}
{{ localize label }} {{#unless @root.locked}} {{/unless}}
{{{ enriched }}}
{{/inline}}