{{<<<<<<<}} {{~#*inline "glossary"~}}
{{~#scope~}} {{~#if (op "===" definition.type "term")~}} {{~> glossary-single definition brief=brief noDictionaryTag=noDictionaryTag ~}} {{~else if (op "||" (op "===" definition.type "termGrouped") (op "===" definition.type "termMerged"))~}} {{~#if (op ">" definition.definitions.length 1)~}}
    {{~#each definition.definitions~}}
  1. {{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}
  2. {{~/each~}}
{{~else~}} {{~#each definition.definitions~}}{{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}{{~/each~}} {{~/if~}} {{~else if (op "===" definition.type "kanji")~}} {{~#if (op ">" definition.glossary.length 1)~}}
    {{#each definition.glossary}}
  1. {{.}}
  2. {{/each}}
{{~else~}} {{~#each definition.glossary~}}{{.}}{{~/each~}} {{~/if~}} {{~/if~}} {{~/scope~}}
{{~/inline~}} {{=======}} {{~#*inline "glossary"~}}
{{~#scope~}} {{~#if (op "===" definition.type "term")~}} {{~#unless (op "&&" selectedDictionary (op "!=" selectedDictionary definition.dictionary))~}} {{~> glossary-single definition brief=brief noDictionaryTag=noDictionaryTag ~}} {{~/unless~}} {{~else if (op "||" (op "===" definition.type "termGrouped") (op "===" definition.type "termMerged"))~}} {{~#if (op ">" definition.definitions.length 1)~}}
    {{~#each definition.definitions~}} {{~#unless (op "&&" ../selectedDictionary (op "!=" ../selectedDictionary dictionary))~}}
  1. {{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}}
  2. {{~/unless~}} {{~/each~}}
{{~else~}} {{~#each definition.definitions~}} {{~#unless (op "&&" ../selectedDictionary (op "!=" ../selectedDictionary dictionary))~}} {{~> glossary-single . brief=../brief noDictionaryTag=../noDictionaryTag ~}} {{~/unless~}} {{~/each~}} {{~/if~}} {{~else if (op "===" definition.type "kanji")~}} {{~#if (op ">" definition.glossary.length 1)~}}
    {{#each definition.glossary}}
  1. {{.}}
  2. {{/each}}
{{~else~}} {{~#each definition.glossary~}}{{.}}{{~/each~}} {{~/if~}} {{~/if~}} {{~/scope~}}
{{~/inline~}} {{>>>>>>>}}