%include;css %include;hed

[*advanced request]0

%if;not cancel_links;
%if;(referer != "") %end;
%end;
%define;date(xx,zz) %if;([!dates order]0 = "ddmmyy" or [!dates order]0 = "ddmmyyyy" or [!dates order]0 = "dmyyyy") %elseif;([!dates order]0 = "mmddyyyy") %else; %end; %end; %define;event(xx,yy)

[*yy]0

%if;("xx"="death")
%end; %if;("xx"="marriage")
[*married][:]
%end;

[*after]

%apply;date("xx",1)

[*before]

%apply;date("xx",2)
%end;
%hidden;

[*person/persons]0

[*sex][:]
%apply;event("marriage","marriage/marriages")
%apply;event("birth","birth") %apply;event("bapt","baptism")
%apply;event("death","death") %apply;event("burial","burial")
[person/persons]1
%include;trl %include;copyr
%include;js