2017-01-27 05:51:24 +00:00
|
|
|
{{#*inline "glossary-single"}}
|
|
|
|
{{~#if html~}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#if tags~}}<i>({{#each tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}})</i> {{/if~}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~#if glossary.[1]~}}
|
2017-01-28 06:36:06 +00:00
|
|
|
<ul>{{#each glossary}}<li>{{#multiLine}}{{.}}{{/multiLine}}</li>{{/each}}</ul>
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~else~}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#multiLine}}{{glossary.[0]}}{{/multiLine~}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~/if~}}
|
|
|
|
{{~else~}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#if tags~}}({{#each tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}}) {{/if~}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~#if glossary.[1]~}}
|
|
|
|
{{#each glossary}}{{.}}{{#unless @last}}, {{/unless}}{{/each}}
|
|
|
|
{{~else~}}
|
|
|
|
{{glossary.[0]}}
|
|
|
|
{{~/if~}}
|
|
|
|
{{~/if~}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
2017-01-22 03:30:01 +00:00
|
|
|
{{#*inline "audio"}}{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "character"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~definition.character~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "dictionary"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~definition.dictionary~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "expression"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#if modeTermKana~}}
|
|
|
|
{{~#if definition.reading~}}
|
|
|
|
{{definition.reading}}
|
|
|
|
{{~else~}}
|
|
|
|
{{definition.expression}}
|
|
|
|
{{~/if~}}
|
|
|
|
{{~else~}}
|
|
|
|
{{definition.expression}}
|
|
|
|
{{~/if~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "furigana"}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~#if html~}}
|
|
|
|
{{~#if definition.reading}}<ruby>{{definition.expression}}<rt>{{definition.reading}}</rt></ruby>{{else}}{{definition.expression}}{{/if~}}
|
|
|
|
{{~else~}}
|
|
|
|
{{~#if definition.reading}}{{definition.expression}} [{{definition.reading}}]{{else}}{{definition.expression}}{{/if~}}
|
|
|
|
{{~/if~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "glossary"}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~#if html}}<div style="text-align: left;">{{/if~}}
|
2017-02-08 06:21:33 +00:00
|
|
|
{{~#if modeKanji~}}
|
|
|
|
{{~#if definition.glossary.[1]~}}
|
|
|
|
{{~#if html}}<ol>{{#each definition.glossary}}<li>{{.}}</li>{{/each}}</ol>
|
|
|
|
{{~else}}{{#each definition.glossary}}{{.}}{{#unless @last}}, {{/unless}}{{/each}}{{/if~}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~else~}}
|
2017-02-08 06:21:33 +00:00
|
|
|
{{definition.glossary.[0]}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~/if~}}
|
|
|
|
{{~else~}}
|
2017-02-08 06:21:33 +00:00
|
|
|
{{~#if group~}}
|
|
|
|
{{~#if definition.definitions.[1]~}}
|
|
|
|
{{~#if html}}<ol>{{#each definition.definitions}}<li>{{> glossary-single html=../html}}</li>{{/each}}</ol>
|
|
|
|
{{~else}}{{#each definition.definitions}} * {{> glossary-single html=../html}}{{/each}}{{/if~}}
|
|
|
|
{{~else~}}
|
|
|
|
{{~> glossary-single definition.definitions.[0] html=html~}}
|
|
|
|
{{~/if~}}
|
|
|
|
{{~else~}}
|
|
|
|
{{~> glossary-single definition html=html~}}
|
|
|
|
{{~/if~}}
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~/if~}}
|
|
|
|
{{~#if html}}</div>{{/if~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "kunyomi"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#each definition.kunyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "onyomi"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#each definition.onyomi}}{{.}}{{#unless @last}}, {{/unless}}{{/each~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "reading"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#unless modeTermKana}}{{definition.reading}}{{/unless~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "sentence"}}
|
2017-03-29 03:49:26 +00:00
|
|
|
{{~#if definition.cloze}}{{definition.cloze.sentence}}{{/if~}}
|
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "cloze-prefix"}}
|
|
|
|
{{~#if definition.cloze}}{{definition.cloze.prefix}}{{/if~}}
|
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "cloze-body"}}
|
|
|
|
{{~#if definition.cloze}}{{definition.cloze.body}}{{/if~}}
|
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "cloze-suffix"}}
|
|
|
|
{{~#if definition.cloze}}{{definition.cloze.suffix}}{{/if~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "tags"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#each definition.tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "url"}}
|
2017-01-27 06:38:59 +00:00
|
|
|
{{~#if html}}<a href="{{definition.url}}">{{definition.url}}</a>{{else}}{{definition.url}}{{/if~}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
2017-01-27 05:51:24 +00:00
|
|
|
{{~> (lookup . "marker") ~}}
|