வார்ப்புரு:Harvard citations/core
&lt;includeonly&gt;{{#ifeq:{{{Nb|}}}|yes||{{#ifeq:{{{Txt|}}}|yes||(}}}}{{
 &lt;!-- Much of this code is copied from template:citation/core 
      and should be kept the same for compatibility--&gt; 
  #if:{{{Surname1|}}}
   |{{
      #if: {{{Authorlink1|}}}
      |[[{{{Authorlink1}}} |{{
         #if: {{{Given1|}}}
         |{{{Given1}}}&amp;#32; 
       }}{{{Surname1}}}]]
      |{{
         #if: {{{Given1|}}}
         |{{{Given1}}}&amp;#32; 
       }}{{{Surname1}}}
    }}{{
      #if: {{{Surname2|}}}
      |{{
         #if: {{{Surname3|}}}
         |,&amp;#32;
         |&amp;#32;{{#ifeq:{{{Txt|}}}|yes|and|&amp;amp;}}&amp;#32;
       }}{{
         #if: {{{Authorlink2|}}}
         |[[{{{Authorlink2}}} |{{{Given2|}}} {{{Surname2}}}]]
         |{{{Given2|}}} {{{Surname2}}}
       }}{{
         #if: {{{Surname3|}}}
         |{{#ifeq:{{{Txt|}}}|yes|,&amp;#32;and&amp;#32;|&amp;#32;&amp;amp;&amp;#32;}}{{
            #if: {{{Authorlink3|}}}
            |[[{{{Authorlink3}}} |{{{Given3|}}} {{{Surname3}}}]]
            |{{{Given3|}}} {{{Surname3}}}
          }}{{
            #if:{{{Surname4|}}}
            |&amp;#32;et al.
          }}
       }}
    }}
   |{{
      #if: {{{EditorSurname1|}}}
      |{{
         #if: {{{Editorlink1|}}}
         |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
            #if: {{{EditorGiven1|}}}
            |, {{{EditorGiven1}}}
          }}]]
         |{{{EditorSurname1}}}{{
            #if: {{{EditorGiven1|}}}
            |, {{{EditorGiven1}}}
          }}
       }}{{
         #if: {{{EditorSurname2|}}}
         |{{
            #if: {{{EditorSurname3|}}}
            |&lt;nowiki&gt;; &lt;/nowiki&gt;
            |&amp;#32;&amp;amp;&amp;#32;
          }}{{
            #if: {{{Editorlink2|}}}
            |[[{{{Editorlink2}}} |{{{EditorGiven2|}}} {{{EditorSurname2}}}]]
            |{{{EditorGiven2|}}} {{{EditorSurname2}}}
          }}{{
            #if: {{{EditorSurname3|}}}
            |&amp;#32;&amp;amp; {{
               #if: {{{Editorlink3|}}}
               |[[{{{Editorlink3}}} |{{{EditorGiven3|}}} {{{EditorSurname3}}}]]
               |{{{EditorGiven3|}}} {{{EditorSurname3}}}
             }}{{
               #if:{{{EditorSurname4|}}}
               |&amp;#32;et al.
             }}
          }}
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}.
    }}
 }}&amp;nbsp;{{#ifeq:{{{Nb|}}}|yes||{{#ifeq:{{{Txt|}}}|yes|(| }}}}&lt;!-- 
    first link: 
 --&gt;[[{{{Citationpage|}}}#{{anchorencode:{{
   #if:{{{Ref|}}}
   |{{#ifeq:{{{Ref|}}}|none||{{{Ref|}}}}}
   |CITEREF{{#if:{{{Surname1|}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
    }}{{{Year|{{{Date|}}}}}} 
 }}}}|{{{Year|{{{Date|}}}}}}]]{{#if:{{{Loc1|}}}|,&amp;ensp;{{{Loc1|}}} }}&lt;!--
    second link 
 --&gt;{{#if:{{{Year2|}}}
   |, [[{{{Citationpage|}}}#{{anchorencode:{{
   #if:{{{Ref2|}}}
   |{{#ifeq:{{{Ref2|}}}|none||{{{Ref2|}}}}}
   |CITEREF{{#if:{{{Surname1|}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
    }}{{{Year2|}}} 
 }}}}|{{{Year2|}}}]]|}}{{#if:{{{Loc2|}}}|,&amp;ensp;{{{Loc2|}}} }}&lt;!-- 
    3rd link 
 --&gt;{{#if:{{{Year3|}}}
   |, [[{{{Citationpage|}}}#{{anchorencode:{{
   #if:{{{Ref3|}}}
   |{{#ifeq:{{{Ref3|}}}|none||{{{Ref3|}}}}}
   |CITEREF{{#if:{{{Surname1|}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
    }}{{{Year3|}}} 
 }}}}|{{{Year3|}}}]]|}}{{#if:{{{Loc3|}}}|,&amp;ensp;{{{Loc3|}}} }}&lt;!--
    4th link 
 --&gt;{{#if:{{{Year4|}}}
   |, [[{{{Citationpage|}}}#{{anchorencode:{{
   #if:{{{Ref4|}}}
   |{{#ifeq:{{{Ref4|}}}|none||{{{Ref4|}}}}}
   |CITEREF{{#if:{{{Surname1|}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
    }}{{{Year4|}}} 
 }}}}|{{{Year4|}}}]]|}}{{#if:{{{Loc4|}}}|,&amp;ensp;{{{Loc4|}}} }}&lt;!--
    5th link 
 --&gt;{{#if:{{{Year5|}}}
   |, [[{{{Citationpage|}}}#{{anchorencode:{{
   #if:{{{Ref5|}}}
   |{{#ifeq:{{{Ref5|}}}|none||{{{Ref5|}}}}}
   |CITEREF{{#if:{{{Surname1|}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
    }}{{{Year5|}}} 
 }}}}|{{{Year5|}}}]]|}}{{#if:{{{Loc5|}}}|,&amp;ensp;{{{Loc5|}}} }}&lt;!--
    6th link
 --&gt;{{#if:{{{Year6|}}}
   |, [[{{{Citationpage|}}}#{{anchorencode:{{
   #if:{{{Ref6|}}}
   |{{#ifeq:{{{Ref6|}}}|none||{{{Ref6|}}}}}
   |CITEREF{{#if:{{{Surname1|}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
    }}{{{Year6|}}}