> Eric's TaggedTemplateTweak which use tags to pull in > tagEditTemplate, tagViewTemplates with the advantage of bundling the > two tiddlers into a single tiddler and supporting multiple > stylesheets.
TaggedTemplateTweak already fully supports using themes and section references using a 'template prefix' based on tags, field values or even specific tiddler titles, so you can can put the alternative "typed" template definitions into sections of a theme and have it all defined in one tiddler. TaggedTemplateTweak also supports using a *field* (default name=template) to store the 'template prefix', so you do *not* have to use tags to differentiate tiddler 'types'. Thus, if you are using a Theme (e.g. "SomeTheme") that contains custom templates defined using sections, they can be accessed by using the value in the tiddler's 'template' prefix field to automatically locate the desired definitions, e.g.,: SomeTheme##prefixViewTemplate SomeTheme##prefixEditTemplate In fact, TaggedTemplateTweak can support ALL of the following references to templates, list in the order of precedence theme##SomeTitleViewTemplate SomeTitleViewTemplate theme##fieldvalueViewTemplate fieldvalueViewTemplate theme##tagvalueViewTemplate theme##TagvalueViewTemplate (capitalized) tagvalueViewTemplate TagvalueViewTemplate (capitalized) (note: of course, the same handling and precedence applies to "...EditTemplate" definitions as well) -e --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

