{{> 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")~}}
{{else}}
{{/if}}
{{#if data.badge.labels}}
{{localize "PF2E.Item.Effect.Badge.Labels.Label" type=badgeType}}
{{/if}}
{{#each data.badge.labels as |label idx|}}
{{/each}}
{{else}}
{{/if}}