--- type: "movie" subType: null title: "Do the Right Thing" englishTitle: "Do the Right Thing" year: "1989" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0097216/" id: "tt0097216" genres: - "Comedy" - "Drama" producer: "Spike Lee" duration: "120 min" onlineRating: 7.9 actors: - "Danny Aiello" - "Ossie Davis" - "Ruby Dee" image: "https://m.media-amazon.com/images/M/MV5BODA2MjU1NTI1MV5BMl5BanBnXkFtZTgwOTU4ODIwMjE@._V1_SX300.jpg" released: true streamingServices: premiere: "21/07/1989" watched: true lastWatched: "[[2022-12-18]]" 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 "
Type | " + "" + this.type + " |
Online Rating | " + "" + this.onlineRating + " |
Duration | " + "" + this.duration + " |
Premiered | " + "" + this.premiere + " |
Producer | " + "" + this.producer + " |