2017-01-24 05:12:46 +00:00
|
|
|
{{#*inline "definition"}}
|
|
|
|
{{#if html}}
|
|
|
|
{{#if definition.tags}}
|
|
|
|
(<div>{{#each definition.tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}}</div>)
|
|
|
|
{{/if}}
|
|
|
|
{{#if definition.glossary.[1]}}
|
|
|
|
<ul>{{#each definition.glossary}}<li>>{{#multiLine}}{{.}}{{/multiLine}}></li>{{/each}}</ul>
|
|
|
|
{{else}}
|
|
|
|
<div>{{#multiLine}}{{definition.glossary.[0]}}{{/multiLine}}</div>
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
{{#if definition.tags}}({{#each definition.tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}}) {{/if}}{{#if definition.glossary.[1]}}{{#each definition.glossary}}{{.}}{{#unless @last}}, {{/unless}}{{/each}}{{else}}{{definition.glossary.[0]}}{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
{{/inline}}
|
|
|
|
|
2017-01-22 03:30:01 +00:00
|
|
|
{{#*inline "audio"}}{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "character"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{definition.character}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "dictionary"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{definition.dictionary}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "expression"}}
|
2017-01-24 05:12:46 +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-24 05:12:46 +00:00
|
|
|
{{#if definition.reading}}<ruby>{{definition.expression}}<rt>{{definition.reading}}</rt></ruby>{{else}}{{definition.expression}}{{/if}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "glossary"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
<div style="text-align: left;">
|
|
|
|
{{#if grouped}}
|
|
|
|
{{#if definitions.[1]}}
|
|
|
|
<ol>
|
|
|
|
{{#each definitions}}
|
|
|
|
<li>{{> definition}}</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
{{else}}
|
|
|
|
{{> definition definitions.[0]}}
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
{{> definition}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "kunyomi"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{definition.kunyomi}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "onyomi"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{definition.onyomi}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "reading"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{definition.reading}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "sentence"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{definition.sentence}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "tags"}}
|
2017-01-24 05:12:46 +00:00
|
|
|
{{#each definition.tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}}
|
2017-01-22 03:30:01 +00:00
|
|
|
{{/inline}}
|
|
|
|
|
|
|
|
{{#*inline "url"}}
|
2017-01-24 05:12:46 +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-24 05:12:46 +00:00
|
|
|
{{> (lookup . "marker") }}
|