Cite journal: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
add Coauthors parameter to make this more similar to {{tl|book reference}} |
if -> qif - qif is the server friendlier variant of if |
||
Line 20: | Line 20: | ||
|then={{wikilink | |then={{wikilink | ||
|1={{{Authorlink}}} | |1={{{Authorlink}}} | ||
|2={{{Author|{{{Last|}}}{{ | |2={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}} | ||
}} | }} | ||
|else={{{Author|{{{Last|}}}{{ | |else={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}} | ||
}}{{qif | }}{{qif | ||
|test={{{Coauthors|}}} | |test={{{Coauthors|}}} | ||
|then=<nowiki>,</nowiki> {{{Coauthors}}} | |then=<nowiki>,</nowiki> {{{Coauthors}}} | ||
}}{{ | }}{{qif | ||
|{{{Date|}}} | |test={{{Date|}}} | ||
| ({{{Date}}}) | |then= ({{{Date}}}) | ||
|{{ | |else={{qif | ||
|{{{Year|}}} | |test={{{Year|}}} | ||
|{{ | |then={{qif | ||
|{{{Month|}}} | |test={{{Month|}}} | ||
| ({{{Month}}} {{{Year}}}) | |then= ({{{Month}}} {{{Year}}}) | ||
| ({{{Year}}}) | |else= ({{{Year}}}) | ||
}} | }} | ||
}} | }} | ||
}}{{ | }}{{qif | ||
|{{{Author|{{{Last|{{{Year|}}}}}}}}} | |test={{{Author|{{{Last|{{{Year|}}}}}}}}} | ||
|.  | |then=.  | ||
}}{{ | }}{{qif | ||
| | |test={{{URL|}}} | ||
| | |then=[{{{URL}}} | ||
| | |else= | ||
}} {{{Title}}}{{ | }} {{{Title}}}{{qif | ||
| | |test={{{URL|}}} | ||
| | |then=] | ||
| | |else= | ||
}}{{ | }}{{qif | ||
|{{{Journal|}}} | |test={{{Journal|}}} | ||
|, ''{{{Journal}}}'' | |then=, ''{{{Journal}}}'' | ||
}}{{ | }}{{qif | ||
|{{{Volume|}}} | |test={{{Volume|}}} | ||
|, {{{Volume}}} | |then=, {{{Volume}}} | ||
}}{{ | }}{{qif | ||
|{{{Issue|}}} | |test={{{Issue|}}} | ||
|({{{Issue}}}) | |then=({{{Issue}}}) | ||
}}{{ | }}{{qif | ||
|{{{Pages|}}} | |test={{{Pages|}}} | ||
|<nowiki>:</nowiki> {{{Pages}}} | |then=<nowiki>:</nowiki> {{{Pages}}} | ||
}}{{ | }}{{qif | ||
| | |test={{{ID|}}} | ||
| | |then=. {{{ID}}} | ||
}}.</cite><noinclude> | }}.</cite><noinclude> | ||
{{esoteric}} | {{esoteric}} | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |