12 0
Contact Author Sign in to rate

Additional Card Fields (Fork for 2.1)

0.02MB. Updated 2020-09-20. Only supports Anki 2.1.x.
The author has shared 71 other item(s).

Description

This add-on allows to include additional special fields to a card template. Note for Anki 2.1.20 or later: Some people reported that updating the add-on to the latest version doesn't work for them but that uninstalling and reinstalling works. If you have problems with updating this add-on you should try this, for details see here. Conditional replacement no longer works in Anki 2.1.20 or later. But there are workarounds, see here and here. Add-ons don't work on mobile. If you have some text that only makes sense with the additional card fields you can hide it on mobile like this. If your Anki version is 2.1.19 or lower you use {{info::Ivl}} or {{info::LastReview}}. For Anki version 2.1.20 or later you use {{info-Ivl:}} or {{info-LastReview:}}. All templates need to be updated to the new syntax. This should happen automatically the first time you start Anki 2.1.20. This change was necessary because of changes in Anki 2.1.20 that made Anki faster and more robust. bugs, etc. Use this version at your own risk. Please do not use reviews for bug reports or support requests. I don't get notified of your reviews, you don't get notified about my answers and properly troubleshooting an issue through them is nearly impossible (formatting is limited and I can't reply multiple times). If you find a bug let me know in the official Anki support forum, on github. Versions - 2020-09-20 2.1.28+: no longer use deprecated col.backend.format_time_span() - 2020-04-16 new value: reviewCardPercentageDueString, load user values, remove deprecated fmtTimeSpan() - 2020-03-30 fix for 2.1.24 - 2020-01-22 new version for 2.1.20 (adjusted by the Anki creator Damien Elmes) - 2020-01-12 fix for 2.1.17 - 2019-07-04 added config options, disabled deck options by default, helper for 1994996371 - 2019-02-24 fix for 2.1.9 (thanks for the fix IIRC to /u/khonkhortisan) - 2019-01-30 initial release Details (for version Anki 2.1.20 or later) You can include information about the current card: - {{info-FirstReview:}} - the first day that this card got reviewed - {{info-LastReview:}} - the last reviewed day - {{info-TimeAvg:}} - average time spent on this card - {{info-TimeTotal:}} - total time spent - {{info-overdue_fmt:}} - overdue days formatted - {{info-overdue_days:}} - overdue days - {{info-Ord:}} - the number of the template. The first template gets the number 0, the second the number 1, etc. Useful e.g. for clozed cards, where you want Javascript code to behave different for certain cards - {{info-Did:}} - deck id - {{info-Due:}} - due date - {{info-Id:}} - card id - {{info-Ivl:}} - current interval - {{info-Queue:}} - 0=new, 1=learning, 2=due, 3=(re)learning - next day or later, -1=suspended, -2=user buried, -3=sched buried - {{info-Reviews:}} - number of reviews that you had on a card - {{info-Lapses:}} - number of lapses - {{info-Type:}} - 0=suspended, 1=learning, 2=normal, 3=relearning - {{info-Nid:}} - note id - {{info-Mod:}} - last modification date - {{info-Usn:}} - universal serial number which is incremented everytime you upload to AnkiWeb - {{info-Factor:}} - the easiness of a card, e.g. 2500 would be 250% - {{info-Ease:}} - the easiness of a card, e.g. 250 is the default Anki uses for new cards. More readable version of "Factor" - {{info-Review?:}} - is this card being reviewed? - {{info-New?:}} - is this card new? - {{info-Learning?:}} - is this card being learned? - {{info-TodayLearning?:}} - shown if card in learning and in queue 1 - {{info-DayLearning?:}} - shown if card in learning and in queue 3 - {{info-Young:}} - shown if card in "review" and interval shorter than 21 days - {{info-Mature:}} - shown if card in "review" and interval longer than 21 days - {{info-Date_Created:}} - Date of card creation = noteID formatted If you enable it in the settings of this add-on you can also show some deck options. I don't use this. To view deck options I prefer the add-ons deck and card info sidebar during review or Extended Card Stats During Review because these work for all note types. - {{info-Options_Group_ID:}} - {{info-Options_Group_Name:}} - {{info-Ignore_answer_times_longer_than:}} - {{info-Show_answer_time:}} - {{info-Auto_play_audio:}} - {{info-When_answer_shown_replay_q:}} - {{info-is_filtered_deck:}} - {{info-deck_usn:}} - {{info-deck_mod_time:}} - {{info-new__steps_in_minutes:}} - {{info-new__order_of_new_cards:}} - {{info-new__cards_per_day:}} - {{info-graduating_interval:}} - {{info-easy_interval:}} - {{info-Starting_ease:}} - {{info-bury_related_new_cards:}} - {{info-MaxiumReviewsPerDay:}} - {{info-EasyBonus:}} - {{info-IntervalModifier:}} - {{info-MaximumInterval:}} - {{info-bur_related_reviews_until_next_day:}} - {{info-lapse_learning_steps:}} - {{info-lapse_new_ivl:}} - {{info-lapse_min_ivl:}} - {{info-lapse_leech_threshold:}} - {{info-lapse_leech_action:}}

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

744725736

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1603517516
Great addon, I whish this were native to Anki.
on 1590997952
Exactly, what I was looking for, thank you.
on 1584697548
Great add-on, thanks! Just one little question: Is it possible to write information permanently into a field? Such that the information can be exported and also used for AnkiDroid?
on 1582029516
Nice add-on. Thank you for sharing.
on 1581957388
Hello again, the add-on somehow reverted to the same issue it had before, Anki will not allow it to be enabled in 2.1.20.
Comment from author before post was edited
Thanks for the info and nice wrapping. Can you update and try again? Let me know if the new version works for you.

If it does not: Can you post some info about your setup from the main window -> Help -> "About Anki", then the button "Copy Debug Info" to https://anki.tenderapp.com/discussions/add-ons/40804-additional-card-fields-official-thread?unresolve=true or reddit or github
on 1577630565
Great!
on 1563172666
Awesome add-on. It allows me to check the number of reviews that I need to learn a card while reviewing.
Easier to notice Anki-bottleneck and fix the problem.
on 1558397962
thanks
on 1556848160
Nice
on 1552912007
useful, allows me to know when a card is new or in review
on 1548760830
This is an addon I was hoping would be ported to 2.1 for a while now, so thanks for doing that!
on 1548750476
Could you add the existing fields in this other Fork from version 2.1?

https://www.reddit.com/r/Anki/comments/afrh21/additional_card_fields_for_anki_21/