You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.9 KiB

type title englishTitle year dataSource url id genres producer duration onlineRating image released premiere watched lastWatched personalRating CollapseMetaTable
movie Avatar Avatar 2009 OMDbAPI https://www.imdb.com/title/tt0499549/ tt0499549
Action
Adventure
Fantasy
James Cameron 162 min 7.8 https://m.media-amazon.com/images/M/MV5BNjA3NGExZDktNDlhZC00NjYyLTgwNmUtZWUzMDYwMTZjZWUyXkEyXkFqcGdeQXVyMTU1MDM3NDk0._V1_SX300.jpg true 18/12/2009 true 2010-01-01 7.5 true

Parent:: @Cinematheque


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' : ''

Details

Genres: $= dv.current().genres.length === 0 ? ' - none' : dv.list(dv.current().genres)

$= !dv.current().released ? '**Not released** The movie is not yet released.' : ''

list without id
 "<table><tbody><tr><td><a class=heading>Type</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.type + "</span></td></tr>"
+
 "<tr><td><a class=heading>Online Rating</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.onlineRating + "</span></td></tr>"
 +
 "<tr><td><a class=heading>Duration</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.duration + "</span></td></tr>"
 +
 "<tr><td><a class=heading>Premiered</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.premiere + "</span></td></tr>"
 +
 "<tr><td><a class=heading>Producer</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.producer + "</span></td></tr></tbody></table>"
FROM "03.04 Cinematheque/Avatar (2009)"


Poster

$= '![Image|360](' + dv.current().image + ')'