Issue #12175 - Templates for relationships