Creating and Using Templates

Thanks for the feedback.

Note that you can type three pipe characters in a row, and a space, to get table too. |||

2 Likes

I didn’t know that, thanks

1 Like

Sounds like you’ll be very happy with the upcoming Agenda 14 update :wink:

4 Likes

Can’t wait :sweat_smile:

1 Like

Is there a way to do this for notes created from templates on any date? For example, if I want to use one template to create notes for tomorrow and the day after with both notes having their title be their date with custom formatting.

I thought that \event-date would do the trick, but I just get an empty title. I assume that this is because I’m creating the note from the day, not for a specific event.

This should work for you

\date(for: yesterday, format: MMM-dd-yyyy (EEEE))

2 Likes

Very detailed explanation which helped me a lot! Thank you for that.
One question. I tried to use, as template title, such text: Meeting Note from \event-date - and this one works well, showing start and end of meeting hour. So I decided it would be better to have it done this way: Meeting Note from \event-date(start) which should give me, for instance, “Meeting Note from 20 May 2022, at 18:00”. Instead I get this one: “Meeting Note from 0”. Is it a bug or I make a mistake somewhere?

You’d have to use it like this \event-date(start: full) where full can also be medium or short, depending on how you’d like it to appear.

2 Likes

Thank you! Now it works!

1 Like

I wish to create a note for the week of x, and then set the date range of the note to be from Mon-Fri.

I understand how to set dates within titles, but is it possible to set date ranges for notes themselves…and the projects to which they should be assigned…using templates?

Thanks!

1 Like

Unfortunately that kind of relative date setting isn’t possible at the moment, we’ll take it into consideration.

This would be really useful for me too!

A post was split to a new topic: URL of Zoom meeting

3 posts were split to a new topic: Problem with templates and \remind

Is there a keyword that inserts the week number in the template?

1 Like

You can insert the week number using \date(format: w), see Unicode Date And Time Cheatsheet — Toolbox Pro for all format options.

2 Likes

Nifty, thanks!

1 Like

Could you make it possible to rename a template separate from the title inside it? I have a daily note template like

\date(yyyy-MM-dd)
- 

which is handy, but I wish I could rename the template itself to something like “Daily note” rather than “\date(yyyy-MM-dd)”. I know this is super minor, but it’d be a friendly little quality of life improvement.

You can, just double-click the entry in the sidebar on the left of the template window, you can give it a different name than the default (the title of the note).

Oh! Turns out you can. I don’t think that’s documented, though. Perhaps it should be?

1 Like