Template blocks are specified using [[Markdown]]‘s fenced code block notation using either `template` or `include` as its language. They can also be [[Live Queries#Baking|baked]].
> Include template are primarily here to be a drop-in replacement for the old style template blocks, see below for a suggestion how to use those instead.
A `template` block is configured using [[YAML]] in its body. The following attributes are supported:
*`page`: the page to use as a template
*`value`: an (optional) value to pass to the template
*`raw`: a page reference to include in the page without processing it as a template.
Instead of using the `include` block we recommend you use a `{{template([[template]])}}` directive in a `template` instead as it is more flexible and more natural.