But if I transclude the tiddlers (directly oor by search as you did), the default template is applied ; it makes sense as the containing tiddler is not tagged with MyTag and the fields are in the transcluded tiddlers, not the one I am currently reading
MAYBE I am wrong and it is necessary to ALWAYS precise the template to apply but I thought (hoped ?) that it would not be necessary ?
Is there a way for that to works ?
Real example :
Here is a tiddler : [[JohnDoe]] ;
it has fields such as phone, address,…
it has a tag Contact
I create a template tiddler [[$:/szdavid/TiddlerTypeTemplates/Contact]] tagged $:/tags/ViewTemplate
Yes, indeed, it does ; but I thought that I would be able to view the default template I applied for the individual tiddler itself, without having to remember which template I applied
Got it - well after doing some research, I’m stumped on how to do that, sorry. If the main issue is the remembering “which template”, I’m curious if another way of organizing it might help…
Could you have one tiddler tagged with the $:/core/ui/ViewTemplate and have tests for each of your types, so a [all[current]tag[Contact]]… then below [all[current]tag[Task]]… [all[current]tag[Project]]… type thing, name it something like MyTemplates and then just use that as a single template in all of your situations? I haven’t tested that, but just a thought.
This is actually a feature. You can use John Doe’s with a contact template, a business template, a sales template, etc. and present various aspects of the same data the way you want it for your current situation.
Note that when using the list widget you can specify a template attribute for displaying the results.