yomichan/util/tmpl/term.html

32 lines
777 B
HTML
Raw Normal View History

2016-04-25 02:23:13 +00:00
<div class="definition">
{{#if reading}}
<div class="term"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
{{else}}
<div class="term">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div>
{{/if}}
2016-04-14 03:13:41 +00:00
2016-04-25 02:23:13 +00:00
{{#if rules}}
<div class="rules">
{{#each rules}}
<span class="rule">{{.}}</span> {{#unless @last}}&laquo;{{/unless}}
{{/each}}
</div>
{{/if}}
2016-04-16 18:41:33 +00:00
2016-04-25 02:23:13 +00:00
{{#if tags}}
<div class="tags">
{{#each tags}}
<span class="tag tag-{{class}}" title="{{desc}}">{{name}}</span>
2016-04-14 01:55:31 +00:00
{{/each}}
2016-04-25 02:23:13 +00:00
</div>
{{/if}}
<div class="glossary">
<ol>
{{#each glossary}}
<li><span>{{.}}</span></li>
{{/each}}
</ol>
</div>
2016-04-14 01:55:31 +00:00
</div>