Hello S,
yes you can use the type field.

E.g.

type="image/jpeg"

title="" The text in between the quotes sets the title of the created 
tiddler. 
This is helpful if you have a number of tiddlers with similar titles. Task, 
Task 1, Task2, Report, Report2 etc.

location/Context is a field which David is using for his task todo list. I 
presume he will add a relevant term such as work, home or something similar.

TonyM explained, 

"I call this process setting the context. Personaly on my main organiser 
wiki I set domain, project and sometimes client values on every task, note 
etc... Domain is work/personal etc.."

location/Context="" will create a blank field named location/Context.

Example with type field set to image/jpeg

<$button>
<$action-sendmessage $message="tm-new-tiddler"
 title="Your Title Goes Here"
 tags="Your Tags Go Here"
 locationContext="personal"
priority="3"
type="image/jpeg"
/>
New Tiddler
</$button>

Regards,
Scot


On Friday, 10 April 2020 14:09:43 UTC+1, Sebastian Theilhaber wrote:
>
> Hi Scot, 
>
> I'm in no position to make and educated comment but playing with it showed 
> interesting potential since a template can be produced on the basis of 
> instructions rather than a 'template-tiddler'. 
>
> Since I know nothing about any of those things 'under the hood' and I'm 
> really interested in using the idea, could I ask you some questions, please?
>
> 1) Can the "Type:"-field be manipulated this way? The lines from "title=" 
> to "/>" seem to effect and put in various field (and a value), which is 
> different. 
> 2) Might not be relevant, but what is / does "locationContext"?
>
> Regards, S
>
>
> On Tuesday, March 31, 2020 at 3:54:52 AM UTC+11, scot wrote:
>>
>> Hi David,
>> you could create a button by putting this into the tiddler content. The 
>> template method is best if your making multiple tiddlers.
>>
>> <$button>
>> <$action-sendmessage $message="tm-new-tiddler"
>>  title="My Task Tiddler"
>>  tags="Task"
>>  locationContext=""
>> priority="3"
>> />
>> New Tiddler
>> </$button>
>>
>> regards,
>> Scot
>>
>>

-- 
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/147b0d16-fb33-4cbe-8de1-c9cfaaa5983c%40googlegroups.com.

Reply via email to