Good questions!
Yes, mylady!
It shouldn’t interfere in any way, so you can leave it installed and happily use it.
In general, Templater and Dataview are good companions, so I’d advise to have both installed.
For more fun, here are my current testing templates for “ingredients” and “recipes”. I also include a zipped-up “Recipes” folder that one could use as a starting example.
“ingredients” template
---
ingredient: name
# Units of count, mass, volume – Use array of valid units from:
# pce, g, kg, ml, l, tsp, tbsp, fl oz, cup, pt, qt, gal
units: [pce, g, kg]
# Category – One of:
# legumes, fruit, tubers, vegetables, fungi, nuts, seeds, breads,
# dairy, meat, eggs, cereals, rice, fish, shellfish, other
category: other
GI: 0 # glycemic index
CH: 0 # carbohydrates in g per 100 g
GL: 0 # per 100g (= GI * CH/100))
cal: 0 # calories per 100 g
# Tags – Use "ingredient" and the category
tags: [ingredient, other]
---
# `=this.ingredient`
Category: `=this.category`
| Glycemic index | Carbohydrates\* | Glycemic load\* | Calories\* |
| -------------- | --------------- | --------------- | ----------- |
| `=this.GI` | `=this.CH` g | `=this.GL` | `=this.cal` |
<small>\* per 100 g</small>
### Notes
… description, notes …
### Used in these recipes
```dataviewjs
dv.list(dv.pages('"Recipes" and #recipe and -#toc')
.where(p => p.recipe && p.ingredients.map(e => e[0])
.indexOf(dv.current().ingredient) >= 0)
.file.link
);
```
“recipe” template
---
recipe: Name
# Category - Use one of:
# appetizers, condiments, confectionary, desserts, dips, pastes,
# spreads, dried, dumplings, fast food, fermented foods, noodles,
# pies, salads, sandwiches, sauces, snacks, soups, stews, other
category: other
servingsize: 100 g # blank-separated, so "unit" can be split
# Adjust portions to automatically modify recipe
portions: 4
# use standard durations here
preparationtime: 0 min
cookingtime: 0 min
totaltime: 0 min
# Ingredients should be named like their note (for making links)
# Quantities are always per PORTION.
# Don’t use [[link]] syntax here, might break the YAML!
# Units: pce, g, kg, ml, l, tsp, tbsp, fl oz, cup, pt, qt, gal
ingredients:
- ["sugar, white", 20 g]
- [watermelon, 80 g]
# Tags – Use "recipe", "food" or "drink", and the category
tags: [recipe, food, other]
---
# `=this.recipe`
Category: `=this.category`
## Ingredients for `=this.portions` portions (`=this.servingsize` ea.)
```dataviewjs
var i;
var list = [];
for (i=0; i < dv.current().ingredients.length; i++) {
var name = dv.current().ingredients[i][0];
var amount = dv.current().ingredients[i][1].split(" ")[0];
var unit = dv.current().ingredients[i][1].split(" ")[1];
var link = '[[' + name + ']]'
list.push(amount * dv.current().portions + " " + unit + " " + link);
}
dv.list(list);
```
## Nutritional values
… some dataviewjs to calculate totals from the ingredients, maybe combined GL, carbohydrates, Insulin Index, or the like …
## Preparation
Preparation: `=this.preparationtime` Cooking/baking: `=this.cookingtime` Total: **`=this.totaltime`**
<!-- entries separated by U+2003 emspace, U+00A0 nbsp between label & value -->
… preparation …
## Notes
… notes …
“Recipes” and subfolders (zipped)
Recipes.zip (13.2 KB)