[*modify::tree]

%include;css %define;one_pvar_line(znz,zocz,zfnz,zsnz,zbdz,ztz,zparamz)
zbdz %end; %define;one_pvar(zz) %if(evar.izz != "" or evar.pzz != "") %let;tmp; %if;p_of_index.zz.has_birth_date; %p_of_index.zz.slash_birth_date; %elseif;p_of_index.zz.has_baptism_date; %p_of_index.zz.slash_baptism_date; %end; %sp;-%sp;%nn; %if;p_of_index.zz.has_death_date;%p_of_index.zz.slash_death_date; %elseif;p_of_index.zz.has_burial_date;%p_of_index.zz.slash_burial_date; %elseif;p_of_index.zz.has_cremation_date;%p_of_index.zz.slash_cremation_date; %end; %in; %apply;one_pvar_line("zz", p_of_index.zz.occ, p_of_index.zz.first_name, p_of_index.zz.surname, tmp, evar.tzz, "") %apply;one_pvar(zz+1) %end; %end; %define;my_hidden(xx) %if(evar.xx != "")%end; %end; %include;hed

## [*edit tree]

%hidden; %apply;my_hidden("spouse") %apply;my_hidden("image") %apply;my_hidden("bd") %apply;my_hidden("new")

| # | [*first name/first names]0 | [*surname/surnames]0 | [*birth] - [*death] | [*text]
%apply;one_pvar_line("", "", "", "", "", "", " id='template_line' style='display:none;'") %if(evar.i0 != "" and evar.p0 != "") %apply;one_pvar(0) %else; %apply;one_pvar(1) %end;

%if(not cancel_links) %base_trailer; %include;copyr %end;
%include;js