yomichan/util/tmpl/kanji.html

50 lines
1.2 KiB
HTML
Raw Normal View History

2016-04-29 03:32:04 +00:00
<div class="kanji-definition">
2016-05-04 05:18:03 +00:00
{{#with options}}
{{#if enableAnkiConnect}}
<div class="action-icons">
{{#with ../addable}}
{{#if kanji}}
<a href="#" title="Add Kanji"><img src="{{../../root}}/add_kanji.png"></a>
{{else}}
<img src="{{../../root}}/add_kanji.png" class="inactive">
{{/if}}
{{/with}}
</div>
{{/if}}
{{/with}}
2016-05-04 03:53:53 +00:00
2016-04-29 03:32:04 +00:00
<div class="kanji-glyph">{{character}}</div>
2016-05-04 03:53:53 +00:00
2016-04-29 03:32:04 +00:00
<div class="kanji-info">
<dl>
{{#if glossary}}
<dt>Meanings</dt>
<dd>
{{#each glossary}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
2016-04-18 01:35:22 +00:00
2016-04-29 03:32:04 +00:00
{{#if kunyomi}}
<dt>Kunyomi</dt>
<dd>
{{#each kunyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
2016-04-18 01:35:22 +00:00
2016-04-29 03:32:04 +00:00
{{#if onyomi}}
<dt>Onyomi</dt>
<dd>
{{#each onyomi}}
{{.}}{{#unless @last}}, {{/unless}}
{{/each}}
</dd>
{{/if}}
</dl>
</div>
2016-04-25 03:50:27 +00:00
</div>
2016-04-18 01:35:22 +00:00
</div>