Hi Jake,

You might want to look at the brand new *compare* operator:
https://tiddlywiki.com/#compare%20Operator

-- Xavier


On Sun, Jun 28, 2020 at 12:54 AM 'Jake' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> After a bit of trying I came to understanding, that for single value this
> might work:
>
> for text:
> <$set name="myVariable" filter="[title[tiddler2]state[value1]then[good
> result]else[bad result]]">
> <$text text=<<myVariable>>/>
> </$set>
>
> for another tiddler transclusion:
> <$set name="myVariable"
> filter="[title[tiddler2]state[value1]then[tiddlertext1]else[tiddlertext2]]">
> <$transclude tiddler=<<myVariable>> />
> </$set>
>
> though 3rd question remains anyway.
>
> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1729f479-77a8-4ce5-831d-c73d0b045071o%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/1729f479-77a8-4ce5-831d-c73d0b045071o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CADeSwYOwShX2eS3E30%3Di9vaNOBQKCG5gnn%3D%2BLVU_r0yKHrU6jw%40mail.gmail.com.

Reply via email to