Template:Citation: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
(rm ref stuff)
(using lowercase param names (exception {{{ISBN}}}). Access-date → accessdate)
Line 1: Line 1:
'''FOR TESTING ONLY'''
'''FOR TESTING ONLY'''
<cite style="font-style:normal">{{qif
<cite style="font-style:normal">{{qif
|test={{{Surname|{{{Last|{{{Surname1|{{{Last1|{{{Author|{{{Author1}}}}}}}}}}}}}}}}}}
|test={{{surname|{{{last|{{{surname1|{{{last1|{{{author|{{{author1}}}}}}}}}}}}}}}}}}
|then={{qif
|then={{qif
|test={{{Authorlink|{{{Authorlink1|}}}}}}
|test={{{authorlink|{{{authorlink1|}}}}}}
|then={{wikilink
|then={{wikilink
|1={{{Authorlink1|{{{Authorlink}}}}}}
|1={{{authorlink1|{{{authorlink}}}}}}
|2={{{Author1|{{{Author
|2={{{author1|{{{author
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{qif
|{{{surname1|{{{last1|{{{surname|{{{last}}}}}}}}}}}}{{qif
|test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1|}}}}}}}}}}}}}}}}}}
|test={{{given|{{{first|{{{given1|{{{first1|{{{initials|{{{initials1|}}}}}}}}}}}}}}}}}}
|then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}}
|then=, {{{initials1|{{{given1|{{{first1|{{{initials|{{{given|{{{first}}}}}}}}}}}}}}}}}}
}}
}}
}}}}}}
}}}}}}
}}
}}
|else={{{Author1|{{{Author
|else={{{author1|{{{author
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{qif
|{{{surname1|{{{last1|{{{surname|{{{last}}}}}}}}}}}}{{qif
|test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1}}}}}}}}}}}}}}}}}}
|test={{{given|{{{first|{{{given1|{{{first1|{{{initials|{{{initials1}}}}}}}}}}}}}}}}}}
|then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}}
|then=, {{{initials1|{{{given1|{{{first1|{{{initials|{{{given|{{{first}}}}}}}}}}}}}}}}}}
}}
}}
}}}}}}
}}}}}}
}}{{qif
}}{{qif
|test={{{Surname2|{{{Last2|{{{Author2|}}}}}}}}}
|test={{{surname2|{{{last2|{{{author2|}}}}}}}}}
|then={{qif
|then={{qif
|test={{{Author3|{{{Surname3|{{{Last3|}}}}}}}}}
|test={{{author3|{{{surname3|{{{last3|}}}}}}}}}
|then=,&#32;
|then=,&#32;
|else=&#32;&amp;&#32;
|else=&#32;&amp;&#32;
}}{{qif
}}{{qif
|test={{{Authorlink2|}}}
|test={{{authorlink2|}}}
|then={{wikilink
|then={{wikilink
|1={{{Authorlink2}}}
|1={{{authorlink2}}}
|2={{{Author2|{{{Surname2|{{{Last2|}}}}}}{{qif|test={{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|then=, {{{Initials2|{{{Given2|{{{First2}}}}}}}}}}}}}}
|2={{{author2|{{{surname2|{{{last2|}}}}}}{{qif|test={{{given2|{{{first2|{{{initials2|}}}}}}}}}|then=, {{{initials2|{{{given2|{{{first2}}}}}}}}}}}}}}
}}
}}
|else={{{Author2|{{{Surname2|{{{Last2|}}}}}}{{qif|test={{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|then=, {{{Initials2|{{{Given2|{{{First2}}}}}}}}}}}}}}
|else={{{author2|{{{surname2|{{{last2|}}}}}}{{qif|test={{{given2|{{{first2|{{{initials2|}}}}}}}}}|then=, {{{initials2|{{{given2|{{{first2}}}}}}}}}}}}}}
}}{{qif
}}{{qif
|test={{{Surname3|{{{Last3|{{{Author3|}}}}}}}}}
|test={{{surname3|{{{last3|{{{author3|}}}}}}}}}
|then=&#32;&amp; {{qif
|then=&#32;&amp; {{qif
|test={{{Authorlink3|}}}
|test={{{authorlink3|}}}
|then={{wikilink
|then={{wikilink
|1={{{Authorlink3}}}
|1={{{authorlink3}}}
|2={{{Author3|{{{Surname3|{{{Last3|}}}}}}{{qif|test={{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|then=, {{{Initials3|{{{Given3|{{{First3}}}}}}}}}}}}}}
|2={{{author3|{{{surname3|{{{last3|}}}}}}{{qif|test={{{given3|{{{first3|{{{initials3|}}}}}}}}}|then=, {{{initials3|{{{given3|{{{first3}}}}}}}}}}}}}}
}}
}}
|else={{{Author3|{{{Surname3|{{{Last3|}}}}}}{{qif|test={{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|then=, {{{Initials3|{{{Given3|{{{First3}}}}}}}}}}}}}}
|else={{{author3|{{{surname3|{{{last3|}}}}}}{{qif|test={{{given3|{{{first3|{{{initials3|}}}}}}}}}|then=, {{{initials3|{{{given3|{{{first3}}}}}}}}}}}}}}
}}{{qif
}}{{qif
|test={{{Surname4|{{{Last4|{{{Author4|}}}}}}}}}
|test={{{surname4|{{{last4|{{{author4|}}}}}}}}}
|then=, et al.
|then=, et al.
}}
}}
Line 48: Line 48:
}}
}}
|…
|…
}} ({{{Year}}}){{qif
}} ({{{year}}}){{qif
|test={{{Journal|{{{Periodical|}}}}}}
|test={{{journal|{{{periodical|}}}}}}
|then={{qif
|then={{qif
|test={{{Title|}}}
|test={{{title|}}}
|then=, {{Link|1={{{URL|}}}|2="{{{Title}}}"}}
|then=, {{link|1={{{url|}}}|2="{{{title}}}"}}
}}, ''{{{Journal|{{{Periodical}}}}}}''{{qif
}}, ''{{{journal|{{{periodical}}}}}}''{{qif
|test={{{Volume|}}}
|test={{{volume|}}}
|then=, vol. {{{Volume}}}
|then=, vol. {{{volume}}}
}}{{qif
}}{{qif
|test={{{Issue|{{{Number|}}}}}}
|test={{{issue|{{{number|}}}}}}
|then=, no. {{{Number|{{{Issue}}}}}}
|then=, no. {{{number|{{{issue}}}}}}
}}{{qif
}}{{qif
|test={{{Pages|}}}
|test={{{pages|}}}
|then=, pp. {{{Pages}}}
|then=, pp. {{{pages}}}
|else={{qif
|else={{qif
|test={{{Page|}}}
|test={{{page|}}}
|then=, p. {{{Page}}}
|then=, p. {{{page}}}
}}
}}
}}
}}
|else={{qif
|else={{qif
|test={{{Chapter|{{{Contribution|}}}}}}
|test={{{chapter|{{{contribution|}}}}}}
|then=, {{Link|1={{{URL|}}}|2="{{{Chapter|{{{Contribution}}}}}}"}} in {{qif
|then=, {{link|1={{{url|}}}|2="{{{chapter|{{{contribution}}}}}}"}} in {{qif
|test={{{Editor|}}}
|test={{{editor|}}}
|then={{{Editor}}}, ed.,&#32;
|then={{{editor}}}, ed.,&#32;
}}''{{{Title}}}''{{qif
}}''{{{title}}}''{{qif
|test={{{Edition|}}}
|test={{{edition|}}}
|then=&#32;({{{Edition}}} ed.)
|then=&#32;({{{edition}}} ed.)
}}{{qif
}}{{qif
|test={{{Publisher|}}}
|test={{{publisher|}}}
|then=, {{{Publisher}}}
|then=, {{{publisher}}}
}}{{qif
}}{{qif
|test={{{Place|}}}
|test={{{place|}}}
|then=, {{{Place}}}
|then=, {{{Place}}}
}}{{qif
}}{{qif
|test={{{ISBN|{{{ID|}}}}}}
|test={{{ISBN|{{{id|}}}}}}
|then=, {{{ID|ISBN {{{ISBN}}}}}}
|then=, {{{id|ISBN {{{ISBN}}}}}}
}}{{qif
}}{{qif
|test={{{Pages|}}}
|test={{{pages|}}}
|then=, pp. {{{Pages}}}
|then=, pp. {{{pages}}}
|else={{qif
|else={{qif
|test={{{Page|}}}
|test={{{page|}}}
|then=, p. {{{Page}}}
|then=, p. {{{page}}}
}}
}}
}}
}}
|else={{qif
|else={{qif
|test={{{Title|}}}
|test={{{title|}}}
|then=, {{Link|1={{{URL|}}}|2=''{{{Title}}}''}}
|then=, {{link|1={{{url|}}}|2=''{{{title}}}''}}
}}{{qif
}}{{qif
|test={{{Edition|}}}
|test={{{edition|}}}
|then=&#32;({{{Edition}}} ed.)
|then=&#32;({{{edition}}} ed.)
}}{{qif
}}{{qif
|test={{{Publisher|}}}
|test={{{publisher|}}}
|then=, {{{Publisher}}}
|then=, {{{Publisher}}}
}}{{qif
}}{{qif
|test={{{Place|}}}
|test={{{place|}}}
|then=, {{{Place}}}
|then=, {{{place}}}
}}{{qif
}}{{qif
|test={{{ISBN|{{{ID|}}}}}}
|test={{{ISBN|{{{id|}}}}}}
|then=, {{{ID|ISBN {{{ISBN}}}}}}
|then=, {{{id|ISBN {{{ISBN}}}}}}
}}
}}
}}
}}
}}{{qif
}}{{qif
|test={{{Access-date|}}}
|test={{{accessdate|}}}
|then=&#32;<nowiki>[</nowiki>{{{Access-date}}}<nowiki>]</nowiki>
|then=&#32;<nowiki>[</nowiki>{{{accessdate}}}<nowiki>]</nowiki>
}}</cite><noinclude>
}}</cite><noinclude>
{{esoteric}}
{{esoteric}}

Revision as of 21:05, 5 March 2006

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.