Mohammad making it easier for users is always a noble goal however when providing such features we can inadvertently miss direct people.
I can see a template for new journal entries making sense, or do I? When making such a template one would be inclined to include text for a standard journal, but this may not make sense, since that same text will be included in every journal, and consume bytes. It is possibly smarter to have a custom view template that displays standard headings etc… and actually creates them on edit, on demand and when needed.
This is even more pronounced with new tiddlers, because more often than not there is value in having other tiddler types, from notes, to contacts, essays and dictionary or reference entries to name but a few. To me there is no single tiddler template and to suggest there was, I think may limit peoples imagination and use of tiddlywiki.
However I do see value in improving this, I would prefer to see a template handling tool that allows you to define many and then at new tiddler, or after, or from the missing tiddler viewTemplate allow the application of a template to any tiddler. This could be defined for both system and regular tiddlers.
Such templates are less likely to provide “canned text” and more likely to set fields and apply tags. These setting then trigger a response in the view and or edit templates.
The solution I suggest here, is a little more involved but I think it expands the possibilities rather than restricts the Apparent possibilities especially for new users trying to understand the possibilities.
We would need to
- Design a standard method for naming and creating templates to generate new tiddlers, a journal would be but one of these. This would include fieldnames, default values and tags, perhaps but not necessarily text.
- List and allow selection of a template to be use or applied to any tiddler.
- Provide a list of templates available and how to add new ones, or clone an existing template to make a new one
- A set of buttons to create any tiddler from any defined template,
- A method by which to share such templates between wikis and people.
- Plugin designers could provide a set of templates for the kind of tiddlers their solution provides, eg a default table tiddler
All this is possible, and very powerful as long as we have a de facto standard.