Books MOC
label: New Fiction Book
hidden: true
class: ""
tooltip: ""
id: "nfb"
style: default
actions:
- type: templaterCreateNote
templateFile: bin/templates/TemplateFictionBook.md
folderPath: Notes/Books
fileName: Untitled
openNote: true
label: New NonFiction Book
hidden: true
class: ""
tooltip: ""
id: "nnb"
style: default
actions:
- type: templaterCreateNote
templateFile: bin/templates/TemplateNonFictionBook.md
folderPath: Notes/Books
fileName: Untitled
openNote: true
BUTTON[nfb] BUTTON[nnb]
Templates
Books
INPUT[inlineSelect(option(Fiction,Fiction),option(NonFiction,NonFiction),option(All,All),defaultValue(All)):var]
TABLE without ID
book-cover,
file.link as "Book Title",
Author,
Date,
Type
FROM "Notes/Books"
WHERE Type = this.var or this.var = "All"
SORT file.name DESC