Template:Cite journal: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem added new optional param "accessdate". Use ISO format: YYYY-MM-DD |
meta>Splash m moved Template:Journal reference to Template:Cite journal: to history merge |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal" | <cite style="font-style:normal" {{qif | ||
|test={{{ | |test={{{Ref|}}} | ||
|then={{qif | |then={{qif | ||
|test={{booleq | |||
|{{{Ref}}} | |||
|none | |||
}} | |||
| | |then= | ||
|else=id="{{{Ref}}}" | |||
}} | |||
|else={{qif | |||
|test={{booland | |||
|1={{{Last|}}} | |||
|2={{{Year|}}} | |||
}} | |||
|then=id="Reference-{{{Last}}}-{{{Year}}}" | |||
}} | |||
}}>{{qif | |||
|test={{{Authorlink|}}} | |||
|then={{wikilink | |||
|1={{{Authorlink}}} | |||
|2={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}} | |||
}} | |||
|else={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}} | |||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{Coauthors|}}} | ||
|then= | |then=<nowiki>,</nowiki> {{{Coauthors}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{Date|}}} | ||
|then= ({{{ | |then= ({{{Date}}}) | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{Year|}}} | ||
|then={{qif | |then={{qif | ||
|test={{{ | |test={{{Month|}}} | ||
|then= ({{{ | |then= ({{{Month}}} {{{Year}}}) | ||
|else= ({{{ | |else= ({{{Year}}}) | ||
}} | }} | ||
}} | }} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{Author|{{{Last|{{{Year|}}}}}}}}} | ||
|then=.  | |then=.  | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{URL|}}} | ||
|then=[{{{ | |then=[{{{URL}}} | ||
|else= | |else= | ||
}} | }} {{{Title}}}{{qif | ||
|test={{{ | |test={{{URL|}}} | ||
|then=] | |then=] | ||
|else= | |else= | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{Journal|}}} | ||
|then=. ''{{{ | |then=. ''{{{Journal}}}'' | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{Volume|}}} | ||
|then=  | |then= '''{{{Volume}}}''' | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{Issue|}}} | ||
|then= | |then= ({{{Issue}}}) | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{Pages|}}} | ||
|then= | |then=<nowiki>:</nowiki> {{{Pages}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{ID|}}} | ||
|then=. | |then=. {{{ID}}} | ||
}}.</cite><noinclude> | }}.</cite><noinclude> | ||
{{esoteric}} | {{esoteric}} | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |