yomichan/util/tmpl/term.html

27 lines
458 B
HTML
Raw Normal View History

2016-04-14 03:13:41 +00:00
{{#if reading}}
2016-04-15 03:36:00 +00:00
<div class="expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
2016-04-14 03:13:41 +00:00
{{else}}
2016-04-15 03:36:00 +00:00
<div class="expression">{{expression}}</div>
2016-04-14 03:13:41 +00:00
{{/if}}
2016-04-16 05:33:13 +00:00
{{#if rules}}
2016-04-15 03:36:00 +00:00
<div class="rules">
2016-04-16 05:33:13 +00:00
{{#each rules}}
{{.}}
2016-04-16 18:24:03 +00:00
{{#unless @last}}
&raquo;
{{/unless}}
2016-04-16 05:33:13 +00:00
{{/each}}
2016-04-16 18:24:03 +00:00
&raquo;
{{source}}
2016-04-15 03:36:00 +00:00
</div>
2016-04-16 05:33:13 +00:00
{{/if}}
2016-04-15 03:36:00 +00:00
<div class="glossary">
2016-04-14 01:55:31 +00:00
<ol>
{{#each glossary}}
2016-04-16 05:33:13 +00:00
<li><span>{{.}}</span></li>
2016-04-14 01:55:31 +00:00
{{/each}}
</ol>
</div>