{{#if toggles.spellcasting}}{{> (resolvePath "templates/actors/partials/toggles.hbs") toggles=toggles.spellcasting}}{{/if}}
    {{#each spellcastingEntries as |entry eid|}}
  1. {{#unless entry.isEphemeral}} {{/unless}} {{#if entry.isPrepared}} {{/if}}

    {{#unless entry.isRitual}}
    {{#if entry.isEphemeral}} {{entry.statistic.dc.value}} {{else}} {{/if}}
    {{#if entry.isEphemeral}} {{entry.statistic.check.mod}} {{else}} {{/if}}
    {{/unless}} {{#if (and ../editable (not entry.isEphemeral))}}
    {{#if (or entry.isPrepared entry.isSpontaneous entry.isInnate)}} {{/if}} {{#unless entry.isRitual}} {{/unless}}
    {{/if}}
    {{#if entry.hasCollection}}
    {{> (resolvePath "templates/actors/partials/spell-collection.hbs") entry=entry}}
    {{/if}}
  2. {{/each}}