aboutsummaryrefslogtreecommitdiff
path: root/tmpl/fields.html
blob: ca2a5ee2cb42eebb9f3f71ff7e77b6494289a25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{{#*inline "audio"}}{{/inline}}

{{#*inline "character"}}
{{definition.character}}
{{/inline}}

{{#*inline "dictionary"}}
{{definition.dictionary}}
{{/inline}}

{{#*inline "expression"}}
{{#if modeTermKana}}{{#if definition.reading}}{{definition.reading}}{{else}}{{definition.expression}}{{/if}}{{/if}}
{{#if modeTermKanji}}{{definition.expression}}{{/if}}
{{/inline}}

{{#*inline "furigana"}}
furigana
{{/inline}}

{{#*inline "glossary"}}
glossary
{{/inline}}

{{#*inline "kunyomi"}}
{{definition.kunyomi}}
{{/inline}}

{{#*inline "onyomi"}}
{{definition.onyomi}}
{{/inline}}

{{#*inline "reading"}}
{{definition.reading}}
{{/inline}}

{{#*inline "sentence"}}
{{definition.sentence}}
{{/inline}}

{{#*inline "tags"}}
{{#each definition.tags}}{{name}}{{#unless @last}}, {{/unless}}{{/each}}
{{/inline}}

{{#*inline "url"}}
{{#if html}}<a href="{{definition.url}}">{{definition.url}}</a>{{else}}{{definition.url}}{{/if}}
{{/inline}}

{{> (lookup . 'marker') }}