# Capture template from file but only for new entries

**URL:** <https://org-roam.discourse.group/t/capture-template-from-file-but-only-for-new-entries/3114>\
**Category:** How To\
**Created:** [June 15, 2023, 11:52am UTC](https://org-roam.discourse.group/t/capture-template-from-file-but-only-for-new-entries/3114 "2023-06-15T11:52:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 19, 2023, 7:42am UTC](https://org-roam.discourse.group/t/capture-template-from-file-but-only-for-new-entries/3114/2 "2023-06-19T07:42:58Z")

</div>

This [post](https://org-roam.discourse.group/t/read-capture-template-from-file/1869) might help you structure the variable correctly.

You don’t use `:if-new` and `:target` at the same time. They do the same thing. `:if-new` is old and not to be used any more; `:target` replaces it. I believe the former remains only for backward compatibility.

---

_[View the full topic](https://org-roam.discourse.group/t/capture-template-from-file-but-only-for-new-entries/3114)._
