diff options
Diffstat (limited to 'ext/data/templates/default-anki-field-templates.handlebars')
-rw-r--r-- | ext/data/templates/default-anki-field-templates.handlebars | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/data/templates/default-anki-field-templates.handlebars b/ext/data/templates/default-anki-field-templates.handlebars index d94f6d70..f23b9d0b 100644 --- a/ext/data/templates/default-anki-field-templates.handlebars +++ b/ext/data/templates/default-anki-field-templates.handlebars @@ -229,6 +229,27 @@ {{/inline}} {{! End Pitch Accents }} +{{#*inline "phonetic-transcriptions"}} + {{~#if (op ">" definition.phoneticTranscriptions.length 0)~}} + <ul> + {{~#each definition.phoneticTranscriptions~}} + {{~#each phoneticTranscriptions~}} + <li> + {{~set "any" false~}} + {{~#each tags~}} + {{~#if (get "any")}}, {{else}}<i>({{/if~}} + {{name}} + {{~set "any" true~}} + {{~/each~}} + {{~#if (get "any")}})</i> {{/if~}} + {{ipa~}} + </li> + {{~/each~}} + {{~/each~}} + </ul> + {{~/if~}} +{{/inline}} + {{#*inline "clipboard-image"}} {{~#if (hasMedia "clipboardImage")~}} <img src="{{getMedia "clipboardImage"}}" /> |