Template:Harvard citation: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem cat, esoteric |
meta>Ligulem if -> qif - qif is the server friendlier variant of if |
||
Line 1: | Line 1: | ||
({{ | ({{qif | ||
| | |test={{booleq | ||
|{{{Ref|}}} | |{{{Ref|}}} | ||
|none | |none | ||
}} | }} | ||
| | |then={{qif | ||
|{{{5|}}} | |test={{{5|}}} | ||
|{{{1}}} et al. {{{5}}} | |then={{{1}}} et al. {{{5}}} | ||
|{{ | |else={{qif | ||
|{{{4|}}} | |test={{{4|}}} | ||
|{{{1}}}, {{{2}}} & {{{3}}} {{{4}}} | |then={{{1}}}, {{{2}}} & {{{3}}} {{{4}}} | ||
|{{ | |else={{qif | ||
|{{{3|}}} | |test={{{3|}}} | ||
|{{{1}}} & {{{2}}} {{{3}}} | |then={{{1}}} & {{{2}}} {{{3}}} | ||
|{{{1}}} {{{2}}} | |else={{{1}}} {{{2}}} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
| | |else={{wikilink | ||
|1={{ | |1={{qif | ||
| | |test={{{Ref|}}} | ||
| | |then=<nowiki>#</nowiki>{{{Ref}}} | ||
| | |else=<nowiki>#</nowiki>CITEREF{{{1}}}{{{2}}}{{{3|}}}{{{4|}}}{{{5|}}} | ||
}} | }} | ||
|2={{ | |2={{qif | ||
|{{{5|}}} | |test={{{5|}}} | ||
|{{{1}}} et al. {{{5}}} | |then={{{1}}} et al. {{{5}}} | ||
|{{ | |else={{qif | ||
|{{{4|}}} | |test={{{4|}}} | ||
|{{{1}}}, {{{2}}} & {{{3}}} {{{4}}} | |then={{{1}}}, {{{2}}} & {{{3}}} {{{4}}} | ||
|{{ | |else={{qif | ||
|{{{3|}}} | |test={{{3|}}} | ||
|{{{1}}} & {{{2}}} {{{3}}} | |then={{{1}}} & {{{2}}} {{{3}}} | ||
|{{{1}}} {{{2}}} | |else={{{1}}} {{{2}}} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
}}{{ | }}{{qif | ||
| | |test={{{loc|}}} | ||
| | |then=, {{{loc}}} | ||
| | |else={{qif | ||
| | |test={{{p|}}} | ||
| | |then=, p. {{{p}}} | ||
| | |else={{qif | ||
| | |test={{{pp|}}} | ||
| | |then=, pp. {{{pp}}} | ||
}} | }} | ||
}} | }} |