-
We are creating an Anki-like feature in TW (oflg/fishing ), using the title field (or maybe a "question" field) as the question, and the text field as the answer. And maybe I also need to change the view template so user can have different QA card display by adding different tag to the tiddler. Are we supposed to change view/edit template like this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I think actually my need is
So I think I may need to add "condition" field support to both |
Beta Was this translation helpful? Give feedback.
-
@linonetwo add your extra UI in a tiddler tagged $:/tags/ViewTemplate and wrap it in a $list widget with your condition:
If you want to adjust where this UI is shown in comparison to other view template components, add |
Beta Was this translation helpful? Give feedback.
-
Adding more flexibility to how the templates are chosen is under discussion but is part of a larger considered change that is needed: #5136 (comment) |
Beta Was this translation helpful? Give feedback.
@linonetwo add your extra UI in a tiddler tagged $:/tags/ViewTemplate and wrap it in a $list widget with your condition:
If you want to adjust where this UI is shown in comparison to other view template components, add
list-before
field to your template tiddler.