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.

2.5 KiB

type title englishTitle year dataSource url id genres studios episodes duration onlineRating image released airing airedFrom airedTo watched lastWatched personalRating CollapseMetaTable
series House of Cards House of Cards 20132018 OMDbAPI https://www.imdb.com/title/tt1856010/ tt1856010
Drama
N/A
0 51 min 8.7 https://m.media-amazon.com/images/M/MV5BODM1MDU2NjY5NF5BMl5BanBnXkFtZTgwMDkxNTcwNjM@._V1_SX300.jpg true false 01/02/2013 unknown true 2018 8.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' : ''

Detail

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

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);
}
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>Episodes</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.episodes + "</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>Aired from</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.airedFrom + "</span></td></tr>"
 +
 "<tr><td><a class=heading>Aired to</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.airedTo + "</span></td></tr>"
 +
 "<tr><td><a class=heading>Studios</a></td>"
 +
 "<td><span style='color: var(--footnote);'>" + this.studios + "</span></td></tr></tbody></table>"
FROM "03.04 Cinematheque/House of Cards (20132018)"


Poster

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