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.

102 lines
1.2 KiB

3 years ago
---
ServingSize:
cssclass: recipeTable
Alias: []
Tag: []
Date: <% tp.date.now("YYYY-MM-DD") %>
3 years ago
DocType: "Recipe"
Hierarchy: "NonRoot"
location:
3 years ago
CollapseMetaTable: Yes
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;
### Practical Informations
| |
|-|-
**Courses**: | `$=dv.current().Recipe.Courses`
**Categories**: | `$=dv.current().Recipe.Categories`
**Collections**: | `$=dv.current().Recipe.Collections`
**Serving size**: | `$=dv.current().ServingSize`
**Cooking time**: | `$=dv.current().Recipe.CookingTime` min
&emsp;
---
&emsp;
### Ingredients
&emsp;
```dataviewjs
dv.view("00.01 Admin/dv-views/query_ingredient", {ingredients: dv.current().Ingredients, originalportioncount: dv.current().Recipe.OServingSize})
```
&emsp;
---
&emsp;
### Instructions
&emsp;