<!--  Union simple -->
%if;has_families;
  <h3 class="highlight h15 deux" style="margin-bottom:8px;"><span>[*union/unions]2(s) %if;has_children; [and::child/children]2(s)%end;</span></h3>
  <ul class="marriage_perso">
    %( On remet les compteurs à zéro et on commence à compter à 1 %)
    %reset_count; %incr_count;
    %foreach;family;
      %apply;li_SD("spouse")
        %if;(wizard)
          <a href="%prefix;m=MOD_FAM;i=%family.index;;ip=%index;">
            <img width="13" height="13" alt="[modify]" title="[modify::family/families]0" src="%image_prefix;/templ_clp/picto_molette.png"%/>%nn;
          </a>
        %end;        
		  %apply;married_to%with;%self.sex%and;
			%if;(marriage_place = "")
			  %if;(on_marriage_date = "")
			  %else; <em>%on_marriage_date;</em> (%marriage_age;)%nn;
				%if;wedding_birthday; ([happy birthday to them!])%end;				
			  %end;
			%else;
			  %if;(on_marriage_date = ""), <span class="spanGmap">%marriage_place;</span>, 
			  %else; <em>%on_marriage_date; </em>(%marriage_age;)%nn;
				%if;wedding_birthday; ([happy birthday to them!])%end;
				, <span class="spanGmap">%marriage_place</span>, 
			  %end;
			%end;
		  %end;		
		%apply;short_display_person3("spouse")%sp;
		%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;has_witnesses;
          &nbsp;([witness/witnesses]w :
          %foreach;witness;
            %if;not is_first;, %end;
            %apply;short_display_person("witness")%nl;
          %end;)
        %end;
        %if;((wizard or friend or bvar.no_note_for_visitor="" or bvar.no_note_for_visitor="no") and has_comment) 
          ([see] <a href="#note-wed-%count;" name="wed-note-%count;" id="wed-note-%count;">[note/notes]0</a>)
          %incr_count;
        %end;
        %if;are_divorced;, [divorced]0%divorce_date;%sp;%end;
        %if;are_separated;, [separated]0%sp;%end;
        %if;has_children;[having as children]0 :
          %( On sauvegarde l'ancienne valeur de count %)
          %let;prev_count;%count;%in;
          <ul style="margin-top:3px;margin-bottom:7px;line-height:18px;">
            %foreach;child;
              %apply;li_SDC("child")
                %apply;image_MF("child","13")
                %apply;short_display_person("child")
              </li>
            %end;
          </ul>
          %( On rétablie l'ancienne valeur de count %)
          %apply;init_count(prev_count)
        %end;
        %if;(evar.opt = "from" and wizard)<em>(%origin_file;)</em><br%/>%nl;%end;
      </li>
    %end;
  </ul>
%end;