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.

166 lines
2.2 KiB

---
QueryCourse:
QueryCategory: ""
QueryCuisine: ""
QueryIngredient: pepper
QueryTheme: ""
QueryFavourite:
QueryRating:
Alias: ["Recipes"]
Tag: ["Lifestyle", "Food", "Cooking"]
Date: 2021-10-20
DocType: "Personal"
Hierarchy: "Root"
location:
CollapseMetaTable: Yes
---
Parent:: [[Lifestyle]]
---
 
```button
name Create New Recipe
type note(New Note) template
action Template Recipe
id NewNote
```
^button-RecipesNewNote
```button
name Save
type command
action Save current file
id Save
```
^button-RecipesSave
 
# Folder map
 
```ad-abstract
title: Summary
collapse: open
This note enables to navigate in the Recipes section and find any Recipe in this Vault by Recipe or Tag
```
 
```toc
style: number
```
 
---
 
### Quick Filter
 
```button
name Search Library
type command
action MetaEdit: Run MetaEdit
id EditMetaData
```
 
```dataviewjs
dv.view("00.01 Admin/dv-views/print_data", {toprint: [dv.current().QueryCourse, dv.current().QueryCategory, dv.current().QueryCuisine, dv.current().QueryIngredient, dv.current().QueryTheme, dv.current().QueryFavourite, dv.current().QueryRating,
dv.current().QueryAddedDate]})
```
 
```dataviewjs
dv.view("00.01 Admin/dv-views/query_recipe", {course: dv.current().QueryCourse, dateadded: dv.current().QueryAddedDate, category: dv.current().QueryCategory, cuisine: dv.current().QueryCuisine, ingredient: dv.current().QueryIngredient, theme: dv.current().QueryTheme, isfavourite: dv.current().QueryFavourite, rating: dv.current().QueryRating})
```
 
---
 
### Main dishes
 
```dataviewjs
dv.view("00.01 Admin/dv-views/query_recipe", {course: "Main Dish"})
```
 
---
 
### Side dishes
 
```dataviewjs
dv.view("00.01 Admin/dv-views/query_recipe", {course: "Side Dish"})
```
 
---
 
### Desserts
 
```dataviewjs
dv.view("00.01 Admin/dv-views/query_recipe", {course: "Dessert"})
```
 
---
 
### Tag Navigation
 
```dataview
Table without id tags as "Tags" From "03.03 Recipes"
Flatten file.tags as tags
Group by tags
```
 
---
 
### High Level tasks
 
```tasks
not done
path includes 03.03
sort by due
hide backlink
hide task count
```