yomichan/util/tmpl/kanji.html
2016-04-24 22:06:49 -07:00

34 lines
716 B
HTML

<div class="definition">
<div class="kanji-info kanji-glyph">{{character}}</div>
<dl class="kanji-info">
{{#if glossary}}
<dt>Meanings</dt>
<dd>
{{#each glossary}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
{{#if kunyomi}}
<dt>Kunyomi</dt>
<dd>
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
{{#if onyomi}}
<dt>Onyomi</dt>
<dd>
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
</dl>
</div>
</div>