﻿%( Template sources v 7.00b 2014/10/17 09:00:00 ddr/dd %)
  %reset_count;
  %if;has_sources;%incr_count;%end;
  %if;has_linked_page.BIBLIO;%incr_count;%end;
  %foreach;event;
    %if;event.has_src;%incr_count;%end;
  %end;
  %if;(count>0)
    <em id="src" style="font-size:80%%">[*source/sources]1:
      <ul>
        %foreach;source;
          <li>%apply;capitalize(source_type): %source;</li>
        %end;
        %foreach;event;
          %if;event.has_src;
            %if;(event.name!=[birth] and
                 event.name!=[baptism] and
                 event.name!=[marriage event] and
                 event.name!=[death] and
                 event.name!=[burial])
              <li>%apply;capitalize(event.name) : %event.src;</li>
            %end;
          %end;
        %end;
      </ul>
    </em>
    %if;has_linked_page.BIBLIO; - [*bibliography]
      <p>
        %apply;capitalize(linked_page.BIBLIO)
      </p>
    %end;
    %nl;
  %end;
  %reset_count;