{{~#if dice}}
{{localize "PF2E.ChatRollDetails.ModifiersAndDice"}}
{{else}}
{{localize "PF2E.ModifiersTitle"}}
{{/if~}}
{{#if (eq context.type "flat-check")}}
{{localize "PF2E.ChatRollDetails.FlatCheckNoModifiers"}}
{{else if (not modifiers.length)}}
{{localize "None"}}
{{/if}}
{{#each modifiers as |m|}}
{{m.label}} ({{m.slug}})
{{localize (concat "PF2E.ModifierType." m.type)}} {{m.value}} {{m.damageType}} {{#if m.category}}({{m.category}}){{/if}}
{{m.critical}}
{{/each}}
{{#each dice as |d|}}
{{d.label}} ({{d.slug}})
{{d.value}} {{d.damageType}} {{#if d.category}}({{d.category}}){{/if}}
{{d.critical}}
{{/each}}