Template:Citation: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
(eliminating third wikilink (last one, template no longer uses {{wikilink}}))
(qif -> #if: using AWB)
Line 1:
'''FOR TESTING ONLY'''
<cite style="font-style:normal">{{qif#if:
|test={{{last{{{author|}}}}}}
|then={{qif#if:
|test={{{authorlink|}}}
|then=[[{{{authorlink}}}|{{{author|{{{last}}}{{qif|test=#if:{{{first|}}}|then=, {{{first}}}}}}}}]]
|else={{{author|{{{last}}}{{qif|test=#if:{{{first|}}}|then=, {{{first}}}}}}}}
}}{{qif#if:
|test={{{last2|{{{author2|}}}}}}
|then={{qif#if:
|test={{{author3|{{{last3|}}}}}}
|then=,&#32;
|else=&#32;&amp;&#32;
}}{{qif#if:
|test={{{authorlink2|}}}
|then=[[{{{authorlink2}}}|{{{author2|{{qif|test=#if:{{{first2|}}}|then={{{first2}}}&#32;}}{{{last2|}}}}}}]]
|else={{{author2|{{qif|test=#if:{{{first2|}}}|then={{{first2}}}&#32;}}{{{last2|}}}}}}
}}{{qif#if:
|test={{{last3|{{{author3|}}}}}}
|then=&#32;&amp; {{qif#if:
|test={{{authorlink3|}}}
|then=[[{{{authorlink3}}}|{{{author3|{{qif|test=#if:{{{first3|}}}|then={{{first3}}}&#32;}}{{{last3|}}}}}}]]
|else={{{author3|{{qif|test=#if:{{{first3|}}}|then={{{first3}}}&#32;}}{{{last3|}}}}}}
}}{{qif#if:
|test={{{last4|{{{author4|}}}}}}
|then=, et al.
}}
}}
}}
|…
}} ({{{year}}}){{qif#if:
|test={{{journal|}}}
|then={{qif#if:
|test={{{title|}}}
|then=, {{link|1={{{url|}}}|2="{{{title}}}"}}
}}, ''{{{journal}}}''{{qif#if:
|test={{{volume|}}}
|then=, vol. {{{volume}}}
}}{{qif#if:
|test={{{issue|}}}
|then=, no. {{{issue}}}
}}{{qif#if:
|test={{{pages|}}}
|then=, pp. {{{pages}}}
|else={{qif#if:
|test={{{page|}}}
|then=, p. {{{page}}}
}}
}}
|else={{qif#if:
|test={{{chapter|}}}
|then=, {{link|1={{{url|}}}|2="{{{chapter}}}"}} in {{qif#if:
|test={{{editor|}}}
|then={{{editor}}}, ed.,&#32;
}}''{{{title}}}''{{qif#if:
|test={{{edition|}}}
|then=&#32;({{{edition}}} ed.)
}}{{qif#if:
|test={{{publisher|}}}
|then=, {{{publisher}}}
}}{{qif#if:
|test={{{place|}}}
|then=, {{{place}}}
}}{{qif#if:
|test={{{ISBN|{{{id|}}}}}}
|then=, {{{id|ISBN {{{ISBN}}}}}}
}}{{qif#if:
|test={{{pages|}}}
|then=, pp. {{{pages}}}
|else={{qif#if:
|test={{{page|}}}
|then=, p. {{{page}}}
}}
}}
|else={{qif#if:
|test={{{title|}}}
|then=, {{link|1={{{url|}}}|2=''{{{title}}}''}}
}}{{qif#if:
|test={{{edition|}}}
|then=&#32;({{{edition}}} ed.)
}}{{qif#if:
|test={{{publisher|}}}
|then=, {{{publisher}}}
}}{{qif#if:
|test={{{place|}}}
|then=, {{{place}}}
}}{{qif#if:
|test={{{ISBN|{{{id|}}}}}}
|then=, {{{id|ISBN {{{ISBN}}}}}}
}}
}}
}}{{qif#if:
|test={{{accessdate|}}}
|then=&#32;<nowiki>[</nowiki>{{{accessdate}}}<nowiki>]</nowiki>
}}</cite><noinclude>
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{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 22:25, 18 April 2006

FOR TESTING ONLY {{{last}}} ({{{year}}}) 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.