--- type: "movie" subType: null title: "Thank You for Smoking" englishTitle: "Thank You for Smoking" year: "2005" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0427944/" id: "tt0427944" genres: - "Comedy" - "Drama" producer: "Jason Reitman" duration: "92 min" onlineRating: 7.5 actors: - "Aaron Eckhart" - "Cameron Bright" - "Maria Bello" image: "https://m.media-amazon.com/images/M/MV5BMTI2MDk5MjE4NV5BMl5BanBnXkFtZTYwMjkwNTU3._V1_SX300.jpg" released: true streamingServices: premiere: "14/04/2006" watched: true lastWatched: "[[2023-04-03]]" 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 "
Type | " + "" + this.type + " |
Online Rating | " + "" + this.onlineRating + " |
Duration | " + "" + this.duration + " |
Premiered | " + "" + this.premiere + " |
Producer | " + "" + this.producer + " |