This is a solution proposed by Eric Shulman
Create a tiddler tagged with $:/tags/Stylesheet and content
[data-tags*="network"] .tc-tiddler-body { display:none; }
Ref: TW-Scripts
https://kookma.github.io/TW-Scripts/Scripts%20in%20Tiddlywiki.html#Conditionally%20Display%20The%20Tiddler%20Contents
On Tuesday, December 17, 2019 at 7:26:27 PM UTC+3:30, Torax Malu wrote:
>
> 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.
>
> (Original answer post:
> https://groups.google.com/d/msg/tiddlywiki/wzNweZz5Jm0/Ft7h-1xMBAAJ)
>
> 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.
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/eae2bd47-8874-4de1-9924-aa659bd576f4%40googlegroups.com.