--- type: "movie" title: "TRON: Legacy" englishTitle: "TRON: Legacy" year: "2010" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt1104001/" id: "tt1104001" genres: - "Action" - "Adventure" - "Sci-Fi" producer: "Joseph Kosinski" duration: "125 min" onlineRating: 6.8 image: "https://m.media-amazon.com/images/M/MV5BMTk4NTk4MTk1OF5BMl5BanBnXkFtZTcwNTE2MDIwNA@@._V1_SX300.jpg" released: true premiere: "17/12/2010" watched: true lastWatched: "2021/12/13" personalRating: 7 tags: "#mediaDB/tv/movie" 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 + " |