I probably explained poorly!  It made sense in my head at the time.

OK, look at the example for the tm-new-tiddler message:

https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler

To make a button that creates new tiddlers tagged "task", create a tiddler 
> called "TaskTemplate <https://tiddlywiki.com/#TaskTemplate>" with that 
> tag, and then make your button like this:
> <$button message="tm-new-tiddler" param="TaskTemplate">New Task</$button>


Why would you want to do that?  If you have a tiddler named TaskTemplate 
it's always going to show up whenever you filter on tasks ([tag[task]]) 
unless you explicitly filter it out ([tag[task]![TaskTemplate]]). Seems 
like a bad way to go.

So I always use a button with an actual ActionSendWidget inside it so I can 
have it set the tag at creation time.

I'm wondering if I'm missing some way you could use a template without 
running across that inconvenience, of the template showing up whenever you 
were looking for the actual thing it's a template for.

Does that make any sense?

If not, no worries -- it is kind of a trivial matter.



On Thursday, March 19, 2020 at 3:05:54 PM UTC-4, Mat wrote:
>
> Ed Heil wrote:
>>
>> That's cool, I can make a NewTicketTemplate with that tag already added! 
>>  But wait, if I do that, that template is going to show up every time I 
>> list tickets unless I explicity exclude it. 
>
>
> There are some fundamental presumptions in what you describe that I don't 
> get. What do you mean with a "template showing up"? Do you mean the button? 
> Are you talking about a ViewTemplate or what template? And why does it 
> sound like you make the button merely to temporarily make a list appear?
>
> <:-)
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ea786d2-b0f9-48c6-a6fd-5996f579d1da%40googlegroups.com.

Reply via email to