--- type: "movie" subType: null title: "There Will Be Blood" englishTitle: "There Will Be Blood" year: "2007" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0469494/" id: "tt0469494" genres: - "Drama" producer: "Paul Thomas Anderson" duration: "158 min" onlineRating: 8.2 image: "https://m.media-amazon.com/images/M/MV5BMjAxODQ4MDU5NV5BMl5BanBnXkFtZTcwMDU4MjU1MQ@@._V1_SX300.jpg" released: true premiere: "25/01/2008" watched: true lastWatched: "[[2022-10-26]]" personalRating: 7 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/There Will Be Blood (2007)" ```   ---   ### Poster   `$= '.image + ')'`