Template:Harvard citation: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem (if -> qif - qif is the server friendlier variant of if) |
imported>Ligulem (qif → #if: (see m:ParserFunctions) (deferring call to Harvard citation 2 as a workaround for a bug in ParserFunctions)) |
||
Line 1: | Line 1: | ||
{{Harvard citation 2 |
|||
({{qif |
|||
|x1={{{1|}}} |
|||
|x2={{{2|}}} |
|||
⚫ | |||
|none |
|||
⚫ | |||
}} |
|||
|x5={{{5|}}} |
|||
|p={{{p|}}} |
|||
|pp={{{pp|}}} |
|||
⚫ | |||
|else={{qif |
|||
|loc={{{loc|}}} |
|||
⚫ | |||
|then={{{1}}}, {{{2}}} & {{{3}}} {{{4}}} |
|||
|else={{qif |
|||
|test={{{3|}}} |
|||
|then={{{1}}} & {{{2}}} {{{3}}} |
|||
|else={{{1}}} {{{2}}} |
|||
}} |
|||
}} |
|||
}} |
|||
|else={{wikilink |
|||
|1={{qif |
|||
⚫ | |||
|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 |
|||
⚫ | |||
|then=, {{{loc}}} |
|||
|else={{qif |
|||
⚫ | |||
|then=, p. {{{p}}} |
|||
|else={{qif |
|||
|test={{{pp|}}} |
|||
|then=, pp. {{{pp}}} |
|||
}} |
|||
}} |
|||
⚫ | |||
{{esoteric}} |
{{esoteric}} |
||
[[Category:Citation templates|{{PAGENAME}}]] |
[[Category:Citation templates|{{PAGENAME}}]] |