{{!-- Name --}}
{{#if editable}}
{{ formInput name.field value=name.editable input=inputs.createTextInput classes="document-name uninput" }}
{{else}}
{{ item.name }}
{{/if}}
{{!-- Type-Specific Subtitles --}}
{{~#each subtitles}}
{{#unless (and requiresIdentification @root.concealDetails)}}
{{#if @root.editable}}
{{#if field}}
-
{{ formInput field value=value choices=choices blank=blank placeholder=(localize placeholder)
localize=true }}
{{/if}}
{{else}}
{{#if label}}
- {{ label }}
{{/if}}
{{/if}}
{{/unless}}
{{/each~}}
{{!-- Weight, Price, Quantity, Level, & School --}}
{{#if isPhysical}}
{{!-- Quantity --}}
×
{{#if editable}}
{{ formInput fields.quantity value=source.quantity }}
{{else}}
{{ dnd5e-numberFormat system.quantity }}
{{/if}}
{{!-- Weight --}}
{{#if editable}}
{{ formInput fields.weight.fields.value value=source.weight.value }}
{{ formInput fields.weight.fields.units value=source.weight.units choices=CONFIG.weightUnits
labelAttr="abbreviation" }}
{{else}}
{{ dnd5e-numberFormat system.weight.value }}
{{/if}}
{{!-- Price --}}
{{#if (or isIdentified user.isGM)}}
{{#if editable}}
{{ formInput fields.price.fields.value value=source.price.value }}
{{ formInput fields.price.fields.denomination value=source.price.denomination choices=CONFIG.currencies
labelAttr="abbreviation" }}
{{else}}
{{ dnd5e-numberFormat system.price.value }}
{{/if}}
{{/if}}
{{/if}}
{{!-- Facilities --}}
{{#if (eq item.type "facility")}}
{{ localize "DND5E.FACILITY.Squares" squares=system.squares }}
{{#if (eq system.type.value "basic")}}
{{ dnd5e-numberFormat system.price.value }}
{{/if}}
{{/if}}
{{!-- School --}}
{{#if (eq item.type "spell")}}
{{#with (lookup @root.CONFIG.spellSchools system.school) as |schoolConfig|}}
{{/with}}
{{/if}}
{{!-- Level --}}
{{#if (eq item.type "class")}}
{{ system.levels }}
{{/if}}