!only one parent determined by template name; +always redetermine if type or parent are present;