If you have a problem with the add-on add-on Additional Card Fields post in this thread. This way I get notified. If you make a new thread I might miss it.
The old support thread was here. There are some useful discussions in it, e.g. on how to use values from the add-on for styling your cards with javascript.
Anki Version â¨2.1.37 (6d596c8f)âŠ
Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.11.2-1-MANJARO
OS Type: 64-bit
Help please. I added some additional steps to new cards like 1440 2880 and I want to use this add-on to see the difference between cards that are in learning and in review, preferably conditionally, I mean display is learning, donât display anything if it is not in learning.
Or perhaps I donât know how to use it properly. I donât understand why it need a special field.
@gnomek: The problem in your screenshot is that you are missing question marks. In the description on ankiweb I have this: {{info-TodayLearning?:}}. Names with question marks have been in use since 2015/2019 so I canât change them without breaking many setups.
It doesnât change anything. Or I donât know what is the proper use of it. I expected it will show on cards that are found by searching is:learn= interval learning.
some fields have questions marks, some donât. Just copy and paste from the documentation of my add-on ankiweb.
For the exact meaning of the special fields I use check the source code, e.g. for "Learning?"here. According to this database description card.type =1 means âcard in learningâ. This should evaluate to true for cards that are matched by the search term is:learn in the browser.
In the screenshots you share you always have âUnknown field: âŚâ. Thereâs a simple explanation for those messages: Some code in the screenshots you shared does not have the syntax thatâs needed in 2.1.37 so that you will get âUnknown field: âŚâ on the right side in the preview for those:
If you are wondering about the difference between these two fields:
- {{info-Learning?:}} - is this card being learned?
- {{info-TodayLearning?:}} - shown if card in learning and in queue 1
check the database description: Learning should be the sum of âTodayLearningâ and âDayLearningâ. TodayLearning should be cards in learning that will be shown again today. This is relevant e.g. for people who besides the default learning steps of â1 10â also use e.g. â1440â.
How stupid I was. I am really sorry for taking your time. I now discovered that it actually works and it display proper information in review mode but not in card template preview. I donât know why I assumed it will show something in preview.
And thank you for explaining the difference between `info-Learningâ and âinfo-TodayLearningâ. That is relevant to me.
are displayed as "Learning" in review mode. Is there any way to make the value displayed in other way, for example as a translation to my native language or other word, for example {{info-TodayLearning?:}} as "New".
Of course, without changing to what it actually refers as Anki value.
Is it possible to add an option to display if card is in re-learning mode, similar to {{info-Learning?:}} and {{info-New?:}}, but instead {{info-ReLearning?:}}
you could add a line below addInfo["New?"] = "New" if card.type == 0 else "" in the source code of the add-on in the file new_additional_card_fields.py or old_additional_card_fields.py (depending on your version of anki) so that it looks like this:
addInfo["New?"] = "New" if card.type == 0 else ""
addInfo["ReLearning?"] = "ReLearning" if card.type == 3 else ""
Is Additional Card Field working with Anki 2.1.49 Iâve loaded it several times but when I use {{info-Ease:}} and {{info-Factor:}} I keep getting 0 rather than 250 same with other parameters. Any ideas?
Thanks for getting back so quickly. Iâve been using Anki for a couple of years but this is the first time I thought an addon would help so bear with me.
I attach five screenshots to show the situation. The first two show the single addon and the file directory in case that helps. The next shows the start of my 4000+ kanji card deck and the Ease and Review values according to the browser can be seen.
The final two show the html line for the back of the first card (Id = 1) where I have added Ease and Reviews print statements and the values on the back of the card these changes produce.