Hello there, I'm trying to do so something similar but for some reason all
I get is a regular tiddler instead of the template when I hit the button.
Am I supposed to replace (template) and $template$ with the name of my
template inside? For example \define newTid(JournalTemplate) and
param=$JournalTemplate$ or am I getting the whole thing wrong? Because I
tried doing that but it didn't work either. Thanks.
On Friday, March 18, 2016 at 5:10:47 PM UTC+1, Mat wrote:
>
> This should show the title of the template and a + button which creates a
> new tiddler based on the template.
>
> \define newTid(template)
> <$button message="tm-new-tiddler" param="$template$"
> style="padding: 0 3px 0 3px; background: none; border: 1px solid gray;" >
> $template$ {{$:/core/images/new-button}}
> </$button>
> \end
>
> tag this with $:/tags/Macro
>
> Have an original template tiddler called Abstract with the content, tags
> etc that you desire.
>
> Call the macro like so wherever you want the newtid button to appear, like
> in your sidebar:
>
> <<newTid "Abstract">>
>
> There are probably more polished solutions but this should work.
>
> <:-)
>
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/bccf606f-a353-4742-bfd9-92115355bf85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.