%if;has_public_name; %if;has_qualifiers;%public_name; %qualifier; %else;%public_name; %surname;%end; %else; %if;has_qualifiers;%first_name; %qualifier; %else;%first_name; %surname;%end; %end;

%base_header; %message_to_wizard; %if;not cancel_links;

%if;wizard; [*update] %end; | [*relationship computing] %if;has_parents; [*ancestors] Arbre %end; %if;has_children; [*descendants] Arbre %end; %if;(father.has_parents or mother.has_parents) [*cousins (general term)] %else; %if;has_nephews_or_nieces; [*nephews and nieces] %end; %end;

%end;

%if;is_male; %elseif;is_female; %end;

# %if;has_public_name; %if;has_qualifiers;%public_name; %qualifier; %else;%public_name; %surname;%end; %else; %if;has_qualifiers;%first_name; %qualifier; %else; %if;cancel_links;%first_name; %surname; %else; %first_name; %surname; %end; %end; %end;

%if;(has_sosa or has_qualifiers or has_aliases or has_nobility_titles or has_public_name or has_surnames_aliases or has_first_names_aliases)

%if;has_sosa; [*Sosa]: %if;cancel_links;%sosa; %else;%sosa;%end; %end; %foreach;qualifier; %if;not is_first; %if;has_public_name;%public_name; %qualifier; %else;%first_name; %qualifier;%end; %end; %end; %foreach;alias; %alias; %end; %if;has_nobility_titles; %foreach;nobility_title; %if;not is_first;, %end; %nobility_title; %end; %end; %if;(has_public_name or has_qualifiers) (%if;cancel_links;%first_name; %surname; %else; %first_name; %surname; %end;) %end; %foreach;surname_alias; (%first_name; %surname_alias;) %end; %foreach;first_name_alias; (%first_name_alias; %surname;) %end;

%end; %if;not cancel_links;

%if;has_referer; %end;

%end; %if;has_image;

%end; %if;(has_occupation or has_birth_date or has_birth_place or has_baptism_date or has_baptism_place or is_dead or is_buried or is_cremated or has_consanguinity) %if;has_image; | %end; %if;has_occupation; %occupation;%nl;%end; %if;has_birth_date; [*born]s %on_birth_date; %if;birthday; ([happy birthday to you!])%end; %if;has_birth_place; - %birth_place;%end;%nl; %else; %if;has_birth_place; [*born]s - %birth_place;%nl;%end; %end; %if;has_baptism_date; [*baptized]s %on_baptism_date; %if;has_baptism_place; - %baptism_place;%end;%nl; %else; %if;has_baptism_place; [*baptized]s - %baptism_place;%nl;%end; %end; %if;is_dead; %died; %if;has_death_date; %on_death_date;%end; %if;has_death_place; - %death_place;%end;%nl; %end; %if;computable_age; [*age]: %age;%nl; %end; %if;is_buried; [*buried]s %if;has_burial_date; %on_burial_date;%end; %if;has_burial_place; - %burial_place;%end;%nl; %end; %if;is_cremated; [*cremated]s %if;has_cremation_date; %on_cremation_date;%end; %if;has_cremation_place; - %cremation_place;%end;%nl; %end; %if;computable_death_age; [*age at death:] %death_age;%nl; %end; %if;has_consanguinity; [*consanguinity]: %consanguinity;%nl; %end; %end; %if;has_image;

%end;

%if;father.has_parents; ### Grands-Parents %if;cancel_links;%father.father; %else;%father.father%end; %father.title;%father.father.dates;%nl; %if;cancel_links;%father.mother; %else;%father.mother;%end; %mother.title;%father.mother.dates;%nl; %else %end; %if;mother.has_parents; %if;cancel_links;%mother.father; %else;%mother.father%end; %father.title;%mother.father.dates;%nl; %if;cancel_links;%mother.mother; %else;%mother.mother;%end; %mother.title;%mother.mother.dates;%nl; %end; | %if;has_parents; ### Parents %if;cancel_links;%father; %else;%father%end; %father.title;%father.dates;%nl; %if;cancel_links;%mother; %else;%mother;%end; %mother.title;%mother.dates;%nl; %end; | %if;has_siblings; ### Frères et soeurs %foreach;father.child; %if;is_self; %father.child.first_name; %father.child.dates; %else; %father.child.first_name %father.child.dates; %end; %end; %end;

%if;has_families;

### [*marriage/marriages]1 [and]0%sp; [child/children]1

%foreach;family;
- %married_to;%sp; %if;(cancel_links or spouse.is_restricted);%spouse; %else;%spouse;%end; %spouse.title;%spouse.dates; %if;has_witnesses; %sp;([witness/witnesses]w: %foreach;witness; %if;not is_first;, %end; %if;(cancel_links or witness.is_restricted);%witness; %else;%witness;%end; %witness.title;%witness.dates; %end; )%end; %if;are_divorced;, [divorced]0%divorce_date;%end; %if;are_separated;, [separated]0%end; %if;has_comment; (%comment;)%end; %if;has_children; , [having as children]0
  %foreach;child;
  - %if;(cancel_links or child.is_restricted);%child.child_name; %else; %child.child_name; %end; %child.dates;%nl; %end;
  %end; %if;(evar_opt = "from" and wizard);(%origin_file;)
  %nl;%end; %end;

%end; %if;has_relations;

### [*relation/relations]1

%foreach;relation;
- %relation_type; %if;(has_relation_him and has_relation_her) %nl;
  - %if;(cancel_links or relation_him.is_restricted);%relation_him; %else;%relation_him;%end; %relation_him.title;%relation_him.dates;%nl;
  - %if;(cancel_links or relation_her.is_restricted);%relation_her; %else;%relation_her;%end; %relation_her.title;%relation_her.dates;%nl;
  %elseif;has_relation_him;: %if;(cancel_links or relation_him.is_restricted);%relation_him; %else;%relation_him;%end; %relation_him.title;%relation_him.dates;%nl; %elseif;has_relation_her;: %if;(cancel_links or relation_her.is_restricted);%relation_her; %else;%relation_her;%end; %relation_her.title;%relation_her.dates;%nl; %end; %end; %foreach;related;
- %related_type;: %if;cancel_links;%related; %else;%related;%end; %related.title;%related.dates;%nl; %end; %foreach;witness_relation;
- %witness_relation;%nl; %end;

%end; %if;has_notes;

### [*note/notes]1

- %notes;

%end; %if;has_sources; [*source/sources]1: %foreach;source;
- %source_type;: %source; %end; %end; %if;not cancel_links;

[*relationship computing] | %if;has_parents; [*ancestors] Arbre %end; %if;has_children; [*descendants] Arbre %end; %if;(father.has_parents or mother.has_parents) [*cousins (general term)] %else; %if;has_nephews_or_nieces; [*nephews and nieces] %end; %end; %if;wizard; | [*update] %end;

%end;
%copyright; %base_trailer;