--- type: "movie" subType: null title: "Chinatown" englishTitle: "Chinatown" year: "1974" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0071315/" id: "tt0071315" genres: - "Drama" - "Mystery" - "Thriller" producer: "Roman Polanski" duration: "130 min" onlineRating: 8.2 actors: - "Jack Nicholson" - "Faye Dunaway" - "John Huston" image: "https://m.media-amazon.com/images/M/MV5BMjJkMDZhYzItZTFhMi00ZGI4LThlNTAtZDNlYmEwNjFkNDYzXkEyXkFqcGdeQXVyMjUzOTY1NTc@._V1_SX300.jpg" released: true streamingServices: premiere: "20/06/1974" watched: true lastWatched: "[[2022-12-21]]" 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 + " |