added issubnode boolean to templaterepository