Target: Customized Template-View for Tiddler
Conclusion (in short)
- Tiddly Wiki adds the own defined Template simply to it's own output.
- Hiding this output via CSS ==> Resulting displaying the customized output.
Solution:
https://kookma.github.io/TW-Scripts/#Conditionally%20Display%20The%20Tiddler%20Contents
Another HTML-Attribute to apply this filter may be the tiddler title stored in data-tiddler-title for filtering in given trees of tags. Here the filtering of the beginning (e.g.
🗝:/ as a name-space for passwords.)
Thanks to Mohammad and others collecting the information.
Hi @all,
thanks to you guys I understood the basic mechanism for display templates. Well I tried to apply this to JSON-Tiddlers, but failed.
The test of a simple JSON-Tiddler marked with the tag "network":
{
"testKey" : "TestValue"
}
The template tiddler is tagged with "$:/tags/ViewTemplate" and containes the code:
<$list filter="[all[current]tag[network]]">
testkey has value {{##testKey}}.
</$list>
Well - instead of only displaying the text of the template I get the normal JSON-view followed by my template. That tells me, I made my template correct, but don't understand something of the mechanism itself. Can you give me a hint?`
Thanks and cheers.