2023-09-13 14:12:55
This commit is contained in:
@@ -7,8 +7,12 @@ tags:
|
||||
## Movies
|
||||
|
||||
```dataview
|
||||
table without id file.link as Movie, year as "Year", ratingImdb as "Rating"
|
||||
from #movies
|
||||
where cast = this.file.link or contains(cast,this.file.link)
|
||||
sort ratingImdb desc
|
||||
table without id
|
||||
file.link as Movie,
|
||||
year as Year,
|
||||
rating as Rating
|
||||
where
|
||||
contains(category,[[Movies]]) and
|
||||
contains(cast,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
@@ -7,7 +7,8 @@ tags:
|
||||
## Books
|
||||
|
||||
```dataview
|
||||
table without id file.link as Title, year as "Year", rating as "Rating"
|
||||
table without id
|
||||
file.link as Title, year as Year, rating as Rating
|
||||
from #books
|
||||
where author = this.file.link or contains(author,this.file.link)
|
||||
sort rating desc
|
||||
|
||||
@@ -33,7 +33,7 @@ coordinates: [[Madrid]]
|
||||
```
|
||||
|
||||
```dataview
|
||||
table rating as "Rating", type as "Type"
|
||||
table rating as Rating, type as "Type"
|
||||
from #places
|
||||
where contains(loc, this.file.link)
|
||||
sort rating desc
|
||||
|
||||
@@ -9,8 +9,12 @@ created: {{date}}
|
||||
## Movies
|
||||
|
||||
```dataview
|
||||
table without id file.link as Movie, year as "Year", ratingImdb as "Rating"
|
||||
from #movies
|
||||
where director = this.file.link or contains(director,this.file.link)
|
||||
sort ratingImdb desc
|
||||
table without id
|
||||
file.link as Movie,
|
||||
year as Year,
|
||||
rating as Rating
|
||||
where
|
||||
contains(category,[[Movies]]) and
|
||||
contains(director,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
@@ -7,7 +7,7 @@ tags:
|
||||
## Games
|
||||
|
||||
```dataview
|
||||
table year as "Year", rating as "Rating"
|
||||
table year as Year, rating as Rating
|
||||
from #games
|
||||
where maker = this.file.link or contains(maker,this.file.link)
|
||||
sort year desc
|
||||
|
||||
12
Templates/Genre Template.md
Normal file
12
Templates/Genre Template.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
tags:
|
||||
- genres
|
||||
---
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Title,
|
||||
rating as "Rating"
|
||||
where
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
@@ -5,7 +5,8 @@ tags:
|
||||
|
||||
|
||||
```dataview
|
||||
table without id file.link as Meeting, people as People, date as Date
|
||||
table without id
|
||||
file.link as Meeting, people as People, date as Date
|
||||
from #meetings or #dates
|
||||
where !contains(file.name,"Template") and contains(type,this.file.link)
|
||||
sort date desc
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
```dataview
|
||||
table without id file.link as Meeting, date as Date
|
||||
table without id
|
||||
file.link as Meeting, date as Date
|
||||
from [[Meetings]]
|
||||
where contains(people,this.file.link)
|
||||
sort date desc
|
||||
|
||||
@@ -3,8 +3,11 @@ tags:
|
||||
- movies/genres
|
||||
---
|
||||
```dataview
|
||||
table ratingImdb as "Rating"
|
||||
from #references
|
||||
where genre = this.file.link or contains(genre,this.file.link)
|
||||
sort ratingImdb desc
|
||||
table without id
|
||||
file.link as Movie,
|
||||
rating as "Rating"
|
||||
where
|
||||
contains(category,[[Movies]]) and
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
@@ -4,8 +4,13 @@ tags:
|
||||
---
|
||||
|
||||
```dataview
|
||||
table without id file.link as Album, artist as "Artist", genre as "Genre", rating as "Rating"
|
||||
from #albums
|
||||
where genre = this.file.link or contains(genre,this.file.link)
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
genre as Genre,
|
||||
rating as Rating
|
||||
where
|
||||
contains(category,[[Albums]]) and
|
||||
contains(genre,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
@@ -8,8 +8,13 @@ created: {{date}}
|
||||
## Albums
|
||||
|
||||
```dataview
|
||||
table without id file.link as Album, artist as "Artist", rating as "Rating"
|
||||
from #albums
|
||||
where artist = this.file.link or contains(artist,this.file.link)
|
||||
table without id
|
||||
file.link as Album,
|
||||
artist as Artist,
|
||||
genre as Genre,
|
||||
rating as Rating
|
||||
where
|
||||
contains(category,[[Albums]]) and
|
||||
contains(artist,this.file.link)
|
||||
sort rating desc
|
||||
```
|
||||
@@ -10,8 +10,11 @@ created: {{date}}
|
||||
## Meetings
|
||||
|
||||
```dataview
|
||||
table without id file.link as Meeting, date as Date
|
||||
from #meetings
|
||||
where contains(people,this.file.link)
|
||||
table without id
|
||||
file.link as Meeting,
|
||||
date as Date
|
||||
where
|
||||
contains(category,[[Meetings]]) and
|
||||
contains(people,this.file.link)
|
||||
sort file.name desc
|
||||
```
|
||||
@@ -3,8 +3,10 @@ tags:
|
||||
- people/types
|
||||
---
|
||||
```dataview
|
||||
table without id file.link as Name
|
||||
from #actors
|
||||
where !contains(file.name,"Template")
|
||||
table without id
|
||||
file.link as Name
|
||||
from #people
|
||||
where
|
||||
!contains(file.name,"Template")
|
||||
sort file.name asc
|
||||
```
|
||||
@@ -13,7 +13,11 @@ height: 50%
|
||||
```
|
||||
|
||||
```dataview
|
||||
table without id file.link as Place, rating as "Rating", loc as "Location"
|
||||
table without id
|
||||
file.link as Place,
|
||||
rating as Rating,
|
||||
location as Location
|
||||
from #places
|
||||
where contains(type, this.file.link)
|
||||
where
|
||||
contains(type, this.file.link)
|
||||
```
|
||||
@@ -9,8 +9,12 @@ tags:
|
||||
## Episodes
|
||||
|
||||
```dataview
|
||||
table without id link(file.link, "Ep. " + string(episode)) as Episode, guests as "Guest", rating as "Rating"
|
||||
from #podcast and #episodes
|
||||
where show = this.file.link
|
||||
table without id
|
||||
link(file.link, "Ep. " + string(episode)) as Episode,
|
||||
guests as Guest,
|
||||
rating as Rating
|
||||
where
|
||||
contains(category,[[Podcast episodes]]) and
|
||||
contains(show,this.file.link)
|
||||
sort episode desc
|
||||
```
|
||||
@@ -3,7 +3,8 @@ tags:
|
||||
- products/types
|
||||
---
|
||||
```dataview
|
||||
table without id file.link as Item, maker as "Maker", price as "Price", rating as "Rating", purchased as Purchased
|
||||
table without id
|
||||
file.link as Item, maker as "Maker", price as "Price", rating as Rating, purchased as Purchased
|
||||
from #products
|
||||
where type = this.file.link or contains(type,this.file.link)
|
||||
sort purchased desc, rating desc, file.mtime desc
|
||||
|
||||
@@ -3,7 +3,7 @@ tags:
|
||||
- games/genres
|
||||
---
|
||||
```dataview
|
||||
table maker as "Maker", year as "Year", rating as "Rating"
|
||||
table maker as "Maker", year as Year, rating as Rating
|
||||
from #games
|
||||
where !contains(file.name, "Template") and contains(genre, this.file.link)
|
||||
sort rating desc
|
||||
|
||||
Reference in New Issue
Block a user