The node has two states: minimized and maximized, and you can define two different templates for those two nodes.