This is amazing, thanks a lot. This also leads to a question about
fields, and I'll make a new thread for this.
https://groups.google.com/group/tiddlywiki/browse_thread/thread/29742f8a233b806e?hl=ru

On 14 ноя, 15:49, Eric Shulman <[email protected]> wrote:
> On Nov 14, 4:19 am, colmjude <[email protected]> wrote:
>
> > You can also use the ThemedTiddlerPlugin that looks for a theme field
> > set on a tiddler.
>
> TaggedTemplateTweak already does this, using a field named
> 'template' (you can also config the plugin to use a different field
> name).
>
> > This is good to use if you want to change the structure of the tiddler
> > as well as the style of it.
>
> Indeed... that is precisely what TaggedTemplateTweak does.  It allows
> you to specify alternative templates (i.e, the tiddler *structure*)
> for any tiddler, by using a three-tiered fallback as a *prefix* on
> ViewTemplate/EditTemplate: first the tiddler's title is tried, then
> the value from a custom 'template' field (if present), and then tag
> values (one at a time)
>
> Thus, a tiddler named "TiddlerTitle" can have a unique alternative
> *structure* (and styles, of course), simply by creating:
>
> TiddlerTitleViewTemplate
> TiddlerTitleEditTemplate
>
> If no corresponding title-specific templates are defined, and the
> tiddler has a 'template' field with a value of "FieldValue", then it
> will use:
>
> FieldValueViewTemplate
> FieldValueEditTemplate
>
> If there is still no matching template(s) found, then each *tag* of
> the tiddler is tried, in turn, as a prefix:
>
> TagValueViewTemplate
> TagValueEditTemplate
>
> for more details, see:
>    http://www.TiddlyTools.com/#TaggedTemplateTweak
>    http://www.TiddlyTools.com/#TaggedTemplateTweakInfo
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to