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={{{Ref|}}}
   |test={{{ref|}}}
   |then={{qif
   |then={{qif
         |test={{booleq
         |test={{booleq
               |{{{Ref}}}
               |{{{ref}}}
               |none
               |none
               }}
               }}
         |then=
         |then=
         |else=id="{{{Ref}}}"
         |else=id="{{{ref}}}"
         }}
         }}
   |else={{qif
   |else={{qif
         |test={{booland
         |test={{booland
               |1={{{Last|}}}
               |1={{{last|}}}
               |2={{{Year|}}}
               |2={{{year|}}}
               }}
               }}
         |then=id="Reference-{{{Last}}}-{{{Year}}}"
         |then=id="Reference-{{{last}}}-{{{year}}}"
         }}
         }}
}}>{{qif
}}>{{qif
   |test={{{Authorlink|}}}
   |test={{{authorlink|}}}
   |then={{wikilink
   |then={{wikilink
         |1={{{Authorlink}}}
         |1={{{authorlink}}}
         |2={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}}
         |2={{{author|{{{last|}}}{{qif|test={{{first|}}}|then=, {{{first}}}}}}}}
         }}
         }}
   |else={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}}
   |else={{{author|{{{last|}}}{{qif|test={{{first|}}}|then=, {{{first}}}}}}}}
}}{{qif
}}{{qif
   |test={{{Coauthors|}}}
   |test={{{coauthors|}}}
   |then=<nowiki>,</nowiki> {{{Coauthors}}}
   |then=<nowiki>,</nowiki> {{{coauthors}}}
}}{{qif
}}{{qif
   |test={{{Date|}}}
   |test={{{date|}}}
   |then=&#32;({{{Date}}})
   |then=&#32;({{{date}}})
   |else={{qif
   |else={{qif
     |test={{{Year|}}}
     |test={{{year|}}}
     |then={{qif
     |then={{qif
       |test={{{Month|}}}
       |test={{{month|}}}
       |then=&#32;({{{Month}}} {{{Year}}})
       |then=&#32;({{{month}}} {{{year}}})
       |else=&#32;({{{Year}}})
       |else=&#32;({{{year}}})
     }}
     }}
   }}
   }}
}}{{qif
}}{{qif
   |test={{{Author|{{{Last|{{{Year|}}}}}}}}}
   |test={{{author|{{{last|{{{year|}}}}}}}}}
   |then=.&#32;
   |then=.&#32;
}}{{qif
}}{{qif
   |test={{{URL|}}}
   |test={{{url|}}}
   |then=[{{{URL}}}
   |then=[{{{url}}}
   |else=
   |else=
}} {{{Title}}}{{qif
}} {{{title}}}{{qif
   |test={{{URL|}}}
   |test={{{url|}}}
   |then=]
   |then=]
   |else=
   |else=
}}{{qif
}}{{qif
   |test={{{Journal|}}}
   |test={{{journal|}}}
   |then=. ''{{{Journal}}}''
   |then=. ''{{{journal}}}''
}}{{qif
}}{{qif
   |test={{{Volume|}}}
   |test={{{volume|}}}
   |then=&#32;'''{{{Volume}}}'''
   |then=&#32;'''{{{volume}}}'''
}}{{qif
}}{{qif
   |test={{{Issue|}}}
   |test={{{issue|}}}
   |then=&#32;({{{Issue}}})
   |then=&#32;({{{issue}}})
}}{{qif
}}{{qif
   |test={{{Pages|}}}
   |test={{{pages|}}}
   |then=<nowiki>:</nowiki> {{{Pages}}}
   |then=<nowiki>:</nowiki> {{{pages}}}
}}{{qif
}}{{qif
   |test={{{ID|}}}
   |test={{{id|}}}
   |then=. {{{ID}}}
   |then=. {{{id}}}
}}.</cite><noinclude>
}}.</cite><noinclude>
{{esoteric}}
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Citation templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 18:53, 10 February 2006