This is the official manual for the latest Org-mode release.
Now lets look at the elements of a template definition. Each entry in
org-capture-templates is a list with the following items:
"a" for a template to be selected with a
single key, or "bt" for selection with two keys. When using
several keys, keys using the same prefix key must be sequential
in the list and preceded by a 2-element entry explaining the
prefix key, for example
("b" "Templates for marking stuff to buy")
If you do not define a template for the C key, this key will
be used to open the customize buffer for this complex variable.
entryitemcheckitemtable-line:prepend and
:table-line-pos (see below).
plainorg-default-notes-file. A file can
also be given as a variable, function, or Emacs Lisp form.
Valid values are:
(file "path/to/file")(id "id of existing org entry")(file+headline "path/to/file" "node headline")(file+olp "path/to/file" "Level 1 heading" "Level 2" ...)(file+regexp "path/to/file" "regexp to find location")(file+datetree "path/to/file")(file+datetree+prompt "path/to/file")(file+function "path/to/file" function-finding-location)(clock)(function function-finding-location)(file "path/to/template"). See below for
more details.
:prepend:immediate-finish:empty-lines:clock-in:clock-keep:clock-resume:clock-keep has precedence over
:clock-resume. When setting both to t, the current clock will
run and the previous one will not be resumed.
:unnarrowed:table-line-pos"II-3" meaning that the new
line should become the third line before the second horizontal separator
line.
:kill-buffer[1] Datetree
headlines for years accept tags, so if you use both * 2013 :noexport:
and * 2013 in your file, the capture will refile the note to the first
one matched.