Templating for groups