The chooseTemplateForTiddler method of the Story class returns the name of a template for a tiddler view. It takes two parameters:
The second parameter may be omitted, in which case DEFAULT_VIEW_TEMPLATE is assumed.
- the title of the tiddler
- a constant corresponding to the type of template to use
The second parameter may be omitted, in which case DEFAULT_VIEW_TEMPLATE is assumed.