Template:Citation: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
(cat)
(if -> qif - qif is the server friendlier variant of if)
Line 1:
'''FOR TESTING ONLY'''
<cite style="font-style:normal" {{ifqif
|1test={{{Ref|}}}
|2then={{ifqif
|1test={{booleq
|{{{Ref}}}
|none
}}
|2then=
|3else=id="{{{Ref}}}"
}}
|3else={{ifqif
|1test={{{Surname|{{{Last|{{{Surname1|{{{Last1}}}}}}}}}}}}
|2then=id="CITEREF{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{{Surname2|{{{Last2|}}}}}}{{{Surname3|{{{Last3|}}}}}}{{{Surname4|{{{Last4|}}}}}}{{{Year}}}"
}}
}}>{{ifqif
|test={{{Surname|{{{Last|{{{Surname1|{{{Last1|{{{Author|{{{Author1}}}}}}}}}}}}}}}}}}
|then={{ifqif
|test={{{Authorlink|{{{Authorlink1|}}}}}}
|then={{wikilink
|1={{{Authorlink1|{{{Authorlink}}}}}}
|2={{{Author1|{{{Author
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{ifqif
|test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1|}}}}}}}}}}}}}}}}}}
|then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}}
}}
}}}}}}
}}
|else={{{Author1|{{{Author
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{ifqif
|test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1}}}}}}}}}}}}}}}}}}
|then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}}
}}
}}}}}}
}}{{ifqif
|test={{{Surname2|{{{Last2|{{{Author2|}}}}}}}}}
|then={{ifqif
|test={{{Author3|{{{Surname3|{{{Last3|}}}}}}}}}
|then=,&#32;
|else=&#32;&amp;&#32;
}}{{ifqif
|test={{{Authorlink2|}}}
|then={{wikilink
|1={{{Authorlink2}}}
|2={{{Author2|{{{Surname2|{{{Last2|}}}}}}{{ifqif|test={{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|then=, {{{Initials2|{{{Given2|{{{First2}}}}}}}}}}}}}}
}}
|else={{{Author2|{{{Surname2|{{{Last2|}}}}}}{{ifqif|test={{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|then=, {{{Initials2|{{{Given2|{{{First2}}}}}}}}}}}}}}
}}{{ifqif
|test={{{Surname3|{{{Last3|{{{Author3|}}}}}}}}}
|then=&#32;&amp; {{ifqif
|test={{{Authorlink3|}}}
|then={{wikilink
|1={{{Authorlink3}}}
|2={{{Author3|{{{Surname3|{{{Last3|}}}}}}{{ifqif|test={{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|then=, {{{Initials3|{{{Given3|{{{First3}}}}}}}}}}}}}}
}}
|else={{{Author3|{{{Surname3|{{{Last3|}}}}}}{{ifqif|test={{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|then=, {{{Initials3|{{{Given3|{{{First3}}}}}}}}}}}}}}
}}{{ifqif
|test={{{Surname4|{{{Last4|{{{Author4|}}}}}}}}}
|then=, et al.
}}
}}
}}
|…
}} ({{{Year}}}){{ifqif
|1test={{{Journal|{{{Periodical|}}}}}}
|2then={{ifqif
|1test={{{Title|}}}
|2then=, {{Link|1={{{URL|}}}|2="{{{Title}}}"}}
}}, ''{{{Journal|{{{Periodical}}}}}}''{{ifqif
|test={{{Volume|}}}
|then=, vol. {{{Volume}}}
}}{{ifqif
|test={{{Issue|{{{Number|}}}}}}
|then=, no. {{{Number|{{{Issue}}}}}}
}}{{ifqif
|test={{{Pages|}}}
|then=, pp. {{{Pages}}}
|else={{ifqif
|test={{{Page|}}}
|then=, p. {{{Page}}}
}}
}}
|3else={{ifqif
|1test={{{Chapter|{{{Contribution|}}}}}}
|2then=, {{Link|1={{{URL|}}}|2="{{{Chapter|{{{Contribution}}}}}}"}} in {{ifqif
|test={{{Editor|}}}
|then={{{Editor}}}, ed.,&#32;
}}''{{{Title}}}''{{ifqif
|test={{{Edition|}}}
|then=&#32;({{{Edition}}} ed.)
}}{{ifqif
|test={{{Publisher|}}}
|then=, {{{Publisher}}}
}}{{ifqif
|test={{{Place|}}}
|then=, {{{Place}}}
}}{{ifqif
|test={{{ISBN|{{{ID|}}}}}}
|then=, {{{ID|ISBN {{{ISBN}}}}}}
}}{{ifqif
|test={{{Pages|}}}
|then=, pp. {{{Pages}}}
|else={{ifqif
|test={{{Page|}}}
|then=, p. {{{Page}}}
}}
}}
|3else={{ifqif
|1test={{{Title|}}}
|2then=, {{Link|1={{{URL|}}}|2=''{{{Title}}}''}}
}}{{ifqif
|test={{{Edition|}}}
|then=&#32;({{{Edition}}} ed.)
}}{{ifqif
|test={{{Publisher|}}}
|then=, {{{Publisher}}}
}}{{ifqif
|test={{{Place|}}}
|then=, {{{Place}}}
}}{{ifqif
|test={{{ISBN|{{{ID|}}}}}}
|then=, {{{ID|ISBN {{{ISBN}}}}}}
}}
}}
}}{{ifqif
|test={{{Access-date|}}}
|then=&#32;<nowiki>[</nowiki>{{{Access-date}}}<nowiki>]</nowiki>
}}</cite><noinclude>{{esoteric}}[[Category:Citation templates|{{PAGENAME}}]]
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
'''This template is subject to periodic changes and breaking, and for now should be used only by testers and developers who can correct problems when they appear.'''
</noinclude>

Revision as of 19:05, 14 December 2005

FOR TESTING ONLY Template:Qif ({{{Year}}})Template:QifTemplate:Qif Template:Esoteric This template is subject to periodic changes and breaking, and for now should be used only by testers and developers who can correct problems when they appear.