Template:Cite journal: Difference between revisions

From All Skies Encyclopaedia
imported>Ligulem
(cat)
imported>MarkSweep
(add Coauthors parameter to make this more similar to {{tl|book reference}})
Line 1: Line 1:
<cite style="font-style:normal" {{if
<cite style="font-style:normal" {{qif
|1={{{Ref|}}}
|test={{{Ref|}}}
|2={{if
|then={{qif
|1={{booleq
|test={{booleq
|{{{Ref}}}
|{{{Ref}}}
|none
|none
}}
}}
|2=
|then=
|3=id="{{{Ref}}}"
|else=id="{{{Ref}}}"
}}
}}
|3={{if
|else={{qif
|1={{booland
|test={{booland
|1={{{Last|}}}
|1={{{Last|}}}
|2={{{Year|}}}
|2={{{Year|}}}
}}
}}
|2=id="Reference-{{{Last}}}-{{{Year}}}"
|then=id="Reference-{{{Last}}}-{{{Year}}}"
}}
}}
}}>{{if
}}>{{qif
|{{{Authorlink|}}}
|test={{{Authorlink|}}}
|{{wikilink
|then={{wikilink
|{{{Authorlink}}}
|1={{{Authorlink}}}
|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
|2={{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
}}
}}
|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
|else={{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}}
}}{{qif
|test={{{Coauthors|}}}
|then=<nowiki>,</nowiki> {{{Coauthors}}}
}}{{if
}}{{if
|{{{Date|}}}
|{{{Date|}}}

Revision as of 18:59, 11 December 2005