--- type: "movie" title: "Lock, Stock and Two Smoking Barrels" englishTitle: "Lock, Stock and Two Smoking Barrels" year: "1998" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0120735/" id: "tt0120735" genres: - "Action" - "Comedy" - "Crime" producer: "Guy Ritchie" duration: "107 min" onlineRating: 8.2 image: "https://m.media-amazon.com/images/M/MV5BMTAyN2JmZmEtNjAyMy00NzYwLThmY2MtYWQ3OGNhNjExMmM4XkEyXkFqcGdeQXVyNDk3NzU2MTQ@._V1_SX300.jpg" released: true premiere: "28/08/1998" watched: true lastWatched: "[[2021-08-08]]" personalRating: 8 CollapseMetaTable: true --- Parent:: [[@Cinematheque]] Related:: [[Snatch (2000)]] --- ```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 + " |