Display complete deck hierarchy when studying

Problem

When studying a deck with several subdecks, there could be unwanted ambiguity.

Example

I have a deck structure as follows:

Programming
        C
           Keywords
        Java
           Keywords

On one card in Programming::C::Keywords I have the question “What is the static keyword for?”

Since in the study card screen I cannot see the deck hierarchy, I can’t know if the question is for the C language or the Java language (both have the static keyword).

Solution

I suggest the following solution: display the whole deck hierarchy and in case it is too long we could ellipsize it, and show it complete only on click.

You can include {{Deck}} in your template.
https://docs.ankiweb.net/templates/fields.html

4 Likes

Thanks for your reply.

With your suggestion, I’d have to manually edit all my current cards to use that template?

Is there a way to easily achieve this?

You would only need to modify the template that the card/note uses. Changing that will change all the cards that use the template. Assuming that all of those cards are using the same template, you would only need to make the change once.

2 Likes

I use the same template for all my cards, so I endend up adding {{Deck}} to it, and as @zrk said, it changed for all cards using the template (in my case all). Thank you both, as far as I’m concerned, this topic can be closed.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.