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
meta>Gadget850
update to core
Line 1: Line 1:
({{#ifeq:{{{ref|{{{Ref|}}}}}}|none
<includeonly>{{Harvard citation/core
  |{{#if:{{{5|}}}
|BracketLeft=(
      |{{{1|}}} et al. {{{5|}}}
|BracketRight=)
      |{{#if:{{{4|}}}
|P1={{{1|}}}
          |{{{1|}}}, {{{2|}}} &amp; {{{3|}}} {{{4|}}}
|P2={{{2|}}}
          |{{#if:{{{3|}}}
|P3={{{3|}}}
            |{{{1|}}} &amp; {{{2|}}} {{{3|}}}
|P4={{{4|}}}
            |{{{1|}}} {{{2|}}}
|P5={{{5|}}}
          }}
|REF={{{ref|{{{Ref|}}}}}}
        }}
|Location={{{loc|}}}
    }}
|Page={{{p|}}}
  |[[#{{#if:{{{ref|{{{Ref|}}}}}}
|Pages={{{pp|}}}
      |{{{ref|{{{Ref}}}}}}
|PageSep=, p.&nbsp;
      |CITEREF{{#if:||{{{1|}}}}}{{#if:||{{{2|}}}}}{{#if:||{{{3|}}}}}{{#if:||{{{4|}}}}}{{#if:||{{{5|}}}}}
|PagesSep=, pp.&nbsp;
      }}|{{#if:{{{5|}}}
}}</includeonly><noinclude>
          |{{{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}}
</noinclude>
</noinclude>

Revision as of 01:27, 21 April 2012