Wouldn’t the usual multiple-choice cards be better for such a case? Or how does this involve cloze deletion?
It would make sense, as long as you keep the delay short enough to filter accidential double presses, without the pain of the long-press in the Show Answer button that Anki appears to have introduced in the app (another reason to use a keyboard, actually)
Thank you for the magnificent template. I modified it a bit to suit my own use.
This is the Cloze template you provided a while ago. If possible, please also update the Cloze template to make it even more attractive.

This is the Cloze template you provided a while ago. If possible, please also update the Cloze template to make it even more attractive.
What are the main point that should be improved in your opinion?
What I mean is, if you have other updates with the multichoice and type in template, please also update the Cloze template too.
Hello,
I have been using your template, and it has been incredibly helpful. Thanks to the various features you implemented and the elegant design, my daily studies have become much more enjoyable. Although I am a novice when it comes to programming, I was able to customize the template to my liking by following the questions on the forum and your kind answers. However, there are two aspects I could not resolve on my own, so I am reaching out for your assistance.
- I am using the Extra 2 field as an EXAMPLE SENTENCE field. Is it possible to add an audio button before (or after) each sentence that plays a sound when clicked? I already have the sound files.
- I’m not sure if this is the right place to ask this question, but I couldn’t find another forum related to this plugin, so I hope you don’t mind me adding this here. If you prefer that I move (or delete) this question, I will do so immediately. Here is my ANKI main screen. I used the L Style plugin you uploaded on GitHub to change the profile picture and font of my deck. However, your comment at the bottom of the page mentions that you used it together with the Enhance main window. When I install the Enhance main window, the profile picture and font settings from the L Style revert to the default state. I simply want to add the Enhance main window’s chart to my main screen. Could you possibly help me with this? I spent all day yesterday trying to figure it out, but to no avail.
Lastly, although I had heard of the ANKI program before, I hesitated to use it due to its rather plain design. Your template, however, has been a game-changer for me. I hope you have a wonderful day.

I am using the Extra 2 field as an EXAMPLE SENTENCE field. Is it possible to add an audio button before (or after) each sentence that plays a sound when clicked?
Sure thing. You can add a new field to your cards to put example sentence audios in. Then, in the template, insert the field into the same section where the example sentence itself is located:
you can also simply drag and drop audio files in the Anki editor into the existing fields with the example sentences, without making any changes to the template or field composition. This, however, will limit the options for utilizing the content of that field, as audio and text won’t be usable separately, and make your collection a bit harder to manage

I’m not sure if this is the right place to ask this question, but I couldn’t find another forum related to this plugin, so I hope you don’t mind me adding this here.
This thread is perfectly fine for that. I’ve been meaning to merge that plugin into the one providing functionality for the card template for a while anyway.

When I install the Enhance main window, the profile picture and font settings from the L Style revert to the default state.
Not sure, what can go wrong here. Can you provide some screenshots and the link from which you installed the Enhance main window plugin? I still use the two in my setup and didn’t encounter any problems.

I simply want to add the Enhance main window’s chart to my main screen.
Aren’t you confusing the Enhance main window plugin with Review Heatmap by any chance?
Thank you so much for your kind response. I am already using the Review Heatmap add-on. I thought that the two add-ons might be conflicting, so I tried disabling it, but the result was the same. The one I want to use is indeed Enhance Main Window.
When I install Enhance Main Window, this is what it looks like. It seems like I can reduce the width by removing some items, but why do the profile picture and font change? I installed Enhance Main Window from here.
I will keep that in mind. However, as I wrote here earlier, the cloze template will unlikely be a priority for a while, unfortunately. Most of the latest updates made after that old version of cloze template – like main question audio buttons, images, and multiple-choice questions – are not relevant for it anyway. And the upcoming one, which is supposed to add full cross-platform typing and multiple-choices, will probably be incompatible at all, so the cloze template will have to be separately maintained in parallel to the main one. But I probably will be able to add the on-screen keyboard and the theme customization (which is in the works at the moment) after the next update is complete (judging by your screenshots you might be interested in the latter one ):
I see. It appears you have another empty deck inside your “0. Japanese” one, and the Enhance Main Window addon by default is set up to mark deck names in such cases with green, which overwrites the styles from my addon. To avoid this you can either delete that empty child deck, if you don’t plan on using it, add cards to it, or disable the coloring of empty decks altogether by setting
"do color empty": false,
at the bottom of the Enhance Main Window addon configs.

