yomichan/util/tmpl/term.html

30 lines
559 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-17 05:54:19 +00:00
<span class="rule">{{.}}</span> {{#unless @last}}&laquo;{{/unless}}
2016-04-16 05:33:13 +00:00
{{/each}}
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}}
2016-04-17 05:54:19 +00:00
<span class="tag">{{.}}</span>
2016-04-16 18:41:33 +00:00
{{/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>