{{#if isItem}}
{{#with (lookup @root.config.spellSchools entry.system.school) as |schoolConfig|}} {{/with}}
{{else}}
{{/if}}