How can I apply a template to a window?

You can apply a template to a window by selecting it from the template picker when editing a window.