Hiding information on basic-and-reversed cards until reveal

Is there a way, or an addon, that will hide text in a basic-and-reversed card until the reveal? So when making a basic and reversed card, I can have some sentences on either side be concealed, until the reveal. So whether I’m giving the front and need to remember the back or vice versa, on both sides of the card some sentences/words will be hidden, and not until I click to reveal will both sides of the card be shown AND all the hidden sentences on both sides become revealed.

Cloze cards do not work in the way that I want, so using cloze cards does not solve the problem. I specifically want to use basic-and-reversed cards, and have certain sentences hidden until the reveal, when both sides are shown and all hidden sentences on both sides of the card become visible.

You can use another field and make it only appear on the backside.
https://docs.ankiweb.net/templates/fields.html#basic-replacements

To do so go to browse → cards:

Here you can edit the corresponding backside of your Card Types

Also see @kleinerpirat 's answer which covers the code itself

3 Likes

I think there’s a bit of confusion regarding “sides of a card” here. “Front” and “Back” are fields in that case, not “sides”. There’s a template that uses the field “Front” on the front-side and a card template that uses the field “Back” on the front-side.

As @Nici has shown, you can edit your card templates for “Basic (and reversed card)” - no need for an add-on.
Perhaps what you want is an additional field called “Extra” and a back template like this:

Back (Card 1)

{{FrontSide}}

<hr id=answer>

{{Back}}
<br><br>
{{Extra}}

Back (Card 2)

{{FrontSide}}

<hr id=answer>

{{Front}}
<br><br>
{{Extra}}

(Front templates can stay the same)

3 Likes

For more details on how to use Fields check out the docs:

https://docs.ankiweb.net/editing.html#customizing-fields

1 Like