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}})
m (252 revisions imported)
 
(200 intermediate revisions by 74 users not shown)
Line 1: Line 1:
<cite style="font-style:normal" {{qif
<includeonly>{{#invoke:Citation/CS1|citation
  |test={{{Ref|}}}
|CitationClass=journal
  |then={{qif
}}</includeonly><noinclude>
        |test={{booleq
{{documentation}}
              |{{{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|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
        }}
  |else={{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
}}{{qif
  |test={{{Coauthors|}}}
  |then=<nowiki>,</nowiki> {{{Coauthors}}}
}}{{if
  |{{{Date|}}}
  |&#32;({{{Date}}})
  |{{if
    |{{{Year|}}}
    |{{if
      |{{{Month|}}}
      |&#32;({{{Month}}} {{{Year}}})
      |&#32;({{{Year}}})
    }}
  }}
}}{{if
  |{{{Author|{{{Last|{{{Year|}}}}}}}}}
  |.&#32;
}}{{if
  |1={{{URL|}}}
  |2=[{{{URL}}}
  |3=
}} {{{Title}}}{{if
  |1={{{URL|}}}
  |2=]
  |3=
}}{{if
  |{{{Journal|}}}
  |, ''{{{Journal}}}''
}}{{if
  |{{{Volume|}}}
  |, {{{Volume}}}
}}{{if
  |{{{Issue|}}}
  |({{{Issue}}})
}}{{if
  |{{{Pages|}}}
  |<nowiki>:</nowiki> {{{Pages}}}
}}{{if
  |1={{{ID|}}}
  |2=. {{{ID}}}
}}.</cite><noinclude>
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 03:47, 5 September 2020