The chooseTemplateForTiddler method of the Story class returns the name of a template for a tiddler view. It takes two parameters:

  • 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.
bag
tiddlywikidev_public
created
Tue, 31 May 2011 14:17:06 GMT
creator
jon
modified
Tue, 31 May 2011 14:17:11 GMT
modifier
jon
wikiformat
mediawiki