yomichan/util/tmpl/term.html

30 lines
641 B
HTML
Raw Normal View History

2016-04-14 03:13:41 +00:00
{{#if reading}}
2016-04-18 02:06:57 +00:00
<div class="term"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
2016-04-14 03:13:41 +00:00
{{else}}
2016-04-18 02:06:57 +00:00
<div class="term">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</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-19 03:35:40 +00:00
<span class="tag tag-{{class}}" title="{{desc}}">{{name}}</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>