Cite journal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
mNo edit summary
(Replacing with non-meta template which replicates existing functionality)
Line 1: Line 1:
<cite style="font-style:normal" {{qif
<cite style="font-style:normal" id="{{{Ref|}}}{{{La{{{Ref|}}}st{{{Ye{{{Ref|}}}ar|}}}|Reference-{{{Last}}}-{{{Year}}}}}}"><span class="hiddenStructure{{{Authorlink|}}}">[[{{{Authorlink}}}|</span><span class="hiddenStructure{{{Last|}}}{{{Author|}}}">{{{Last|{{{Author}}}}}}</span><span class="hiddenStructure{{{First|}}}">,&nbsp;{{{First|}}}</span><span class="hiddenStructure{{{Authorlink|}}}">]]</span><span class="hiddenStructure{{{Coauthors|}}}">,&nbsp;{{{Coauthors}}}</span><span class="hiddenStructure{{{Date|}}}">&nbsp;({{{Date}}})</span><span class="hiddenStructure{{{Year|}}}">&nbsp;(<span class="hiddenStructure{{{Month|}}}">{{{Month}}}&nbsp;</span>{{{Year}}})</span><span class="hiddenStructure{{{Author|}}}{{{Last|}}}{{{Date|}}}{{{Year|}}}">.</span><span class="hiddenStructure{{{URL|}}}">&nbsp;[{{{URL}}} </span>{{{Title}}}<span class="hiddenStructure{{{URL|}}}">]</span>.<span class="hiddenStructure{{{Journal|}}}">&nbsp;''{{{Journal}}}''</span><span class="hiddenStructure{{{Volume|}}}">&nbsp;{{{Volume}}}</span><span class="hiddenStructure{{{Issue|}}}">&nbsp;({{{Issue}}})</span><span class="hiddenStructure{{{Pages|}}}">:&nbsp;{{{Pages}}}.</span><span class="hiddenStructure{{{ID|}}}">&nbsp;{{{ID}}}.</span></cite><noinclude>[[Category:Citation templates|{{PAGENAME}}]]</noinclude>
  |test={{{Ref|}}}
  |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
  |test={{{Coauthors|}}}
  |then=<nowiki>,</nowiki> {{{Coauthors}}}
}}{{qif
  |test={{{Date|}}}
  |then=&#32;({{{Date}}})
  |else={{qif
    |test={{{Year|}}}
    |then={{qif
      |test={{{Month|}}}
      |then=&#32;({{{Month}}} {{{Year}}})
      |else=&#32;({{{Year}}})
    }}
  }}
}}{{qif
  |test={{{Author|{{{Last|{{{Year|}}}}}}}}}
  |then=.&#32;
}}{{qif
  |test={{{URL|}}}
  |then=[{{{URL}}}
  |else=
}} {{{Title}}}{{qif
  |test={{{URL|}}}
  |then=]
  |else=
}}{{qif
  |test={{{Journal|}}}
  |then=. ''{{{Journal}}}''
}}{{qif
  |test={{{Volume|}}}
  |then=&#32;{{{Volume}}}
}}{{qif
  |test={{{Issue|}}}
  |then=&#32;({{{Issue}}})
}}{{qif
  |test={{{Pages|}}}
  |then=<nowiki>:</nowiki> {{{Pages}}}
}}{{qif
  |test={{{ID|}}}
  |then=. {{{ID}}}
}}.</cite><noinclude>
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
</noinclude>

Revision as of 22:56, 13 January 2006

[[{{{Authorlink}}}|{{{Author}}}]], {{{Coauthors}}} ({{{Date}}}) ({{{Month}}} {{{Year}}}). [{{{URL}}} {{{Title}}}]. {{{Journal}}} {{{Volume}}} ({{{Issue}}}): {{{Pages}}}. {{{ID}}}.