How to add a block to a page by a layout directive

An example from the core:

Another example with a template:

See also: