--- type: "movie" subType: null title: "Rain Man" englishTitle: "Rain Man" year: "1988" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt0095953/" id: "tt0095953" plot: "After a selfish L.A. yuppie learns his estranged father left a fortune to an autistic-savant brother in Ohio that he didn't know existed, he absconds with his brother and sets out across the country, hoping to gain a larger inheri..." genres: - "Drama" director: - "Barry Levinson" writer: - "Barry Morrow" - "Ron Bass" studio: - "N/A" duration: "133 min" onlineRating: 8 actors: - "Dustin Hoffman" - "Tom Cruise" - "Valeria Golino" image: "https://m.media-amazon.com/images/M/MV5BMzVjNzI4NzYtMjE4NS00M2IzLWFkOWMtOTYwMWUzN2ZlNGVjL2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyMTQxNzMzNDI@._V1_SX300.jpg" released: true streamingServices: premiere: "16/12/1988" watched: true lastWatched: "[[2024-01-23]]" personalRating: 8 --- 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 + " |