I was configuring some capture templates for org mode but when adding any new template to init file, the default TASK template disappeared.


     (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, some of the expansions for template I like a lot, such as link to file or date of addition I've managed to emulate but no success so far.

where is default template code located?