yomichan/util/tmpl/kanji.html
2016-04-28 20:32:04 -07:00

35 lines
835 B
HTML

<div class="kanji-definition">
<div class="kanji-glyph">{{character}}</div>
<div class="kanji-info">
<dl>
{{#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>
</div>