A reveal widget would be the simplest way, just have something like this in 
your template:

part1
part2
<$reveal type='match' state='!!show_3' text='yes'>
part3
</$reveal>
<$reveal type='match' state='!!show_4' text='yes'>
part4
</$reveal>

then if a tiddler has a field called show_3 with the text 'yes' than part3 
will be shown, and the same with show_4 and part4.

Another way is to use a list widget like this:

part1
part2
<$list filter='[is[current]show_3[yes]]'>
part3
</$list>
<$list filter='[is[current]show_4[yes]]'>
part4
</$list>

which would check the same conditions as the first one.

There seem to be some situations where the list is better and some where 
reveal is better but I am not sure what causes it.

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e1a050a8-0f10-4c37-ac80-e7f1b052e1d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to