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.

97 lines
2.1 KiB

2 years ago
---
type: "movie"
subType: null
title: "Once Upon a Time in Hollywood"
englishTitle: "Once Upon a Time in Hollywood"
year: "2019"
dataSource: "OMDbAPI"
url: "https://www.imdb.com/title/tt7131622/"
id: "tt7131622"
genres:
- "Comedy"
- "Drama"
producer: "Quentin Tarantino"
duration: "161 min"
onlineRating: 7.6
actors:
- "Leonardo DiCaprio"
- "Brad Pitt"
- "Margot Robbie"
image: "https://m.media-amazon.com/images/M/MV5BOTg4ZTNkZmUtMzNlZi00YmFjLTk1MmUtNWQwNTM0YjcyNTNkXkEyXkFqcGdeQXVyNjg2NjQwMDQ@._V1_SX300.jpg"
released: true
streamingServices:
premiere: "26/07/2019"
watched: true
lastWatched: "[[2022-12-25]]"
personalRating: 7.5
CollapseMetaTable: true
---
Parent:: [[@Cinematheque]]
---
```dataviewjs
dv.paragraph(`> [!${dv.current().watched ? 'SUCCESS' : 'WARNING'}] ${dv.current().watched ? 'last watched on ' + dv.current().lastWatched : 'not yet watched'}`)
```
 
# `$= dv.current().title`
 
`$= dv.current().watched ? '**Rating**: ' + dv.current().personalRating + ' out of 10' : ''`
```toc
```
 
### Details
 
**Genres**:
`$= dv.current().genres.length === 0 ? ' - none' : dv.list(dv.current().genres)`
`$= !dv.current().released ? '**Not released** The movie is not yet released.' : ''`
 
```dataview
list without id
"<table><tbody><tr><td><a class=heading>Type</a></td>"
+
"<td><span style='color: var(--footnote);'>" + this.type + "</span></td></tr>"
+
"<tr><td><a class=heading>Online Rating</a></td>"
+
"<td><span style='color: var(--footnote);'>" + this.onlineRating + "</span></td></tr>"
+
"<tr><td><a class=heading>Duration</a></td>"
+
"<td><span style='color: var(--footnote);'>" + this.duration + "</span></td></tr>"
+
"<tr><td><a class=heading>Premiered</a></td>"
+
"<td><span style='color: var(--footnote);'>" + this.premiere + "</span></td></tr>"
+
"<tr><td><a class=heading>Producer</a></td>"
+
"<td><span style='color: var(--footnote);'>" + this.producer + "</span></td></tr></tbody></table>"
FROM "03.04 Cinematheque/Once Upon a Time in Hollywood (2019)"
```
&emsp;
---
&emsp;
### Poster
&emsp;
`$= '![Image|360](' + dv.current().image + ')'`