Implement template fallback and display which template is chosen