use data-template-name instead of id