yomichan/util/tmpl/kanji.html

30 lines
672 B
HTML
Raw Normal View History

2016-04-24 19:23:13 -07:00
<div class="definition">
<div class="kanji">{{character}}</div>
2016-04-17 18:35:22 -07:00
2016-04-24 19:23:13 -07:00
<div class="readings">
<dl>
2016-04-24 19:39:10 -07:00
{{#if kunyomi}}
2016-04-24 19:50:04 -07:00
<dt>Kunyomi:</dt>
2016-04-24 19:23:13 -07:00
{{#each kunyomi}}
2016-04-24 19:50:04 -07:00
<dd>{{.}}{{#unless @last}}, {{/unless}}</dd>
2016-04-24 19:23:13 -07:00
{{/each}}
2016-04-24 19:39:10 -07:00
{{/if}}
2016-04-17 18:35:22 -07:00
2016-04-24 19:39:10 -07:00
{{#if onyomi}}
2016-04-24 19:50:04 -07:00
<dt>Onyomi:</dt>
2016-04-24 19:23:13 -07:00
{{#each onyomi}}
2016-04-24 19:50:04 -07:00
<dd>{{.}}{{#unless @last}}, {{/unless}}</dd>
2016-04-24 19:23:13 -07:00
{{/each}}
2016-04-24 19:39:10 -07:00
{{/if}}
2016-04-24 19:23:13 -07:00
</dl>
</div>
2016-04-17 18:35:22 -07:00
2016-04-24 19:23:13 -07:00
<div class="glossary">
<ol>
{{#each glossary}}
<li><span>{{.}}</span></li>
{{/each}}
</ol>
</div>
2016-04-17 18:35:22 -07:00
</div>