{{#if (and document.actionCost (not (eq document.type "action")))}} {{{actionGlyph document.actionCost}}} {{/if}} {{#if itemType}} {{#if adjustedLevelHint}}{{/if}} {{itemType}} {{/if}} {{#if showTraits}} {{else if rarity}}
{{/if}}
{{#if hasSidebar}}
{{> (sidebarTemplate)}}
{{/if}}
{{#if (not isVariant)}} {{editor enrichedContent.description target="system.description.value" button=true owner=owner editable=editable}} {{else}} {{{enrichedContent.description}}} {{/if}}
{{#if hasDetails}}
{{> (detailsTemplate)}}
{{/if}} {{#developMode}} {{#if isPhysical}}
{{> systems/pf2e/templates/items/activation-panel.html}}
{{/if}} {{/developMode}} {{#if (and isPhysical user.isGM)}} {{> systems/pf2e/templates/items/mystify-panel.html}} {{/if}} {{#if (not isVariant)}}
{{!-- Use ~ so that text areas don't add further indentation --}} {{~> systems/pf2e/templates/items/rules-panel.html item=item}}
{{/if}}