I was configuring some capture templates for org mode but when adding any new template to init file, the default TASK template disappeared. I've tried to add my own but the format seems not to work. Here my code trying to add the default task and one for notes:
(setq org-capture-templates
'(("t" "Todo" entry (file+headline "~/org/refile.org" "Tasks")
"* TODO %t %?\n ")
("n" "Note" entry (file+headlin "~/org/notes.org")
"* %?\nEntered on %U\n %i\n %a")))
The issue is that when adding any other template, option default for tasks disappeared, but if I add a default task template, date of addition and such ( %t %?\n) is not working so I think maybe I can copy the original default template to my init file.
where is default template code located?