yomichan/util/tmpl/term.html
2016-04-16 22:54:19 -07:00

30 lines
559 B
HTML

{{#if reading}}
<div class="expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
{{else}}
<div class="expression">{{expression}}</div>
{{/if}}
{{#if rules}}
<div class="rules">
{{#each rules}}
<span class="rule">{{.}}</span> {{#unless @last}}&laquo;{{/unless}}
{{/each}}
</div>
{{/if}}
{{#if tags}}
<div class="tags">
{{#each tags}}
<span class="tag">{{.}}</span>
{{/each}}
</div>
{{/if}}
<div class="glossary">
<ol>
{{#each glossary}}
<li><span>{{.}}</span></li>
{{/each}}
</ol>
</div>