%doctype;
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <!-- $Id: perso.txt, Template d 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

<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>
    %foreach;parent;
      %apply;li_SD("parent")
      %apply;image_MF("parent","13")
      %apply;short_display_person("parent")</li>
    %end;
  </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;spouse.has_parents;
          <span style="font-size: 90%%"><em> ([*parents] :
            %apply;image_MF("spouse.father","13")
            %apply;short_display_person("spouse.father")
            &nbsp;&amp;&nbsp;
            %apply;image_MF("spouse.mother","13")
            %apply;short_display_person("spouse.mother"))</em>%nn;
          </span>
        %end;
        %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_parents;
<div style="text-align: center">
  <table border="1" style="width: 100%%">
    <tr>
      <td id="ancestors" style="vertical-align: top">
        <table border="%border;" style="text-align: center"%sp;
          cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="15" style="text-align: center">
              <h3 class="highlight">[*ancestors]</h3></td>
          </tr>

          %if;(max_anc_level>3)
            <tr>
              %( line 1 : up to 8 great-grandparents %)
              %if;(father.has_parents and father.father.has_parents)
                <td style="text-align: center;font-size: 80%%">%nn;
                 %apply;image_MF("father.father.father","10")
                  %apply;short_display_person("father.father.father")</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">%nn;
                  %apply;image_MF("father.father.mother","10")
                  %apply;short_display_person("father.father.mother")</td>
              %else;
                <td colspan="3" rowspan="4">&nbsp;</td>
              %end;
              <td>&nbsp;</td>
              %if;(father.has_parents and father.mother.has_parents)
                <td style="text-align: center;font-size: 80%%">%nn;
                  %apply;image_MF("father.mother.father","10")
                  %apply;short_display_person("father.mother.father")</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">%nn;
                  %apply;image_MF("father.mother.mother","10")
                  %apply;short_display_person("father.mother.mother")</td>
              %else;
                <td colspan="3" rowspan="4">&nbsp;</td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.father.has_parents)
                <td style="text-align: center;font-size: 80%%">%nn;
                  %apply;image_MF("mother.father.father","10")
                  %apply;short_display_person("mother.father.father")</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">%nn;
                  %apply;image_MF("mother.father.mother","10")
                  %apply;short_display_person("mother.father.mother")</td>
              %else;
                <td colspan="3" rowspan="4">&nbsp;</td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.mother.has_parents)
                <td style="text-align: center;font-size: 80%%">%nn;
                  %apply;image_MF("mother.mother.father","10")
                  %apply;short_display_person("mother.mother.father")</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">%nn;
                  %apply;image_MF("mother.mother.mother","10")
                  %apply;short_display_person("mother.mother.mother")</td>
              %else;
                <td colspan="3" rowspan="4">&nbsp;</td>
              %end;
            </tr>

            <tr>
              %( line 2 : up to 8 vertical lines with number %)
              %if;(father.has_parents and father.father.has_parents)
                <td style="text-align: center;font-size: 80%%">|<br%/>8</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">|<br%/>9</td>
              %end;
              <td>&nbsp;</td>
              %if;(father.has_parents and father.mother.has_parents)
                <td style="text-align: center;font-size: 80%%">|<br%/>10</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">|<br%/>11</td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.father.has_parents)
                <td style="text-align: center;font-size: 80%%">|<br%/>12</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">|<br%/>13</td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.mother.has_parents)
                <td style="text-align: center;font-size: 80%%">|<br%/>14</td>
                <td>&nbsp;</td>
                <td style="text-align: center;font-size: 80%%">|<br%/>15</td>
              %end;
            </tr>

            <tr>
              %( line 3: up to 4 horizontal lines %)
              %if;(father.has_parents and father.father.has_parents)
                <td align="%right;">%nn;
                  <hr dir="ltr" width="50%%" align="%right;"%/></td>
                <td><hr width="100%%"%/></td>
                <td align="%left;">%nn;
                  <hr dir="ltr" width="50%%" align="%left;"%/></td>
              %end;
              <td>&nbsp;</td>
              %if;(father.has_parents and father.mother.has_parents)
                <td align="%right;">%nn;
                  <hr dir="ltr" width="50%%" align="%right;"%/></td>
                <td><hr width="100%%"%/></td>
                <td align="%left;">%nn;
                  <hr dir="ltr" width="50%%" align="%left;"%/></td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.father.has_parents)
                <td align="%right;">%nn;
                  <hr dir="ltr" width="50%%" align="%right;"%/></td>
                <td><hr width="100%%"%/></td>
                <td align="%left;">%nn;
                  <hr dir="ltr" width="50%%" align="%left;"%/></td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.mother.has_parents)
                <td align="%right;">%nn;
                  <hr dir="ltr" width="50%%" align="%right;"%/></td>
                <td><hr width="100%%"%/></td>
                <td align="%left;">%nn;
                  <hr dir="ltr" width="50%%" align="%left;"%/></td>
              %end;
            </tr>

            <tr>
              %( line 4 : up to 4 vertical lines %)
              %if;(father.has_parents and father.father.has_parents)
                <td colspan="3" style="text-align: center">|</td>
              %end;
              <td>&nbsp;</td>
              %if;(father.has_parents and father.mother.has_parents)
                <td colspan="3" style="text-align: center">|</td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.father.has_parents)
                <td colspan="3" style="text-align: center">|</td>
              %end;
              <td>&nbsp;</td>
              %if;(mother.has_parents and mother.mother.has_parents)
                <td colspan="3" style="text-align: center">|</td>
              %end;
            </tr>
          %end;

          %if;(max_anc_level>2)
            <tr>
              %( line 5 : up to 4 grandparents %)
              %if;father.has_parents;
                <td colspan="3" style="text-align: center;font-size: 90%%">%nn;
                  %apply;image_MF("father.father","12")
                  %apply;short_display_person("father.father")</td>
                <td>&nbsp;</td>
                <td colspan="3" style="text-align: center;font-size: 90%%">%nn;
                  %apply;image_MF("father.mother","12")
                  %apply;short_display_person("father.mother")</td>
              %else;
                <td colspan="7" rowspan="4">&nbsp;</td>
              %end;
              <td>&nbsp;</td>
              %if;mother.has_parents;
                <td colspan="3" style="text-align: center;font-size: 90%%">%nn;
                  %apply;image_MF("mother.father","12")
                  %apply;short_display_person("mother.father")</td>
                <td>&nbsp;</td>
                <td colspan="3" style="text-align: center;font-size: 90%%">%nn;
                  %apply;image_MF("mother.mother","12")
                  %apply;short_display_person("mother.mother")</td>
              %else;
                <td colspan="7" rowspan="4">&nbsp;</td>
              %end;
            </tr>

            <tr>
              %( line 6 : up to 4 vertical lines with number %)
              %if;father.has_parents;
                <td colspan="3" style="text-align: center;font-size: 90%%">|<br%/>4</td>
                <td>&nbsp;</td>
                <td colspan="3" style="text-align: center;font-size: 90%%">|<br%/>5</td>
              %end;
              <td>&nbsp;</td>
              %if;mother.has_parents;
                <td colspan="3" style="text-align: center;font-size: 90%%">|<br%/>6</td>
                <td>&nbsp;</td>
                <td colspan="3" style="text-align: center;font-size: 90%%">|<br%/>7</td>
              %end;
            </tr>

            <tr>
              %( line 7 : up to 2 horizontal lines %)
              %if;father.has_parents;
                <td colspan="3" align="%right;">%nn;
                  <hr dir="ltr" width="50%%" align="%right;"%/></td>
                <td><hr width="100%%"%/></td>
                <td colspan="3" align="%left;">%nn;
                  <hr dir="ltr" width="50%%" align="%left;"%/></td>
              %end;
              <td>&nbsp;</td>
              %if;mother.has_parents;
                <td colspan="3" align="%right;">%nn;
                  <hr dir="ltr" width="50%%" align="%right;"%/></td>
                <td><hr width="100%%"%/></td>
                <td colspan="3" align="%left;">%nn;
                  <hr dir="ltr" width="50%%" align="%left;"%/></td>
              %end;
            </tr>

            <tr>
              %( line 8 : up to 2 vertical lines %)
              %if;father.has_parents;
                <td colspan="7" style="text-align: center">|</td>
              %end;
              <td>&nbsp;</td>
              %if;mother.has_parents;
                <td colspan="7" style="text-align: center">|</td>
              %end;
            </tr>
          %end;

          <tr>
            %( line 9 : 2 parents %)
            <td colspan="7" style="text-align: center">%nn;
              %apply;image_MF("father","13")
              %apply;short_display_person("father")</td>
            <td>&nbsp;</td>
            <td colspan="7" style="text-align: center">%nn;
              %apply;image_MF("mother","13")
              %apply;short_display_person("mother")</td>
          </tr>

          <tr>
            %( line 10 : 2 vertical lines with number %)
            <td colspan="7" style="text-align: center">|<br%/>2</td>
            <td>&nbsp;</td>
            <td colspan="7" style="text-align: center">|<br%/>3</td>
          </tr>

          <tr>
            %( line 11 : 2 horizontal lines %)
            <td colspan="7" align="%right;">%nn;
              <hr dir="ltr" width="50%%" align="%right;"%/></td>
            <td><hr width="100%%"%/></td>
            <td colspan="7" align="%left;">%nn;
              <hr dir="ltr" width="50%%" align="%left;"%/></td>
          </tr>

          <tr>
            %( line 12 : 1 vertical line %)
            <td colspan="15" style="text-align: center">|</td>
          </tr>

          <tr>
            %( line 13 : 1 person %)
            <td colspan="15" style="text-align: center">%nn;
              %apply;image_MF("self","13")
              %apply;short_display_person("self")</td>
          </tr>
        </table>
      </td>
      %if;has_siblings;
        <td style="text-align: left;vertical-align: top">
          <h3 class="highlight" id="siblings" style="text-align: left">%sp;&nbsp;%sp;
               %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>
        </td>
      %end;
    </tr>
  </table>
</div>
%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>