# Need help with org-roam-dailies-capture-template

**URL:** <https://org-roam.discourse.group/t/need-help-with-org-roam-dailies-capture-template/2882>\
**Category:** Troubleshooting\
**Created:** [December 2, 2022, 7:50am UTC](https://org-roam.discourse.group/t/need-help-with-org-roam-dailies-capture-template/2882 "2022-12-02T07:50:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [December 3, 2022, 8:09am UTC](https://org-roam.discourse.group/t/need-help-with-org-roam-dailies-capture-template/2882/4 "2022-12-03T08:09:20Z")

</div>

I think what you are going for is something like this:

```auto
(setq org-roam-dailies-capture-templates
        '(("d" "default" entry "** %<%I:%M %p>: %?"
           :target (file+head+olp "%<%Y-%m-%d>.org"
                                  "#+TITLE: %<%Y-%m-%d>\n#+FILETAGS: daily\n\n* Focus\n\n* Tasks\n\n* Journal"
                                  ("Journal"))
           :unnarrowed t)))

```

I only tested it lightly but seems to work.

I don’t think `:if-new` is meant to be used “in addition” to `:target` – the former is the replacement of the latter and does not mean “If the new note is being created, use A; if not, use target”. I don’t know why two stars didn’t work, though.

---

_[View the full topic](https://org-roam.discourse.group/t/need-help-with-org-roam-dailies-capture-template/2882)._
