Template:Harvard citation: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem (if -> qif - qif is the server friendlier variant of if) |
imported>Bsherr m (as found, replacing Template:Tld with Template:Tlc or adding/updating category placement comments, plus general and typo fixes) |
||
(43 intermediate revisions by 22 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Footnotes|harvard_citation |
|||
({{qif |
|||
|bracket_left= ( |
|||
|test={{booleq |
|||
|bracket_right = ) |
|||
|{{{Ref|}}} |
|||
⚫ | |||
|none |
|||
{{documentation}} |
|||
}} |
|||
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> |
|||
|then={{qif |
|||
|test={{{5|}}} |
|||
|then={{{1}}} et al. {{{5}}} |
|||
|else={{qif |
|||
|test={{{4|}}} |
|||
|then={{{1}}}, {{{2}}} & {{{3}}} {{{4}}} |
|||
|else={{qif |
|||
|test={{{3|}}} |
|||
|then={{{1}}} & {{{2}}} {{{3}}} |
|||
|else={{{1}}} {{{2}}} |
|||
}} |
|||
}} |
|||
}} |
|||
|else={{wikilink |
|||
|1={{qif |
|||
|test={{{Ref|}}} |
|||
|then=<nowiki>#</nowiki>{{{Ref}}} |
|||
|else=<nowiki>#</nowiki>CITEREF{{{1}}}{{{2}}}{{{3|}}}{{{4|}}}{{{5|}}} |
|||
}} |
|||
|2={{qif |
|||
|test={{{5|}}} |
|||
|then={{{1}}} et al. {{{5}}} |
|||
|else={{qif |
|||
|test={{{4|}}} |
|||
|then={{{1}}}, {{{2}}} & {{{3}}} {{{4}}} |
|||
|else={{qif |
|||
|test={{{3|}}} |
|||
|then={{{1}}} & {{{2}}} {{{3}}} |
|||
|else={{{1}}} {{{2}}} |
|||
}} |
|||
}} |
|||
}} |
|||
}} |
|||
}}{{qif |
|||
|test={{{loc|}}} |
|||
|then=, {{{loc}}} |
|||
|else={{qif |
|||
|test={{{p|}}} |
|||
|then=, p. {{{p}}} |
|||
|else={{qif |
|||
|test={{{pp|}}} |
|||
|then=, pp. {{{pp}}} |
|||
}} |
|||
}} |
|||
⚫ | |||
{{esoteric}} |
|||
[[Category:Citation templates|{{PAGENAME}}]] |
|||
</noinclude> |
</noinclude> |