{{> systems/pf2e/templates/items/partials/duration.hbs base="system.duration" duration=data.duration units=timeUnits}}
{{#unless (or (eq data.duration.unit "unlimited") (eq data.duration.unit "encounter"))}}
{{/unless}}
{{#if user.isGM}}
{{/if}}
{{#if data.badge}} {{#if (eq data.badge.type "formula")~}}
{{#if @root.options.editable}}
{{/if}}
{{else}}
{{#if @root.options.editable}}
{{/if}}
{{/if}} {{#if data.badge.labels}}

{{localize "PF2E.Item.Effect.Badge.Labels.Label" type=badgeType}}

{{#each data.badge.labels as |label idx|}}
{{#unless (eq @root.data.badge.type "formula")}} {{/unless}} {{#if @root.options.editable}}
{{/if}}
{{/each}} {{else}}
-
{{/if}} {{else}}
{{/if}}