%(
Missing events table
%)
%define;has_missing_birth_date(xx)
%if;(xx.has_birth_date or xx.has_baptism_date)
%if;(evar.date = "on")
%if;(xx.has_birth_date and (xx.birth_date.prec = "" and xx.birth_date.day != ""))
%elseif;(xx.has_baptism_date and (xx.baptism_date.prec = "" and xx.baptism_date.day != ""))
%else;
%incr_count;
%end;
%end;
%else;
%incr_count;
%end;
%end;
%define;has_missing_birth_place(xx)
%if;(xx.has_birth_date)
%if;not xx.has_birth_place;
%incr_count;
%end;
%elseif;(xx.has_baptism_date)
%if;not xx.has_baptism_place;
%incr_count;
%end;
%else;
%if;(not (xx.has_birth_place or xx.has_baptism_place))
%incr_count;
%end;
%end;
%end;
%define;has_missing_death_date(xx)
%if;xx.is_dead;
%if;(xx.has_death_date or xx.has_burial_date)
%if;(evar.date = "on")
%if;(xx.has_death_date and (xx.death_date.prec = "" and xx.death_date.day != ""))
%elseif;(xx.has_burial_date and (xx.burial_date.prec = "" and xx.burial_date.day != ""))
%else;
%incr_count;
%end;
%end;
%else;
%incr_count;
%end;
%end;
%end;
%define;has_missing_death_place(xx)
%if;xx.is_dead;
%if;(xx.has_death_date)
%if;not xx.has_death_place;
%incr_count;
%end;
%elseif;(xx.has_burial_date)
%if;not xx.has_burial_place;
%incr_count;
%end;
%else;
%if;(not (xx.has_death_place or xx.has_burial_place))
%incr_count;
%end;
%end;
%end;
%end;
%define;has_missing_marriage_date()
%if;(on_marriage_date = "")
%incr_count;
%else;
%if;(evar.date = "on" and (marriage_date.prec != "" or marriage_date.day = ""))
%incr_count;
%end;
%end;
%end;
%define;has_missing_marriage_place()
%if;(marriage_place = "")
%incr_count;
%end;
%end;
%define;has_missing_events(xx)
%reset_count;
%apply;has_missing_birth_date("xx")
%if;(count=0)
%apply;has_missing_birth_place("xx")
%end;
%if;(count=0)
%apply;has_missing_death_date("xx")
%end;
%if;(count=0)
%apply;has_missing_death_place("xx")
%end;
%if;(count=0)
%if;xx.has_families;
%foreach;xx.family;
%if;(count=0)
%apply;has_missing_marriage_place()
%end;
%if;(count=0)
%apply;has_missing_marriage_date()
%end;
%end;
%end;
%end;
%end;
%define;display_edit_ind_btn(label)
%if;(wizard and not cancel_links)
%else;
%end;
%end;
%define;display_edit_fam_btn()
%if;(wizard and not cancel_links)
%else;
%end;
%end;
%define;td_missing_events_rowspan(xx)
%if;(xx.same = "" and (evar.marr = "on" or (is_first and level = 1)) and xx.nb_families > 1)
rowspan="%xx.nb_families;" %nn;
%end;
%end;
%define;td_missing_events(xx)
%apply;td_missing_events_rowspan("xx")%nn;
%if;(count > 0)
bgcolor="#988C90" align="center" %nn;
%else;
bgcolor="#CCC3C6" %nn;
%end;
%end;
%define;td_family_missing_events(xx)
%if;(xx.nb_families > 1) style="border-bottom:none" %end; %nn;
%end;
%define;td_family_missing_style(xx)
%apply;td_family_missing_events("xx")
%if;(count>0) bgcolor="#988C90" align="center" %else; bgcolor="#CCC3C6" %end; %nn;
%end;
%define;table_missing_events(xx)
%lazy_force;
%apply;togena(nb_gena).
[*Sosa] | [*person/persons]0 | [*date of birth] | [*where born] | %if;(evar.marr="on")[*spouse/spouses]1%else;[*spouse/spouses]0%end; | [*date of marriage] | [*where married] | [*date of death] | [*where dead] |
---|---|---|---|---|---|---|---|---|
[*generation/generations]0 %level; | ||||||||