<$set name=test-value value="Content of test-value">Display the body of the tiddler as found in the text field where test-value=<<test-value>></$set><$reveal tag="div" class="tc-tiddler-body" type="nomatch" stateTitle=<<folded-state>> text="hide" retain="yes" animate="yes">
<$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]">
{{Prefix-content}} here
<$transclude>
<$transclude tiddler="$:/language/MissingTiddler/Hint"/>
</$transclude>
{{Suffix-content}} here
</$list>
</$reveal>--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/b6fda1e2-b196-44fd-b0c2-f3dc036e5f97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I wanted to see if I could define variables based on current tiddler and have them valid within the text, but not outside the tiddler.
I can now see how to do it through a template tiddler and a tip from Mario showed me how I can hide the text (like folding a tiddler without interaction) so we don't see the text twice.
I also wanted to display an alternative text field if a tiddlername/snapshot tiddler existed.
I belive there were other reasons including self contained tiddlers.
If it were possible to have a template field on a tiddler it would help.
All this can be done with conditional view template tricks but these need to operate on every tiddler, not a specific tiddler.
Thanks for asking.
Tony