{{refid=queries['ref']}} {{qchild = queries['feature']}} {{if qchild==null}} {{qchild=''}} {{end}} {{child=device_prop refid 'Relationship'}} {{if child==3 || child==4}} {{#for child and standalone we only want to display the status for this ref}} {{qchild=refid}} {{end}}