Categories collapsible through template