Hi everyone,

I have a template MyTemplate which contains several complex parts, for instance:

Part1
Part2
Part3
Part4

I would like Part2 and Part4 to show up only depending on some condition:

Part1
if (condition) Part2
Part3
if (condition) Part4

so that the tiddler from which the template is called can select which version to display, for example by setting a variable:

<$set name="showAll" value="no">
  {{||MyTemplate}}
</$set>

Remark: it doesn't have to be with a variable, I'm fine using any other mechanism which has the intended effect.

What is the best way to achieve something like that please?

Regards,
Erwan

--
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/562CC28F.6020900%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to