--- type: "movie" title: "The Good, the Bad and the Ugly" englishTitle: "The Good, the Bad and the Ugly" year: "1966" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0060196/" id: "tt0060196" genres: - "Adventure" - "Western" producer: "Sergio Leone" duration: "178 min" onlineRating: 8.8 image: "https://m.media-amazon.com/images/M/MV5BNjJlYmNkZGItM2NhYy00MjlmLTk5NmQtNjg1NmM2ODU4OTMwXkEyXkFqcGdeQXVyMjUzOTY1NTc@._V1_SX300.jpg" released: true premiere: "29/12/1967" watched: true lastWatched: "[[2021-12-12]]" personalRating: 7.5 CollapseMetaTable: true --- Parent:: [[@Cinematheque]] Related:: [[A Fistful of Dollars (1964)]], [[For a Few Dollars More (1965)]] --- ```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 + " |