Template:Harvard citation: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem qif → #if: (see m:ParserFunctions) (deferring call to Harvard citation 2 as a workaround for a bug in ParserFunctions) |
meta>Ligulem simpler workaround for bugzilla:5678: use empty defaults everywhere. {{{1}}} → {{{1|}}} and so on |
||
Line 1: | Line 1: | ||
{{ | ({{#ifeq:{{{Ref|}}}|none | ||
| | |{{#if:{{{5|}}} | ||
| | |{{{1|}}} et al. {{{5|}}} | ||
| | |{{#if:{{{4|}}} | ||
| | |{{{1|}}}, {{{2|}}} & {{{3|}}} {{{4|}}} | ||
| | |{{#if:{{{3|}}} | ||
| | |{{{1|}}} & {{{2|}}} {{{3|}}} | ||
| | |{{{1|}}} {{{2|}}} | ||
| | }} | ||
|loc | }} | ||
}}<noinclude> | }} | ||
|{{wikilink | |||
|1={{#if:{{{Ref|}}} | |||
|<nowiki>#</nowiki>{{{Ref}}} | |||
|<nowiki>#</nowiki>CITEREF{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} | |||
}} | |||
|2={{#if:{{{5|}}} | |||
|{{{1|}}} et al. {{{5|}}} | |||
|{{#if:{{{4|}}} | |||
|{{{1|}}}, {{{2|}}} & {{{3|}}} {{{4|}}} | |||
|{{#if:{{{3|}}} | |||
|{{{1|}}} & {{{2|}}} {{{3|}}} | |||
|{{{1|}}} {{{2|}}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}}{{#if:{{{loc|}}} | |||
|, {{{loc|}}} | |||
|{{#if:{{{p|}}} | |||
|, p. {{{p|}}} | |||
|{{#if:{{{pp|}}} | |||
|, pp. {{{pp|}}} | |||
}} | |||
}} | |||
}})<noinclude> | |||
{{esoteric}} | {{esoteric}} | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> |