%doctype; [*advanced request] %include;css %include;hed %let;ltd; title="[year/month/day]2" class="d" size="2" maxlength="2" %in; %let;ltm; title="[year/month/day]1" class="m" size="2" maxlength="2" %in; %let;lty; title="[year/month/day]0" class="y" size="5" maxlength="5" %in; %let;ltp; size="40" maxlength="200" %in; %let;wikiplace;%evar.marriage_place;,%evar.birth_place;,%evar.bapt_place;,%evar.death_place;,%evar.burial_place;%in; %let;ol1;%if;(wikiplace != ",,,,")wikiPlace('wikiplace','%lang;','%wikiplace');%end;%in; %define;date(xx) %if;([!dates order]0 = "ddmmyyyy") %elseif;([!dates order]0 = "mmddyyyy") %else; %end; %end; %define;event(xx)
[after] %apply;date("xx1")
[before] %apply;date("xx2")
[place]
%end; %message_to_wizard; %if;(evar.birth1_yyyy != "" or evar.death2_yyyy != "")

%let;text;  [date/dates]0 %evar.birth1_yyyy; - %evar.death2_yyyy;%nn; %in; %if;(evar.marriage_place != "") [*add::] %text; %else; [*add::] %text; %end;

%end; %if;(ol1 != "")
%end;

%hidden;

[*advanced request]

[sex]



[*birth] %apply;event("birth")
[*death]

[died]0

%apply;event("death")
[*marriage/marriages]0

[married]

%apply;event("marriage")
[*baptism] %apply;event("bapt")
[*burial] %apply;event("burial")
%include;trl %include;copyr