%doctype;
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <!-- $Id: perso.txt, Template h v 7.00b 2014/10/17 09:00:00 ddr/dd Exp $ -->
  <!-- copyright (c) 1998-2014 INRIA -->
  <title>%nn;
    %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;
  </title>
  <meta http-equiv="Content-Style-Type" content="text/css"%/>
  <meta http-equiv="Content-Type" content="text/html; charset=%charset;"%/>
  <meta name="robots" content="none"%/>
  <link rel="shortcut icon" href="%image_prefix;/favicon_gwd.png"%/>
  %include.js;
  %include.css;
  <style type="text/css"><!--
  --></style>
  %base_header;
</head>

%import;templx/mac_util

%define;ancestors_horizontally(xx, nnn, ss1, ss2, ss3)
  %if;(nnn > 0)
    %if;(xx.has_parents)
      %apply;ancestors_horizontally(
        "xx.father", nnn - 1, "ss1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",
        "ss1+----", "ss1|&nbsp;&nbsp;&nbsp;&nbsp;")
    %end;
    <tt>ss2</tt>%apply;image_MF("xx","13")
    %apply;short_display_person("xx")<br%/>
    %if;(xx.has_parents)
      %apply;ancestors_horizontally(
        "xx.mother", nnn - 1, "ss3|&nbsp;&nbsp;&nbsp;&nbsp;",
        "ss3+----", "ss3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
    %end;
  %end;
%end;

<body%body_prop;>
%let;central_index;%index;%in;
%let;central_person;%first_name_key_strip;%sp;%surname_key_strip;%in;
%message_to_wizard;

%import;menubar

<div style="float: %left;">
  %apply;image_MF("self","13")
</div>

%apply;display_arrows()

<h1 class="highlight" style="text-align: center">
  %if;has_public_name;
    %if;has_qualifiers;%public_name; <em>%qualifier;</em>
    %else;%public_name; %surname;%end;
  %else;
    %if;has_qualifiers;%first_name; <em>%qualifier;</em>
    %else;
      %if;cancel_links;%first_name; %surname;
      %else;
        <a href="%prefix;m=P;v=%first_name_key;">%first_name;</a>
        <a href="%prefix;m=N;v=%surname_key;">%surname;</a>
      %end;
    %end;
  %end;
</h1>

%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 or
     has_linked_page.HEAD)
  <table style="width:100%%" border="%border;">
    <tr>
      <td align="center">
        <table border="%border;" cellspacing="0" cellpadding="0">
          <tr>
            <td>
              %if;has_sosa;
                %apply;display_sosa("self")
                <em>[*Sosa]:
                  %if;cancel_links;%sosa;
                  %else;<a href="%prefix;%sosa_link;">%sosa;</a>%end;
                </em><br%/>
              %end;
              %foreach;qualifier;
                %if;not is_first;
                  %if;has_public_name;%public_name; %qualifier;
                  %else;%first_name; %qualifier;%end;<br%/>
                %end;
              %end;
              %foreach;alias;
                <em><strong>%alias;</strong></em><br%/>
              %end;
              %if;has_nobility_titles;
                <em>
                  %foreach;nobility_title;
                    %if;not is_first;,
                  %end;
                  %nobility_title;
                %end;
                </em><br%/>
              %end;
              %if;has_linked_page.HEAD;%linked_page.HEAD;<br%/>%end;
              %if;(has_public_name or has_qualifiers)
                <em>(%if;cancel_links;%first_name; %surname;
                     %else;
                       <a href="%prefix;m=P;v=%first_name_key;">%first_name;</a>
                       <a href="%prefix;m=N;v=%surname_key;">%surname;</a>%nn;
                     %end;)</em><br%/>
              %end;
              %foreach;surname_alias;
                <em>(%first_name; %surname_alias;)</em><br%/>
              %end;
              %foreach;first_name_alias;
                <em>(%first_name_alias; %surname;)</em><br%/>
              %end;
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <p></p>
%end;

%if;has_image;
  <table border="%border;"><tr><td><a
    href="%image_html_url;"><img src="%image_url;"
          %image_size; style="border: none"
          alt="" title="[image/images]0"%/></a></td><td>
%end;

%apply;display_vertical("self")

%if;has_image;</td></tr></table>%end;

%if;has_parents;
  <h3 class="highlight">[*parents]</h3>
  <ul>
    %apply;li_SD("father")
      %apply;image_MF("father","13")
      %apply;short_display_person("father")%sp;
      %if;(father.has_birth_date and has_birth_date)
        ( <acronym title="%apply;age_at_birth_of(central_person): %father_age_at_birth">%sp;
        <img src="%image_prefix;/parents.png" width="20" height="19" alt="" title=""%/> :%sp;
          <em>%father_age_at_birth;</em></acronym>)
      %end;
    </li>
    %apply;li_SD("mother")
      %apply;image_MF("mother","13")
      %apply;short_display_person("mother")%sp;
      %if;(mother.has_birth_date and has_birth_date)
        ( <acronym title="%apply;age_at_birth_of(central_person): %mother_age_at_birth">%sp;
        <img src="%image_prefix;/parents.png" width="20" height="19" alt="" title=""%/> :%sp;
          <em>%mother_age_at_birth;</em></acronym>)
      %end;
    </li>
  </ul>
%end;
%if;has_families;
  <h3 class="highlight">[*marriage/marriages]1%sp;
   %if;(max_desc_level>0)
     [and::child/children]1%end;
  </h3>
  <ul>
    %foreach;family;
      %apply;li_SD("spouse")
        %apply;long_married("self", "UPPER")%sp;
        %apply;image_MF("spouse","13")
        %apply;short_display_person("spouse")
        %if;are_divorced;, [divorced]0%divorce_date;%end;
        %if;are_separated;, [separated]0%end;
        %if;has_children;
          , [having as children]0
          <ul>
            %foreach;child;
              %apply;li_SDC("child")
                %apply;image_MF("child","13")
                %apply;short_display_person("child")
              </li>
            %end;
          </ul>
        %end;
        %if;(evar.opt = "from" and wizard)<em>(%origin_file;)</em><br%/>%nl;%end;
      </li>
    %end;
  </ul>
%end;

%if;has_siblings;  
  <h3 class="highlight">%nn;
       %if;(bvar.full_siblings="" or bvar.full_siblings="yes")
      [*full siblings]%nn;
    %else;
      [*siblings]%nn;
    %end;
  </h3>
  <ul>
    %foreach;father.child;
      %if;((bvar.full_siblings="" or bvar.full_siblings="yes")
        or child.index!=central_index)
        %apply;li_SDC("child")
          %apply;image_MF("child","13")
          %apply;short_display_person("child")
        </li>
      %end;
    %end;
  </ul>
%end;

%if;has_parents;
  %let;nbga;%apply;min(max_anc_level, 5)%in;
  <h3 class="highlight" id="ancestors">[*ancestors]%sp;
      %apply;togena%with;%nbga%end;</h3>
  <table><tr><td style="white-space:nowrap">
    %apply;ancestors_horizontally("self", nbga,
      "&nbsp;&nbsp;&nbsp;&nbsp;", "====", "&nbsp;&nbsp;&nbsp;&nbsp;")
  </td></tr></table>
%end;

%import;templx/relations
%import;templx/linked_pages
%( %import;perso_module/timeline %)
%import;templx/notes
%import;templx/sources
%import;templx/links

%if;(evar_opt="misc")%misc_names;%end;

%base_trailer;
%copyright;
</body>
</html>