Template:Harvard citation: Difference between revisions

From Vigyanwiki
Template>COGDEN
(revert. Will try again)
m (57 revisions imported from alpha:Template:Harvard_citation)
 
(39 intermediate revisions by 23 users not shown)
Line 1: Line 1:
({{#ifeq:{{{Ref|}}}|none
<includeonly>{{#invoke:Footnotes|harvard_citation
  |{{#if:{{{5|}}}
|bracket_left= (
      |{{{1|}}} et al. {{{5|}}}
|bracket_right = )
      |{{#if:{{{4|}}}
}}</includeonly><noinclude>
          |{{{1|}}}, {{{2|}}} &amp; {{{3|}}} {{{4|}}}
{{documentation}}
          |{{#if:{{{3|}}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
            |{{{1|}}} &amp; {{{2|}}} {{{3|}}}
            |{{{1|}}} {{{2|}}}
          }}
        }}
    }}
  |{{wikilink
    |1={{#if:{{{Ref|}}}
        |{{FULLPAGENAME}}#{{{Ref}}}
        |{{FULLPAGENAME}}#CITEREF{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}
      }}
    |2={{#if:{{{5|}}}
          |{{{1|}}} et al. {{{5|}}}
          |{{#if:{{{4|}}}
            |{{{1|}}}, {{{2|}}} &amp; {{{3|}}} {{{4|}}}
            |{{#if:{{{3|}}}
                |{{{1|}}} &amp; {{{2|}}} {{{3|}}}
                |{{{1|}}} {{{2|}}}
              }}
          }}
        }}
  }}
}}{{#if:{{{loc|}}}
  |, {{{loc|}}}
  |{{#if:{{{p|}}}
    |, p. {{{p|}}}
    |{{#if:{{{pp|}}}
        |, pp. {{{pp|}}}
      }}
  }}
}})<noinclude>
{{esoteric}}
 
==Bracketless version==
 
A bracketless version of this template is available using {{tl|Harvard citation no brackets}}. Editors editing this template are requested to make parallel changes to that one too.
 
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 10:05, 14 December 2022

Template documentation