Template:Cite journal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>COGDEN
Added Authorlink functionality, as per Book reference template
meta>COGDEN
add functionality for Ref=none
Line 1: Line 1:
<cite style="font-style:normal" {{if|1={{{Ref|}}}|2=id="{{{Ref}}}"|3={{if|1={{{Last|}}}|2={{if|1={{{Year|}}}|2=id="Reference-{{{Last}}}-{{{Year}}}"}}}}}}
<cite style="font-style:normal" {{if
>{{if|{{{Authorlink|}}}|{{wikilink|{{{Authorlink}}}|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}}}|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}}}{{if|{{{Date|}}}|&nbsp;({{{Date}}})|{{if|{{{Year|}}}|{{if|{{{Month|}}}|&nbsp;({{{Month}}} {{{Year}}})|&nbsp;({{{Year}}})}}}}}}{{if|{{{Author|{{{Last|{{{Year|}}}}}}}}}|.&nbsp;}}{{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}}}}}</cite>
  |1={{{Ref|}}}
  |2={{ifnone
      |1={{{Ref|}}}
      |2=
      |3=id="{{{Ref}}}"
  |3={{if
      |1={{{Last|}}}
      |2={{if
            |1={{{Year|}}}
            |2=id="Reference-{{{Last}}}-{{{Year}}}"
            }}
      }}
  }}>{{if|{{{Authorlink|}}}|{{wikilink|{{{Authorlink}}}|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}}}|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}}}{{if|{{{Date|}}}|&nbsp;({{{Date}}})|{{if|{{{Year|}}}|{{if|{{{Month|}}}|&nbsp;({{{Month}}} {{{Year}}})|&nbsp;({{{Year}}})}}}}}}{{if|{{{Author|{{{Last|{{{Year|}}}}}}}}}|.&nbsp;}}{{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}}}}}</cite>

Revision as of 08:12, 6 November 2005

{{{3}}}{{{3}}}{{{3}}} {{{Title}}}{{{3}}}{{{3}}}{{{3}}}{{{3}}}