David, I was looking at something similar myself and started building it, not finished yet. The approach I took was to create a field for any ingredient, consider the fieldname it's short name, the field value will then contain the quantity. I then created a tiddler with the title fieldname in which I could store more information on that ingredient including its full name, standard measure eg 1 for a cup and list the recipes tiddlers containing that ingredient (all tiddlers with its fieldname). In each recipie tiddler you could have a macro <<ingredient "fieldname>> which would retrieve the quantity, full name, link to the ingredient tiddler and display the standard measure.
A smart select would also allow you to add ingredients from existing ones perhaps even with a default qty and while recording a new recipe just create the ingredient fields with a Qty, and deal with the details later. This solution keeps the tags free for other types of recipe categorisation separated from the ingredients, say international cuisine it belongs to, but this could also become a field. My ultimate goal would be to allow you to inventory your ingredients and see what recipes you have the ingredients for, or select some recipes and get a shopping list (which you can first satisfy from your pantry). My key requirement was to be able to clone a recipe tiddler and modify the ingredients a little as I try a variation, then using a rating plugin to review my favorites. I spend too much time on tiddlywiki so Have resisted finishing this during our festive season. Regards Tony On Wednesday, January 1, 2020 at 2:10:33 AM UTC+11, David Allen wrote: > > I'm trying to create a wiki for meal tracking, and I'd like to store a > list of ingredients and their proportions into recipe tiddlers. The only > way I know to do so right now is by having two lists, one for ingredients, > the other for amounts. Problem is, I'm afraid of doing something to sort > one of these lists and disrupt the order between both of these lists. Does > anyone know of a way to create pairs of tiddlers and then store those in a > list, or something that will keep these pairs together in a list? Thanks! > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1032ecc7-0302-4dc3-afed-9f402b893e43%40googlegroups.com.