yomichan/util/tmpl/term.html

32 lines
564 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:41:33 +00:00
{{.}} {{#unless @last}}&laquo;{{/unless}}
2016-04-16 05:33:13 +00:00
{{/each}}
2016-04-16 18:41:33 +00:00
&laquo;
2016-04-16 18:24:03 +00:00
{{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
2016-04-16 18:41:33 +00:00
{{#if tags}}
<div class="tags">
{{#each tags}}
{{.}}{{#unless @last}},{{/unless}}
{{/each}}
</div>
{{/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>