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.

152 lines
2.1 KiB

3 years ago
---
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"})
```
 
---
 
### Dessert
 
```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
```