You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
1.8 KiB

3 years ago
---
ServingSize:
cssclass: recipeTable
Alias: []
Tag: []
Date: <% tp.date.now("YYYY-MM-DD") %>
3 years ago
DocType: "Recipe"
Hierarchy: "NonRoot"
location:
2 years ago
CollapseMetaTable: true
3 years ago
Meta:
IsFavourite: False
Rating:
3 years ago
Recipe:
Courses:
Categories:
Collections:
Source:
PreparationTime:
CookingTime:
OServingSize:
Ingredients:
-
---
Parent::
---
&emsp;
```button
name Edit Recipe parameters
type command
action MetaEdit: Run MetaEdit
id EditMetaData
```
^button-<% tp.file.title %>Edit
```button
name Save
type command
action Save current file
id Save
```
^button-<% tp.file.title %>NSave
&emsp;
# <% tp.file.title %>
&emsp;
```toc
style: number
```
&emsp;
---
&emsp;
2 years ago
### 🗒 Practical Informations
3 years ago
3 years ago
```dataview
list without id
2 years ago
"<table><tbody><tr><td><a class=heading>🍽 Courses</a></td>"
3 years ago
+
"<td><span style='color: var(--footnote);'>" + this.Recipe.Courses + "</span></td></tr>"
+
2 years ago
"<tr><td><a class=heading>🥘 Categories</a></td>"
3 years ago
+
"<td><span style='color: var(--footnote);'>" + this.Recipe.Categories + "</span></td></tr>"
+
2 years ago
"<tr><td><a class=heading>📚 Collections</a></td>"
3 years ago
+
"<td><span style='color: var(--footnote);'>" + this.Recipe.Collections + "</span></td></tr>"
+
2 years ago
"<tr><td><a class=heading>👨‍👨‍👧‍👦 Serving size</a></td>"
3 years ago
+
"<td><span style='color: var(--footnote);'>" + this.ServingSize + "</span></td></tr>"
+
2 years ago
"<tr><td><a class=heading>⏲ Cooking time</a></td>"
3 years ago
+
"<td><span style='color: var(--footnote);'>" + this.Recipe.CookingTime + " min</span></td></tr></tbody></table>"
FROM "03.03 Food & Wine/<% tp.file.title %>"
```
3 years ago
&emsp;
---
&emsp;
2 years ago
### 🧫 Ingredients
3 years ago
&emsp;
```dataviewjs
dv.view("00.01 Admin/dv-views/query_ingredient", {ingredients: dv.current().Ingredients, originalportioncount: dv.current().Recipe.OServingSize})
```
&emsp;
---
&emsp;
2 years ago
### 🔀 Instructions
3 years ago
&emsp;