Template:Harvard citation: Difference between revisions

From Vigyanwiki
Template>Black Falcon
(accept lowercase "ref" parameter as well as "Ref", cf. http://en.wikipedia.org/w/index.php?title=Template%3AHarvard_citation_no_brackets&action=historysubmit&diff=390292059&oldid=286103413)
m (57 revisions imported from alpha:Template:Harvard_citation)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
({{#ifeq:{{{ref|{{{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|}}}
          |{{#if:{{{3|}}}
            |{{{1|}}} &amp; {{{2|}}} {{{3|}}}
            |{{{1|}}} {{{2|}}}
          }}
        }}
    }}
  |[[#{{#if:{{{ref|{{{Ref|}}}}}}
      |{{{ref|{{{Ref}}}}}}
      |CITEREF{{#if:||{{{1|}}}}}{{#if:||{{{2|}}}}}{{#if:||{{{3|}}}}}{{#if:||{{{4|}}}}}{{#if:||{{{5|}}}}}
      }}|{{#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.&nbsp;{{{p|}}}
    |{{#if:{{{pp|}}}
        |, pp.&nbsp;{{{pp|}}}
      }}
  }}
}})<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
</noinclude>

Latest revision as of 10:05, 14 December 2022

Template documentation