Template:Cite journal: Difference between revisions

From All Skies Encyclopaedia
imported>Ligulem
(added new optional param "accessdate". Use ISO format: YYYY-MM-DD)
imported>Splash
m (moved Template:Journal reference to Template:Cite journal: to history merge)
Line 1: Line 1:
<cite style="font-style:normal">{{qif
<cite style="font-style:normal" {{qif
|test={{{author|{{{last|}}}}}}
|test={{{Ref|}}}
|then={{qif
|then={{qif
|test={{{authorlink|}}}
|test={{booleq
|then=[[{{{authorlink}}}|{{qif
|{{{Ref}}}
|test={{{last|}}}
|none
|then={{{last}}}{{qif
}}
|test={{{first|}}}
|then=
|then=, {{{first}}}
|else=id="{{{Ref}}}"
}}
}}
|else={{{author}}}
|else={{qif
|test={{booland
}}]]
|else={{qif
|1={{{Last|}}}
|test={{{last|}}}
|2={{{Year|}}}
|then={{{last}}}{{qif
}}
|test={{{first|}}}
|then=id="Reference-{{{Last}}}-{{{Year}}}"
|then=, {{{first}}}
}}
}}>{{qif
}}
|else={{{author}}}
|test={{{Authorlink|}}}
|then={{wikilink
}}
|1={{{Authorlink}}}
}}
|2={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}}
}}
|else={{{Author|{{{Last|}}}{{qif|test={{{First|}}}|then=, {{{First}}}}}}}}
}}{{qif
}}{{qif
|test={{{author|{{{last|}}}}}}
|test={{{Coauthors|}}}
|then={{qif
|then=<nowiki>,</nowiki> {{{Coauthors}}}
|test={{{coauthors|}}}
|then=, {{{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
|test={{{volume|}}}
|then=&#32;'''{{{volume}}}'''
}}{{qif
}}{{qif
|test={{{issue|}}}
|test={{{Volume|}}}
|then=&#32;({{{issue}}})
|then=&#32;'''{{{Volume}}}'''
}}{{qif
}}{{qif
|test={{{pages|}}}
|test={{{Issue|}}}
|then=<nowiki>:</nowiki> {{{pages}}}
|then=&#32;({{{Issue}}})
}}{{qif
}}{{qif
|test={{{id|}}}
|test={{{Pages|}}}
|then=. {{{id}}}
|then=<nowiki>:</nowiki> {{{Pages}}}
}}{{qif
}}{{qif
|test={{{accessdate|}}}
|test={{{ID|}}}
|then=. URL accessed on [[{{{accessdate}}}]]
|then=. {{{ID}}}
}}.</cite><noinclude>
}}.</cite><noinclude>
{{esoteric}}
{{esoteric}}

Revision as of 00:06, 14 April 2006