How do I create a template layer?

The fly-out menu of the layer’s panel (top right button) contains an option to apply a template.