Cite journal: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
bolding volume |
lower case parameter replacement for template:Journal reference |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal" {{qif | <cite style="font-style:normal" {{qif | ||
|test={{{ | |test={{{ref|}}} | ||
|then={{qif | |then={{qif | ||
|test={{booleq | |test={{booleq | ||
|{{{ | |{{{ref}}} | ||
|none | |none | ||
}} | }} | ||
|then= | |then= | ||
|else=id="{{{ | |else=id="{{{ref}}}" | ||
}} | }} | ||
|else={{qif | |else={{qif | ||
|test={{booland | |test={{booland | ||
|1={{{ | |1={{{last|}}} | ||
|2={{{ | |2={{{year|}}} | ||
}} | }} | ||
|then=id="Reference-{{{ | |then=id="Reference-{{{last}}}-{{{year}}}" | ||
}} | }} | ||
}}>{{qif | }}>{{qif | ||
|test={{{ | |test={{{authorlink|}}} | ||
|then={{wikilink | |then={{wikilink | ||
|1={{{ | |1={{{authorlink}}} | ||
|2={{{ | |2={{{author|{{{last|}}}{{qif|test={{{first|}}}|then=, {{{first}}}}}}}} | ||
}} | }} | ||
|else={{{ | |else={{{author|{{{last|}}}{{qif|test={{{first|}}}|then=, {{{first}}}}}}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{coauthors|}}} | ||
|then=<nowiki>,</nowiki> {{{ | |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=<nowiki>:</nowiki> {{{ | |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> |