I am already using the Review Heatmap add-on. I thought that the two add-ons might be conflicting
Judging from my personal experience, apart from the issue above, the three should be working fine together.
Thank you so very much. I had no idea there was an empty deck within my Japanese deck. I feel really sorry for taking up your time. After following your advice and deleting the empty deck, everything went back to normal. The Review Heatmap add-on is also working properly now. I truly appreciate everything you’ve done.
If it’s not too much trouble, could I ask you one more question? I followed your instructions to add audio files to the example sentences, and it works perfectly. However, now, whenever I flip the card to the back, all three audio files (the two example sentence audios and the one pronunciation audio for the word) play in sequence. Is there a way to make the example sentence audios play only when I click on them, while still keeping the pronunciation audio for the word set to autoplay?
Fortunately, I found a solution. I deleted my question post because I didn’t want to take up your time, but I restored it when I realized it hadn’t been completely removed! I’m really looking forward to your future work. I hope your days are always filled with joy. Thank you once again.

Is there a way to make the example sentence audios play only when I click on them, while still keeping the pronunciation audio for the word set to autoplay?
There are no direct ways of controlling autoplay, unfortunately. There are some general instructions here, although it will take some extra work to adjust those for this template (and will also require renaming and subsequent manual managing of the muted audio files whenever some would need to be removed from the collection).
But if you only have a single audio to autoplay on the backside (i.e. if there are multiple files recorded for the word audio, you are fine with playing only one of them) this can be achieved with a simple JS, that clicks on a specified audio button (as it will interrupt the autoplay of everything else).
For this, you’ll need to add some marking to set the section with the desired autoplay audio apart from the rest (I use “autoplay” class here, the “Extra 2” is supposed to represent your field with the word audio):
Then use it in a script to automatically click the first button in the section (add this to the very end of your backside template):
<script>
autoplayAudio = document.querySelector(".autoplay .soundLink, .autoplay .replaybutton");
if (autoplayAudio) { autoplayAudio.click(); }
</script>
If there are several audio files in that section, with a slightly different script a random one can be played back instead of the first as well. I’m also not sure if this will work well enough with the audio button animations, but depending on your preferences those should be manageable too.
Nice job on customizing the template, by the way. Looks good with that furigana and coloring!
@Eltaurus I was trying to use your template (it’s great!) but I found that the taps on the buttons can trigger the control options (the gestures). I try double tapping a button and it undoes my previous answer. This doesn’t happen with say, the media play button. Is this solvable from your side or I should open an issue in AnkiDroid’s repo?

This doesn’t happen with say, the media play button.
I linked toggling the green flag to a double tap and it seems to be triggered with the media button on a basic note type just as well:
I don’t know much about gestures, and the template doesn’t do anything specific with them, but since they are an Android feature, it would make sense for them to exist outside of the webview and out of reach for card scripts. I’m not sure how much control over this the app has, but I didn’t find any mentions of it exposing gesture commands to the templates (other than binding additional triggers for JS functions).
You’re right. I wasn’t clicking fast enough to trigger the control option. Now that I think of it, I’ve encountered this even before with the gestures. I will open an issue or make another post here. Thanks for help.
Your template is a great help! I cannot express my appreciation enough.
I have two questions.
- Can I combine cloze with multichoices like the following example?
Currently we cannot have the question clozed. We can only answer the question in full. - Can I make the type in Ankidroid and Ankimobile bigger, it is too small.
- And can I make the correction bigger?
Thank you so much!

Can I combine cloze with multichoices like the following example?
As I wrote here before, this should be possible, but I wouldn’t get to working on cloze template for some time, and so can’t provide a full implementation for now. If you are open to experimenting yourself, you might want to try making a new cloze note type from the newer version of the template, setting the class for multiple-choice questions, putting {{cloze:YourClozeField}} into the #correctAnswer
element and using the value of data-cloze
attribute of a span inside corrAnsL
instead of innerHTML where the variable corrAns
is defined in the code.

Can I make the type in Ankidroid and Ankimobile bigger, it is too small.
The text outlined in your screenshot is not a part of the template, but rather an interface element of an app itself, as such any adjustments to its appearance should be looked for in the settings of the respective app.
However, on Android you can opt to use the template’s own typing instead of the default app one by toggling the Type answer into the card option. For Anki Mobile such mode will also become available and used by default in the upcoming version of the template, which is currently in testing and can be found in this thread.

And can I make the correction bigger?
Have you tried adding the .large class?
Question 1 looks complicated, I’ll pass for now.
Thank you for Q2 and Q3.
I am using the Memrise template you created, and I imported my Memrise course following your instructions.
Some of the vocabulary words in my deck have more than one possible translation. Ex: “eye, spring (of water).” In Memrise, it was possible to type all possible solutions on their own line so that typing any one correct answer was sufficient (ex: “eye” and “eye, spring (of water)” and “spring (of water), eye” and “spring (of water).” I tried switching the commas to | (based on the multiple choice card option), but Anki still marks my answers wrong if I don’t type all possible translations in the order on the card. Is it possible to restore the functionality Memrise had?