--- type: "series" subType: null title: "Esterno notte" englishTitle: "Esterno notte" year: "2022" dataSource: "OMDbAPI" url: "https://www.imdb.com/title/tt12822708/" id: "tt12822708" genres: - "Crime" - "Drama" studios: - "Marco Bellocchio" episodes: 0 duration: "330 min" onlineRating: 7.9 actors: - "Fabrizio Gifuni" - "Margherita Buy" - "Fausto Russo Alesi" image: "https://m.media-amazon.com/images/M/MV5BMmYxYTQyOGYtNzE5ZS00NjU4LTkxZTAtOGI0MzEyZjE0Zjc5XkEyXkFqcGdeQXVyMzIwNDY4NDI@._V1_SX300.jpg" released: true streamingServices: airing: false airedFrom: "09/06/2022" airedTo: "unknown" watched: true lastWatched: "[[2023-03-23]]" personalRating: 0 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 ``` ### Detail **Genres**: `$= dv.current().genres.length === 0 ? ' - none' : dv.list(dv.current().genres)` ```dataviewjs let text = ''; if (!dv.current().released) { text += '**Not released**\n'; if (dv.current().airedFrom) { text += 'The series will release on ' + dv.current().release_date + '.'; } else { text += 'The series is not released yet.'; } } else if (dv.current().airing) { text += '**Not finished**\n'; text += 'The series is not fully released yet.'; } if (text) { dv.paragraph(text); } ``` ```dataview list without id "
Type | " + "" + this.type + " |
Online Rating | " + "" + this.onlineRating + " |
Episodes | " + "" + this.episodes + " |
Duration | " + "" + this.duration + " |
Aired from | " + "" + this.airedFrom + " |
Aired to | " + "" + this.airedTo + " |
Studios | " + "" + this.studios + " |