%( op_m=1 simple: name %) %( op_m=3 simple with photo in 2 cols %) %( op_m=2 evolved: name, occupation %) %( op_m=4 complete: name, birth, death, occupation, marriages %) %( op_m=5 complete with photo in 2 centered cols %) %let;op_m;%if;(op_m!="")%op_m;%else;1%end;%in; %let;op_ph;%if;has_parents; %if;(father.has_image or mother.has_image)1%else;0%end; %else;nn; 0%nn; %end;%nn; %in; %if;((op_m=1 or op_m=3 or op_m=4 or (op_m=5 and op_ph=0)) and has_parents)