$execute if data storage cnk:cookbook page_lookup.$(id) run data modify storage cnk:temp cookbook.ingredient.output set value "{'translate':book.cnk.ingredient_template,with:[{'translate':book.$(flag),'font':'$(font)'}],'hover_event':{'action':'show_text','value':[{'translate':$(flag)},{'translate':book.cnk.hyperlink,'font':'cnk.book:base'}]},'click_event':{'action':'run_command','command':'trigger cnk.cookbook_buttons set 991$(position)'}},"
$execute unless data storage cnk:cookbook page_lookup.$(id) run data modify storage cnk:temp cookbook.ingredient.output set value "{'translate':book.cnk.ingredient_template,with:[{'translate':book.$(flag),'font':'$(font)'}],'hover_event':{'action':'show_text','value':[{'translate':$(flag)}]}},"