I aim to create html-details for all tiddlers from the filter foo and link to each tiddler in the summary but omitt the suffix bar.
That doesn’t work if the tiddler uses a ViewTemplate.
The short version: I think I am lost in ticks and brackets once again and the last part of my procedure is to substitute the transclusion with a concatenation of a fields value with fixed text. someting like
.
{{{ ||`$:/_/TiddlerTyp/${[{!!TiddlerTyp}]}/$ViewTemplate` }}}
.
otherwise it works.
The working code is:
\procedure filterdetails(input-filter:"[tag<currentTiddler>nsort[title]]", cut-input)
<$list filter=<<input-filter>> >
<details><summary><$link to=<<currentTiddler>>><$text text={{{ [<currentTiddler>trim:suffix<cut-input>] }}}/></$link></summary><div>
{{||$:/_/TiddlerTyp/book/ViewTemplate}}
</div></details>
</$list>
\end
I have set it up and the longer description at.
Sidenote @kooma: while writing this I noticed, that the numbers of the footnotes from Refnotes are scrambled. I didn’t research yet weather this is to be expected.
