{{#if isCompanion}}
{{item.name}}
{{else}}
{{item.name}}
{{/if}}
{{#if (eq type 'weapon')}}
{{#if (and (not isSidebar) item.system.resource)}}
{{> "systems/daggerheart/templates/sheets/global/partials/item-resource.hbs"}}
{{/if}}
{{#if (and (not isSidebar) item.system.quantity)}}
{{/if}}
{{#unless hideControls}}
{{#if isActor}}
{{#if (eq type 'weapon')}}
{{/if}}
{{#if (eq type 'armor')}}
{{/if}}
{{#if (eq type 'domainCard')}}
{{#unless item.system.inVault}}
{{else}}
{{/unless}}
{{/if}}
{{/if}}
{{else}}