more bases
This commit is contained in:
@@ -4,26 +4,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```base
|
||||
display:
|
||||
file.name: Album
|
||||
property.year: Year
|
||||
property.artist: Artist
|
||||
property.created: Added
|
||||
property.rating: Rating
|
||||
property.genre: Genre
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- artist
|
||||
- rating
|
||||
- year
|
||||
- genre
|
||||
|
||||
```
|
||||
![[Albums.base]]
|
||||
@@ -3,25 +3,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```base
|
||||
display:
|
||||
file.name: Title
|
||||
property.author: Author
|
||||
property.created: Clipped
|
||||
property.published: Published
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- author
|
||||
- created
|
||||
- published
|
||||
sort:
|
||||
- column: clipped
|
||||
direction: DESC
|
||||
```
|
||||
![[Clippings.base]]
|
||||
@@ -3,27 +3,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
|
||||
```base
|
||||
display:
|
||||
file.name: Book
|
||||
property.year: Year
|
||||
property.maker: Maker
|
||||
property.rating: Rating
|
||||
property.genre: Genre
|
||||
property.last: Last played
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Games]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- maker
|
||||
- genre
|
||||
- year
|
||||
- rating
|
||||
- last
|
||||
```
|
||||
![[Games.base]]
|
||||
|
||||
@@ -2,25 +2,4 @@
|
||||
tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Meeting
|
||||
property.type: Type
|
||||
property.people: People
|
||||
property.date: Date
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- people
|
||||
- date
|
||||
|
||||
```
|
||||
![[Meetings.base]]
|
||||
@@ -11,26 +11,4 @@ height:400px
|
||||
|
||||
## Places
|
||||
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Places]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
property.type: Type
|
||||
property.rating: Rating
|
||||
property.loc: Location
|
||||
file.name: Name
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- type
|
||||
- rating
|
||||
sort:
|
||||
- column: property.loc
|
||||
direction: ASC
|
||||
|
||||
```
|
||||
![[Places.base]]
|
||||
|
||||
@@ -3,26 +3,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```base
|
||||
display:
|
||||
file.name: Podcast
|
||||
property.show: Show
|
||||
property.guests: Guests
|
||||
property.episode: Episode
|
||||
property.rating: Rating
|
||||
property.published: Published
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- show
|
||||
- guests
|
||||
- episode
|
||||
- rating
|
||||
- published
|
||||
```
|
||||
![[Podcast episodes.base]]
|
||||
|
||||
@@ -3,28 +3,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Name
|
||||
property.author: Author
|
||||
property.type: Type
|
||||
property.ingredients: Ingredients
|
||||
property.cuisine: Cuisine
|
||||
property.rating: Rating
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- author
|
||||
- ingredients
|
||||
- cuisine
|
||||
- rating
|
||||
|
||||
```
|
||||
![[Recipes.base]]
|
||||
|
||||
@@ -3,22 +3,4 @@ tags:
|
||||
- categories
|
||||
---
|
||||
|
||||
```base
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Name
|
||||
property.loc: Location
|
||||
property.end: End
|
||||
property.start: Start
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- start
|
||||
- end
|
||||
```
|
||||
![[Trips.base]]
|
||||
|
||||
29
Daily.base
Normal file
29
Daily.base
Normal file
@@ -0,0 +1,29 @@
|
||||
filters:
|
||||
or:
|
||||
- linksTo(file.file, this.file.path)
|
||||
- contains(property.created, this.file.name)
|
||||
- contains(property.last, this.file.name)
|
||||
- contains(property.end, this.file.name)
|
||||
display:
|
||||
file.name: Entry
|
||||
property.category: Categories
|
||||
property.created: Created
|
||||
views:
|
||||
- type: table
|
||||
name: Daily notes
|
||||
filters:
|
||||
and:
|
||||
- not(contains(property.tags, "monthly"))
|
||||
order:
|
||||
- file.name
|
||||
- category
|
||||
- created
|
||||
sort:
|
||||
- column: file.name
|
||||
direction: ASC
|
||||
- column: property.category
|
||||
direction: ASC
|
||||
- column: property.created
|
||||
direction: ASC
|
||||
columnSize:
|
||||
file.name: 263
|
||||
@@ -4,12 +4,4 @@ tags:
|
||||
---
|
||||
## Notes
|
||||
|
||||
```dataview
|
||||
list
|
||||
where
|
||||
!contains(file.tags, "daily") and
|
||||
contains(file.outlinks, this.file.link) or
|
||||
contains(string(file.frontmatter), string(dateformat(this.file.day,"yyyy-MM-dd")))
|
||||
sort file.ctime asc
|
||||
limit 50
|
||||
```
|
||||
![[Daily.base]]
|
||||
@@ -3,14 +3,4 @@ tags:
|
||||
- music/genres
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
genre as Genre,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories, [[Albums]]) and
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Albums.base#Genre]]
|
||||
@@ -12,24 +12,8 @@ created: 2023-09-12
|
||||
|
||||
# Clippings
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
published as Published
|
||||
where
|
||||
contains(categories,[[Clippings]]) and
|
||||
contains(author,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Clippings.base#Author]]
|
||||
|
||||
# Podcast episodes
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Podcast,
|
||||
published as Published
|
||||
where
|
||||
contains(categories,[[Podcast episodes]]) and
|
||||
contains(guests,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Podcast episodes.base#Guest]]
|
||||
@@ -16,16 +16,7 @@ created: 2023-09-12
|
||||
---
|
||||
## Trips
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Trip,
|
||||
start as Start,
|
||||
end as End
|
||||
where
|
||||
contains(categories, [[Trips]]) and
|
||||
contains(loc, this.file.link)
|
||||
sort file.name desc
|
||||
```
|
||||
![[Trips.base#Related trips]]
|
||||
|
||||
## Map
|
||||
|
||||
@@ -42,13 +33,4 @@ coordinates: [[Kyoto]]
|
||||
|
||||
## Places
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Place,
|
||||
rating as Rating,
|
||||
type as Type
|
||||
where
|
||||
contains(categories, [[Places]]) and
|
||||
contains(loc, this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Places.base#Location]]
|
||||
@@ -8,13 +8,4 @@ created: 2023-09-13
|
||||
---
|
||||
## Albums
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Albums]]) and
|
||||
contains(artist,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Albums.base#Related albums]]
|
||||
@@ -2,13 +2,4 @@
|
||||
tags:
|
||||
- genres
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
categories as categories,
|
||||
rating as Rating
|
||||
where
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Genre.base]]
|
||||
@@ -12,23 +12,8 @@ url: https://stephango.com/
|
||||
---
|
||||
## Clippings
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
published as Published
|
||||
where
|
||||
contains(author,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Clippings.base#Author]]
|
||||
|
||||
## Meetings
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Meeting,
|
||||
date as Date
|
||||
where
|
||||
contains(people,this.file.link)
|
||||
sort file.name desc
|
||||
```
|
||||
|
||||
![[Meetings.base#Person]]
|
||||
@@ -9,13 +9,4 @@ tags:
|
||||
---
|
||||
## Episodes
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
link(file.link, "Ep. " + string(episode)) as Episode,
|
||||
guests as Guest,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Podcast episodes]]) and
|
||||
contains(show,this.file.link)
|
||||
sort episode desc
|
||||
```
|
||||
![[Podcast episodes.base#Show]]
|
||||
@@ -6,13 +6,4 @@ tags:
|
||||
---
|
||||
## Books
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
year as Year,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Books]]) and
|
||||
contains(author,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Books.base#Author]]
|
||||
@@ -1,8 +0,0 @@
|
||||
|
||||
```dataview
|
||||
list
|
||||
where
|
||||
contains(type, this.file.link) and
|
||||
!contains(file.name, "Template")
|
||||
sort file.ctime asc
|
||||
```
|
||||
46
Templates/Bases/Albums.base
Normal file
46
Templates/Bases/Albums.base
Normal file
@@ -0,0 +1,46 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Albums]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Album
|
||||
property.year: Year
|
||||
property.artist: Artist
|
||||
property.created: Added
|
||||
property.rating: Rating
|
||||
property.genre: Genre
|
||||
views:
|
||||
- type: table
|
||||
name: Albums
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- artist
|
||||
- rating
|
||||
- year
|
||||
- genre
|
||||
- type: table
|
||||
name: Artist
|
||||
filters:
|
||||
and:
|
||||
- contains(artist, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- artist
|
||||
- rating
|
||||
- year
|
||||
- genre
|
||||
- type: table
|
||||
name: Genre
|
||||
filters:
|
||||
and:
|
||||
- contains(genre, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- artist
|
||||
- rating
|
||||
- year
|
||||
- genre
|
||||
14
Templates/Bases/Backlinks.base
Normal file
14
Templates/Bases/Backlinks.base
Normal file
@@ -0,0 +1,14 @@
|
||||
filters:
|
||||
and:
|
||||
- linksTo(file.file, this.file.path)
|
||||
display:
|
||||
property.category: Category
|
||||
file.name: Name
|
||||
property.created: Created
|
||||
views:
|
||||
- type: table
|
||||
name: Backlinks
|
||||
order:
|
||||
- file.name
|
||||
- category
|
||||
- created
|
||||
37
Templates/Bases/Clippings.base
Normal file
37
Templates/Bases/Clippings.base
Normal file
@@ -0,0 +1,37 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Clippings]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Title
|
||||
property.author: Author
|
||||
property.created: Clipped
|
||||
property.published: Published
|
||||
views:
|
||||
- type: table
|
||||
name: Clippings
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- author
|
||||
- created
|
||||
- published
|
||||
sort:
|
||||
- column: clipped
|
||||
direction: DESC
|
||||
- type: table
|
||||
name: Author
|
||||
filters:
|
||||
and:
|
||||
- contains(author, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- author
|
||||
- created
|
||||
- published
|
||||
sort:
|
||||
- column: clipped
|
||||
direction: DESC
|
||||
49
Templates/Bases/Games.base
Normal file
49
Templates/Bases/Games.base
Normal file
@@ -0,0 +1,49 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Games]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Games
|
||||
property.year: Year
|
||||
property.maker: Maker
|
||||
property.rating: Rating
|
||||
property.genre: Genre
|
||||
property.last: Last played
|
||||
views:
|
||||
- type: table
|
||||
name: Games
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Games]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
order:
|
||||
- file.name
|
||||
- maker
|
||||
- genre
|
||||
- year
|
||||
- rating
|
||||
- last
|
||||
- type: table
|
||||
name: Studio
|
||||
filters:
|
||||
and:
|
||||
- contains(maker, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- maker
|
||||
- genre
|
||||
- year
|
||||
- rating
|
||||
- last
|
||||
- type: table
|
||||
name: Genre
|
||||
filters:
|
||||
and:
|
||||
- contains(genre, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- maker
|
||||
- genre
|
||||
- year
|
||||
- rating
|
||||
- last
|
||||
17
Templates/Bases/Genre.base
Normal file
17
Templates/Bases/Genre.base
Normal file
@@ -0,0 +1,17 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(genre, concat("[[", this.file.name, "]]"))
|
||||
display:
|
||||
property.categories: Categories
|
||||
property.rating: Rating
|
||||
property.last: Last
|
||||
file.name: Name
|
||||
views:
|
||||
- type: table
|
||||
name: Table
|
||||
order:
|
||||
- file.name
|
||||
- categories
|
||||
- rating
|
||||
- last
|
||||
sort: []
|
||||
33
Templates/Bases/Meetings.base
Normal file
33
Templates/Bases/Meetings.base
Normal file
@@ -0,0 +1,33 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Meetings]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
property.date: Date
|
||||
property.people: People
|
||||
property.type: Type
|
||||
file.name: Meeting
|
||||
views:
|
||||
- type: table
|
||||
name: Meetings
|
||||
order:
|
||||
- file.name
|
||||
- date
|
||||
- type
|
||||
- people
|
||||
sort:
|
||||
- column: property.date
|
||||
direction: ASC
|
||||
- type: table
|
||||
name: Person
|
||||
filters:
|
||||
and:
|
||||
- contains(people, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- date
|
||||
- type
|
||||
- people
|
||||
sort:
|
||||
- column: property.date
|
||||
direction: ASC
|
||||
@@ -9,6 +9,7 @@ display:
|
||||
property.year: Year
|
||||
property.director: Director
|
||||
property.genre: Genre
|
||||
property.cast: Cast
|
||||
views:
|
||||
- type: table
|
||||
name: Favorites
|
||||
@@ -56,3 +57,23 @@ views:
|
||||
- year
|
||||
- director
|
||||
- genre
|
||||
- type: table
|
||||
name: Genre
|
||||
filters:
|
||||
and:
|
||||
- contains(genre, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- year
|
||||
- director
|
||||
- genre
|
||||
- type: table
|
||||
name: Director
|
||||
filters:
|
||||
and:
|
||||
- contains(director, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- year
|
||||
- cast
|
||||
- genre
|
||||
24
Templates/Bases/Place type.base
Normal file
24
Templates/Bases/Place type.base
Normal file
@@ -0,0 +1,24 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(type, concat("[[", this.file.name, "]]"))
|
||||
display:
|
||||
property.rating: Rating
|
||||
file.name: Name
|
||||
property.loc: Location
|
||||
property.last: Last
|
||||
views:
|
||||
- type: table
|
||||
name: Default view
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- last
|
||||
- loc
|
||||
sort:
|
||||
- column: property.last
|
||||
direction: DESC
|
||||
- column: property.rating
|
||||
direction: ASC
|
||||
columnSize:
|
||||
property.rating: 94
|
||||
property.loc: 270
|
||||
52
Templates/Bases/Places.base
Normal file
52
Templates/Bases/Places.base
Normal file
@@ -0,0 +1,52 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Places]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
property.type: Type
|
||||
property.rating: Rating
|
||||
property.loc: Location
|
||||
file.name: Name
|
||||
property.last: Last
|
||||
views:
|
||||
- type: table
|
||||
name: Places
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- type
|
||||
- rating
|
||||
- last
|
||||
sort:
|
||||
- column: property.loc
|
||||
direction: ASC
|
||||
- type: table
|
||||
name: Location
|
||||
filters:
|
||||
and:
|
||||
- contains(loc, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- rating
|
||||
- last
|
||||
sort:
|
||||
- column: property.last
|
||||
direction: DESC
|
||||
- column: property.loc
|
||||
direction: ASC
|
||||
- type: table
|
||||
name: Type
|
||||
filters:
|
||||
and:
|
||||
- contains(type, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- rating
|
||||
- last
|
||||
sort:
|
||||
- column: property.last
|
||||
direction: DESC
|
||||
- column: property.loc
|
||||
direction: ASC
|
||||
45
Templates/Bases/Podcast episodes.base
Normal file
45
Templates/Bases/Podcast episodes.base
Normal file
@@ -0,0 +1,45 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Podcast episodes]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Podcast
|
||||
property.show: Show
|
||||
property.guests: Guests
|
||||
property.episode: Episode
|
||||
property.rating: Rating
|
||||
property.published: Published
|
||||
views:
|
||||
- type: table
|
||||
name: All episodes
|
||||
order:
|
||||
- file.name
|
||||
- show
|
||||
- guests
|
||||
- episode
|
||||
- rating
|
||||
- published
|
||||
- type: table
|
||||
name: Show
|
||||
filters:
|
||||
and:
|
||||
- contains(show, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- show
|
||||
- guests
|
||||
- episode
|
||||
- rating
|
||||
- published
|
||||
- type: table
|
||||
name: Guest
|
||||
filters:
|
||||
and:
|
||||
- contains(guests, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- show
|
||||
- guests
|
||||
- episode
|
||||
- rating
|
||||
- published
|
||||
@@ -1,8 +1,7 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(category, "[[Products]]")
|
||||
- contains(property.categories, "[[Products]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
- property.monthly-uses > 0
|
||||
formulas:
|
||||
Usage: formula.Owned * monthly-uses
|
||||
Owned: round(dateDiff(acquired, now()) / -2629746000)
|
||||
@@ -63,3 +62,27 @@ views:
|
||||
direction: DESC
|
||||
- column: property.monthly-uses
|
||||
direction: DESC
|
||||
- type: table
|
||||
name: Type
|
||||
filters:
|
||||
and:
|
||||
- contains(type, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- price
|
||||
- acquired
|
||||
- type
|
||||
columnSize:
|
||||
file.name: 209
|
||||
property.monthly-uses: 82
|
||||
formula.Usage: 115
|
||||
sort:
|
||||
- column: file.name
|
||||
direction: ASC
|
||||
- column: formula.Usage
|
||||
direction: DESC
|
||||
- column: property.acquired
|
||||
direction: DESC
|
||||
- column: property.monthly-uses
|
||||
direction: DESC
|
||||
21
Templates/Bases/Recipes.base
Normal file
21
Templates/Bases/Recipes.base
Normal file
@@ -0,0 +1,21 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(categories, concat("[[", this.file.name, "]]"))
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
file.name: Name
|
||||
property.author: Author
|
||||
property.type: Type
|
||||
property.ingredients: Ingredients
|
||||
property.cuisine: Cuisine
|
||||
property.rating: Rating
|
||||
views:
|
||||
- type: table
|
||||
name: Recipes
|
||||
order:
|
||||
- file.name
|
||||
- type
|
||||
- author
|
||||
- ingredients
|
||||
- cuisine
|
||||
- rating
|
||||
27
Templates/Bases/Trips.base
Normal file
27
Templates/Bases/Trips.base
Normal file
@@ -0,0 +1,27 @@
|
||||
filters:
|
||||
and:
|
||||
- contains(property.categories, "[[Trips]]")
|
||||
- not(contains(file.name, "Template"))
|
||||
display:
|
||||
property.loc: Location
|
||||
property.start: Start
|
||||
property.end: End
|
||||
file.name: Trip
|
||||
views:
|
||||
- type: table
|
||||
name: Trips
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- start
|
||||
- end
|
||||
- type: table
|
||||
name: Related trips
|
||||
filters:
|
||||
and:
|
||||
- contains(loc, concat("[[", this.file.name, "]]"))
|
||||
order:
|
||||
- file.name
|
||||
- loc
|
||||
- start
|
||||
- end
|
||||
@@ -16,16 +16,7 @@ location:
|
||||
---
|
||||
## Trips
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Trip,
|
||||
start as Start,
|
||||
end as End
|
||||
where
|
||||
contains(categories, [[Trips]]) and
|
||||
contains(loc, this.file.link)
|
||||
sort file.name desc
|
||||
```
|
||||
![[Trips.base#Related trips]]
|
||||
|
||||
## Map
|
||||
|
||||
@@ -42,13 +33,4 @@ coordinates: [[Kyoto]]
|
||||
|
||||
## Places
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Place,
|
||||
rating as Rating,
|
||||
type as Type
|
||||
where
|
||||
contains(categories, [[Places]]) and
|
||||
contains(loc, this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Places.base#Location]]
|
||||
@@ -1,20 +0,0 @@
|
||||
filters:
|
||||
or:
|
||||
- linksTo(file.file, this.file.path)
|
||||
- contains(property.created, this.file.name)
|
||||
- contains(property.last, this.file.name)
|
||||
views:
|
||||
- type: table
|
||||
name: Day
|
||||
order:
|
||||
- file.name
|
||||
sort:
|
||||
- column: property.created
|
||||
direction: ASC
|
||||
- type: table
|
||||
name: Daily note
|
||||
order:
|
||||
- file.name
|
||||
sort:
|
||||
- column: property.created
|
||||
direction: ASC
|
||||
@@ -8,13 +8,4 @@ created: {{date}}
|
||||
---
|
||||
## Movies
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Movie,
|
||||
year as Year,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Movies]]) and
|
||||
contains(director,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Movies.base]]
|
||||
@@ -4,15 +4,7 @@ categories:
|
||||
tags:
|
||||
- companies
|
||||
---
|
||||
|
||||
## Games
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Game,
|
||||
year as Year,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Games]]) and
|
||||
contains(maker,this.file.link)
|
||||
sort year desc
|
||||
```
|
||||
![[Games.base#Studio]]
|
||||
@@ -2,13 +2,4 @@
|
||||
tags:
|
||||
- genres
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
categories as categories,
|
||||
rating as Rating
|
||||
where
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Genre.base]]
|
||||
@@ -2,17 +2,4 @@
|
||||
tags:
|
||||
- meetings/type
|
||||
---
|
||||
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Meeting,
|
||||
people as People,
|
||||
date as Date
|
||||
where
|
||||
contains(categories, [[Meetings]]) and
|
||||
!contains(file.name,"Template") and
|
||||
contains(type,this.file.link)
|
||||
sort date desc
|
||||
limit 50
|
||||
```
|
||||
![[Meetings.base]]
|
||||
@@ -1,8 +1 @@
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Meeting, date as Date
|
||||
from [[Meetings]]
|
||||
where contains(people,this.file.link)
|
||||
sort date desc
|
||||
limit 50
|
||||
```
|
||||
![[Meetings.base#Person]]
|
||||
@@ -7,13 +7,4 @@ tags:
|
||||
---
|
||||
## Entries
|
||||
|
||||
```dataview
|
||||
list
|
||||
where
|
||||
contains(file.name,this.file.name) or
|
||||
contains(file.outlinks.file.name,this.file.name) or
|
||||
contains(string(file.frontmatter),this.file.name)
|
||||
where !contains(file.tags, "daily")
|
||||
where !contains(file.tags, "monthly")
|
||||
sort file.name asc
|
||||
```
|
||||
![[Daily.base]]
|
||||
|
||||
@@ -2,13 +2,4 @@
|
||||
tags:
|
||||
- movies/genres
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Movie,
|
||||
rating as "Rating"
|
||||
where
|
||||
contains(categories,[[Movies]]) and
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Movies.base]]
|
||||
@@ -3,14 +3,4 @@ tags:
|
||||
- music/genres
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
genre as Genre,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Albums]]) and
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Albums.base]]
|
||||
@@ -7,14 +7,4 @@ created: {{date}}
|
||||
---
|
||||
## Albums
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
genre as Genre,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Albums]]) and
|
||||
contains(artist,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Albums.base#Related albums]]
|
||||
@@ -9,12 +9,4 @@ created: {{date}}
|
||||
---
|
||||
## Meetings
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Meeting,
|
||||
date as Date
|
||||
where
|
||||
contains(categories,[[Meetings]]) and
|
||||
contains(people,this.file.link)
|
||||
sort file.name desc
|
||||
```
|
||||
![[Meetings.base#Person]]
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
tags:
|
||||
- people/types
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Name
|
||||
where
|
||||
contains(categories, [[People]]) and
|
||||
!contains(file.name,"Template")
|
||||
sort file.name asc
|
||||
```
|
||||
@@ -14,13 +14,4 @@ height: 400px
|
||||
|
||||
## Places
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Place,
|
||||
rating as Rating,
|
||||
loc as Location
|
||||
where
|
||||
contains(categories, [[Places]]) and
|
||||
!contains(file.name,"Template") and
|
||||
contains(type, this.file.link)
|
||||
```
|
||||
![[Places.base]]
|
||||
@@ -8,13 +8,4 @@ tags:
|
||||
---
|
||||
## Episodes
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
link(file.link, "Ep. " + string(episode)) as Episode,
|
||||
guests as Guest,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories,[[Podcast episodes]]) and
|
||||
contains(show,this.file.link)
|
||||
sort episode desc
|
||||
```
|
||||
![[Podcast episodes.base#Podcast episodes]]
|
||||
|
||||
@@ -2,20 +2,4 @@
|
||||
tags:
|
||||
- products/types
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Item,
|
||||
maker as Maker,
|
||||
price as Price,
|
||||
rating as Rating,
|
||||
acquired as Acquired
|
||||
where
|
||||
contains(categories, [[Products]]) and
|
||||
!contains(file.name,"Template") and
|
||||
contains(type,this.file.link)
|
||||
sort
|
||||
acquired desc,
|
||||
rating desc,
|
||||
file.mtime desc
|
||||
```
|
||||
![[Products.base]]
|
||||
@@ -1,10 +0,0 @@
|
||||
# Recent entries
|
||||
|
||||
```dataview
|
||||
table
|
||||
created as Date
|
||||
where
|
||||
contains(file.outlinks, this.file.link)
|
||||
sort created desc
|
||||
limit 20
|
||||
```
|
||||
@@ -1,19 +0,0 @@
|
||||
---
|
||||
ticker: AAPL
|
||||
scale: Logarithmic
|
||||
chartType: Area
|
||||
---
|
||||
|
||||
```dataviewjs
|
||||
await dv.el("div", "", { cls: "stock-container" });
|
||||
|
||||
const container = document.querySelectorAll('.stock-container')[0];
|
||||
const ticker = `${dv.current().file.frontmatter.ticker}`;
|
||||
const scale = `${dv.current().file.frontmatter.scale}`;
|
||||
const chartType = `${dv.current().file.frontmatter.chartType}`;
|
||||
|
||||
const embedUrl = `https://s.tradingview.com/embed-widget/symbol-overview/?locale=en#%7B%22symbols%22%3A%5B%5B%22` + `${ticker}` + `%7C1D%22%5D%5D%2C%22chartOnly%22%3Afalse%2C%22width%22%3A%22100%25%22%2C%22height%22%3A%22100%25%22%2C%22colorTheme%22%3A%22dark%22%2C%22showVolume%22%3Afalse%2C%22showMA%22%3Afalse%2C%22hideDateRanges%22%3Afalse%2C%22hideMarketStatus%22%3Atrue%2C%22hideSymbolLogo%22%3Afalse%2C%22scalePosition%22%3A%22right%22%2C%22scaleMode%22%3A%22` + `${scale}` + `%22%2C%22fontFamily%22%3A%22-apple-system%2C%20BlinkMacSystemFont%2C%20sans-serif%22%2C%22fontSize%22%3A%2212%22%2C%22noTimeScale%22%3Afalse%2C%22valuesTracking%22%3A%221%22%2C%22changeMode%22%3A%22price-and-percent%22%2C%22chartType%22%3A%22` + `${chartType}` + `%22%2C%22fontColor%22%3A%22rgba(100%2C%20100%2C%20100%2C%20.8)%22%2C%22backgroundColor%22%3A%22rgba(0%2C%200%2C%200%2C%200)%22%2C%22widgetFontColor%22%3A%22rgba(150%2C%20150%2C%20150%2C%200.8)%22%2C%22gridLineColor%22%3A%22rgba(200%2C%20200%2C%20200%2C%200.06)%22%2C%22lineWidth%22%3A2%2C%22lineType%22%3A0%2C%22dateRanges%22%3A%5B%221d%7C1%22%2C%221m%7C30%22%2C%223m%7C60%22%2C%2212m%7C1D%22%2C%2260m%7C1W%22%2C%22all%7C1M%22%5D%2C%22dateFormat%22%3A%22dd%20MMM%20'yy%22%2C%22timeHoursFormat%22%3A%2224-hours%22%7D`
|
||||
|
||||
container.innerHTML = `<iframe class="stock-chart" src="${embedUrl}"></iframe>`;
|
||||
await dv.el("div", container);
|
||||
```
|
||||
@@ -2,16 +2,4 @@
|
||||
tags:
|
||||
- games/genres
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Game,
|
||||
maker as Maker,
|
||||
year as Year,
|
||||
rating as Rating
|
||||
where
|
||||
contains(categories, [[Games]]) and
|
||||
!contains(file.name, "Template") and
|
||||
contains(genre, this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
![[Games.base]]
|
||||
Reference in New Issue
Block a user