%( op_m=1 simple: name %) %( op_m=2 simple with photo %) %( op_m=3 complete: name, marriages %) %( op_m=4 complete with photo %) %let;op_m;%if;(op_m!="")%op_m;%else;1%end;%in; %let;op_fl;1%in; %( flèche frère suivant %) %define;short_display_sibling_photo(xx,cond) %if;has_siblings; %let;cur;%index;%in;
%apply;on_side%with;%apply;very_short_display_person("father")%end; | %end; %if;(half_mother != 0) | %apply;on_side%with;%apply;very_short_display_person("mother")%end; | %end;
%foreach;father.family;
%if;(spouse.index!=mother.index and half_father!=0 and spouse.has_children)
|
%end; %if;(mother.nb_families > 1 and half_mother != 0) |
%foreach;mother.family;
%if;(spouse.index!=father.index and half_mother!=0 and spouse.has_children)
|
%end;
%apply;display_shared_parent%with; %apply;short_display_person("parent")%end; | %end; %if;(not is_last)%end; %end; |
%foreach;father.family; %if;(spouse.index!=mother.index) %apply;list_half_siblings() %end; %end; | %end; %if;(mother.nb_families>1)%foreach;mother.family; %if;(spouse.index!=father.index) %apply;list_half_siblings() %end; %end; | %end;