created: 20200808023836194 creator: soren description: Display a table of fields and other information about the source described by this tiddler. modified: 20241207221327328 modifier: soren revision: 31 tags: $:/tags/ViewTemplate title: $:/sib/Templates/Automatic/Source transcludedin: All tiddlers tagged <> or <>. type: text/vnd.tiddlywiki \procedure edit-title() <$action-setfield $tiddler=<> text="edit"/> \procedure done-title() <$action-deletefield $tiddler=<> text/> \procedure edit-author() <$action-setfield $tiddler=<> text="edit"/> \procedure done-author() <$action-deletefield $tiddler=<> text/> \procedure edit-year() <$action-setfield $tiddler=<> text="edit"/> \procedure done-year() <$action-deletefield $tiddler=<> text/> \procedure edit-medium() <$action-setfield $tiddler=<> text="edit"/> \procedure done-medium() <$action-deletefield $tiddler=<> text/> \procedure edit-universe() <$action-setfield $tiddler=<> text="edit"/> \procedure done-universe() <$action-deletefield $tiddler=<> text/> \procedure edit-url() <$action-setfield $tiddler=<> text="edit"/> \procedure done-url() <$action-deletefield $tiddler=<> text/> \procedure edit-isbn() <$action-setfield $tiddler=<> text="edit"/> \procedure done-isbn() <$action-deletefield $tiddler=<> text/> <$list filter="[all[current]tag[Source]] [all[current]tag[Sink]]"> <$list filter={{{ [all[current]has[universe]!universe[nonfiction]] }}}> <$list filter="[all[current]has[isbn]]">
<$button actions=<> class="tc-btn-invisible">''Title'' <$reveal type="nomatch" state=<> text="edit"> <$button actions=<> class="tc-btn-invisible"> <$transclude tiddler=<> field="caption"/> <$reveal type="match" state=<> text="edit"> <$keyboard key="enter" actions=<>> <$edit-text tiddler=<> field="caption" tag="input" default="" class="tc-edit-texteditable"/> <$button actions=<> class="tc-btn-invisible">{{$:/core/images/done-button}} <$button class="tc-btn-invisible" message="tm-copy-to-clipboard" param={{!!caption}}> {{$:/core/images/copy-clipboard}}
<$button actions=<> class="tc-btn-invisible">''Author'' <$reveal type="nomatch" state=<> text="edit"> <$button actions=<> class="tc-btn-invisible"> <$list filter="[enlist{!!author}sort[]count[]compare:number:gt[2]]" variable=dummy> <$list filter="[enlist{!!author}sort[]butlast[]]" variable="author"> <$link to=<>><$text text=<>/>, <$list filter="[enlist{!!author}sort[]last[]]" variable="last_author"> and <$link to=<>><$text text=<>/> <$list filter="[enlist{!!author}sort[]count[]compare:number:eq[2]]" variable=dummy> <$list filter="[enlist{!!author}sort[]first[]]" variable="first_author"> <$link to=<>><$text text=<>/> <$list filter="[enlist{!!author}sort[]last[]]" variable="last_author"> and <$link to=<>><$text text=<>/> <$list filter="[enlist{!!author}sort[]count[]compare:number:eq[1]]" variable=dummy> <$link to={{{[enlist{!!author}first[]]}}}><$text text={{{[enlist{!!author}first[]]}}}/> <$reveal type="match" state=<> text="edit"> <$keyboard key="enter" actions=<>> <$edit-text tiddler=<> field="author" tag="input" default="" class="tc-edit-texteditable"/> <$button actions=<> class="tc-btn-invisible">{{$:/core/images/done-button}}
<$button actions=<> class="tc-btn-invisible">''Publication year'' <$reveal type="nomatch" state=<> text="edit"> <$button actions=<> class="tc-btn-invisible"> <$transclude tiddler=<> field="year"/> <$reveal type="match" state=<> text="edit"> <$keyboard key="enter" actions=<>> <$edit-text tiddler=<> field="year" tag="input" default="" class="tc-edit-texteditable"/> <$button actions=<> class="tc-btn-invisible">{{$:/core/images/done-button}}
<$button actions=<> class="tc-btn-invisible">''Medium'' <$reveal type="nomatch" state=<> text="edit"> <$button actions=<> class="tc-btn-invisible"> <$transclude tiddler=<> field="medium"/> <$reveal type="match" state=<> text="edit"> <$keyboard key="enter" actions=<>> <$edit-text tiddler=<> field="medium" tag="input" default="" class="tc-edit-texteditable"/> <$button actions=<> class="tc-btn-invisible">{{$:/core/images/done-button}}
<$button actions=<> class="tc-btn-invisible">''Universe'' <$reveal type="nomatch" state=<> text="edit"> <$button actions=<> class="tc-btn-invisible"> <$link to={{!!universe}}/> <$reveal type="match" state=<> text="edit"> <$keyboard key="enter" actions=<>> <$edit-text tiddler=<> field="universe" tag="input" default="" class="tc-edit-texteditable"/> <$button actions=<> class="tc-btn-invisible">{{$:/core/images/done-button}}
<$button actions=<> class="tc-btn-invisible">''URL'' <$reveal type="nomatch" state=<> text="edit"> <$button actions=<> class="tc-btn-invisible"> <$transclude tiddler=<> field="url"/> <$reveal type="match" state=<> text="edit"> <$keyboard key="enter" actions=<>> <$edit-text tiddler=<> field="url" tag="input" default="" class="tc-edit-texteditable"/> <$button actions=<> class="tc-btn-invisible">{{$:/core/images/done-button}}
<$button actions=<> class="tc-btn-invisible">''ISBN'' <$reveal type="nomatch" state=<> text="edit"> <$button actions=<> class="tc-btn-invisible"> <$set name=isbn value={{!!isbn}}> > class="tc-tiddlylink-external">{{!!isbn}} <$reveal type="match" state=<> text="edit"> <$keyboard key="enter" actions=<>> <$edit-text tiddler=<> field="isbn" tag="input" default="" class="tc-edit-texteditable"/> <$button actions=<> class="tc-btn-invisible">{{$:/core/images/done-button}}
Bibliographies <$vars total={{{ [all[current]enlist{!!bibliography}count[]] }}}> <$list filter="[all[current]enlist{!!bibliography}]" variable="bibItem" counter="counter"> <$link to={{{ [tag[Bibliography]bibliography] }}}> <$text text={{{ [tag[Bibliography]bibliographyget[title]] }}}/> <$list filter="[!match]">,
Status <$list filter="[all[current]tag[Sink]]"> <> <$list filter="[all[current]tag[Source]]"> <> <$list filter="[all[current]readstatus[read]]"> on <$view field="completed" format="date" template="YYYY-0MM-0DD"/> <$list filter="[all[current]readstatus[reread]]"> (last read <$view field="completed" format="date" template="YYYY-0MM-0DD"/>)
<$list filter="[all[current]tag[WATCH]has[url]]">
<$wikify name="videoUrl" text={{!!url}}>