\define tiddler-body-default()
<$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]">
<$transclude>
<$transclude tiddler="$:/language/MissingTiddler/Hint"/>
</$transclude>
</$list>
\end
<$reveal tag="div" class="tc-tiddler-body" type="nomatch" stateTitle=<<folded-state>> text="hide" retain="yes" animate="yes">
<$list variable="bodyTemplate" filter="[all[current]subfilter{$:/config/ViewTemplate/Body}]" emptyMessage=<<tiddler-body-default>> >
<$transclude tiddler=<<bodyTemplate>> >
<$tiddler tiddler=<<bodyTemplate>> >
<$transclude tiddler="$:/language/MissingTiddler/Hint"/>
</$tiddler>
</$transclude>
</$list>
</$reveal>
[tag[$:/tags/Macro]then[$:/plugins/joshuafontany/core/ui/ViewTemplate/body/macro]]
[tag[Glossary]then[$:/plugins/joshuafontany/silatglossary/ui/ViewTemplate/body]]
[match[Test]then[$/plugins/joshuafontany/core/ui/ViewTemplate/body/TEST]]
<pre><code language={{!!type}}><$view field="text"/></code></pre>
<$list variable="sectionTemplate" filter="[all[current]subfilter{$:/config/ui/ViewTemplate/body}]" emptyMessage=<<tiddler-body-default>> >
<$transclude tiddler=<<sectionTemplate>> >
<$/list>
<<tiddler-body-default>>
<<glossary-item>>
I expect this change to be entirely backwards compatible. The only thing worth verifying is if the qualify states have changed. I expect not as there are no extra transclusions in the default behaviour.
@pmario the ability to add templates via tags still remains.
[condition[then[templatename]]
[tag[Glossary]then[templatename]]
You are wise to be careful but complexity also supports flexibility. Of course with maturity of a concept we aim for simplicity and flexibility.
What you have identified the flexibility we want. Now the trick is simplicity.
I'm following with "baited breath"
tony
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywikidev/1OeWQD-HccU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywikidev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/426063a3-7903-474e-b798-fbca0ea23b6e%40googlegroups.com.
[object-template[internal]then[$:/plugins/joshuafontany/core/ui/ViewTemplate/body/macro]]
Then tried
[all[current]object-template[internal]then[$:/plugins/joshuafontany/core/ui/ViewTemplate/body/macro]]
[tag[$:/tags/Macro]then[$:/plugins/joshuafontany/core/ui/ViewTemplate/body/macro]]
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywikidev/1OeWQD-HccU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywikide...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/e50428d9-b4b5-4bc6-9c0c-b203619e2f28%40googlegroups.com.