Templates - how to create, edit, and insert?

Logseq really needs to implement a ;; to start looking for a template instead of the /template templateName

;;templateName is sooo much faster

The one thing other then a smooth synch (I know its coming) that I miss coming from Roam.

5 Likes

I created a template but when I select it, nothing is inserted.

screencast 2022-07-12 14-54-59

Am I doing something wrong?

Template:: should be in the same block as REFLECTION not in a sub block.
You can create a new line inside a block using shift enter.

1 Like

Thank you, that fixed it!

I’m trying to understand templates, but I have a problem and I don’t know what I’m doing wrong.

I create a template for daily tasks. Logically they go from TODO to DONE. Fine, but this means that the next day, when the day appears automatically, as the day before I made modifications in the TEMPLATE, everything appears modified and with DONE.

What am I missing or doing wrong? Thanks.

This is cause you’ve actually edited the template block which is what logseq tries replicating whenever it calls the daily template. What you should ideally do is dedicate a page for templates and have them all there.

1 Like

Many Thanks, it seems that this was the problem. ThanksšŸ™

Hi. I would like to have a space for one of the item inside my template as shown below. May I know how can I do that? Currently it is not allowing me to do this.
image

1 Like

Hi everyone! Is there a way to use separate shortcut to insert a template? Right now I need to use /template and then search the template name. I would prefer to use a separate shortcut and directly type the template name. Thanks!

1 Like

I’m having a hard time getting the template to work.

Here’s my setup:

**Fujifilm Recipes**
template:: Fujifilm Recipe
Dynamic Range:: 
Film Simulation:: 
Grain Effect:: 
White Balance:: 
Highlight Tone:: 
Shadow Tone:: 
Color:: 
Sharpness:: 
Noise Reduction::

And this is the result:
image

Something is off, but can’t figure out what it is.

Edit: Ok, I just saw in one of the replies above that spaces are not allowed.

I am trying Logseq DB on a Mac, browser is Chrome. After right click, this is what I got.

I’d like to know if this is a bug, or Logseq DB not compatible with Chrome on Mac.

Thank you

I can type the steps when I am on my computer but for now you can watch the steps https://youtu.be/WooTS_N2mDo?si=MwAJnE--H-Zq50uT - fast forward to 46 minutes…

1 Like

Thank you @danzu, subscribed to your channel :slight_smile:

The DB behaves so different from MD. (I still love MD by the way :slight_smile: )

Hi @danzu, I am watching your video above and here is my first question. Hoping that you could help clarifying.

When selecting multiple blocks, the action bar doesn’t appear on top. I do have an account, did log in, and turn on the Dev mode. I am also using Logseq on Chrome on a Mac.

Thank you,

Answering my own question, after selecting the blocks, one needs to hover the mouse pointer above the selected blocks.

1 Like