yomichan/util/tmpl/kanji.html

34 lines
716 B
HTML
Raw Normal View History

2016-04-24 19:23:13 -07:00
<div class="definition">
2016-04-24 20:50:27 -07:00
<div class="kanji-info kanji-glyph">{{character}}</div>
2016-04-17 18:35:22 -07:00
2016-04-24 20:50:27 -07:00
<dl class="kanji-info">
2016-04-24 22:06:49 -07:00
{{#if glossary}}
2016-04-24 20:50:27 -07:00
<dt>Meanings</dt>
2016-04-24 22:06:49 -07:00
<dd>
{{#each glossary}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
2016-04-17 18:35:22 -07:00
2016-04-24 22:06:49 -07:00
{{#if kunyomi}}
<dt>Kunyomi</dt>
<dd>
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
2016-04-17 18:35:22 -07:00
2016-04-24 22:06:49 -07:00
{{#if onyomi}}
<dt>Onyomi</dt>
<dd>
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
2016-04-24 20:50:27 -07:00
</dl>
</div>
2016-04-17 18:35:22 -07:00
</div>