--- type: "movie" title: "Avatar" englishTitle: "Avatar" year: "2009" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0499549/" id: "tt0499549" genres: - "Action" - "Adventure" - "Fantasy" producer: "James Cameron" duration: "162 min" onlineRating: 7.8 image: "https://m.media-amazon.com/images/M/MV5BNjA3NGExZDktNDlhZC00NjYyLTgwNmUtZWUzMDYwMTZjZWUyXkEyXkFqcGdeQXVyMTU1MDM3NDk0._V1_SX300.jpg" released: true premiere: "18/12/2009" watched: true lastWatched: "[[2010-01-01]]" 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 + "
" FROM "03.04 Cinematheque/Avatar (2009)" ```   ---   ### Poster   `$= '![Image|360](' + dv.current().image + ')'`