--- type: "movie" title: "Men in Black 3" englishTitle: "Men in Black 3" year: "2012" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt1409024/" id: "tt1409024" genres: - "Action" - "Adventure" - "Comedy" producer: "Barry Sonnenfeld" duration: "106 min" onlineRating: 6.8 image: "https://m.media-amazon.com/images/M/MV5BMTU2NTYxODcwMF5BMl5BanBnXkFtZTcwNDk1NDY0Nw@@._V1_SX300.jpg" released: true premiere: "25/05/2012" watched: true lastWatched: "2022/04/03" personalRating: 6 tags: "#mediaDB/tv/movie" CollapseMetaTable: yes --- 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 + " |