Template:Harvard citation: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>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
Ookami (talk | contribs)
m 57 revisions imported
 
(8 intermediate revisions by 6 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 13:28, 3 September 2020