Template:Citation: Difference between revisions
Content added Content deleted
(if -> qif - qif is the server friendlier variant of if) |
Krisrs1128 (talk | contribs) m (Protected "Template:Citation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite))) |
||
(124 intermediate revisions by 44 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:citation/CS1|citation |
|||
'''FOR TESTING ONLY''' |
|||
|CitationClass=citation |
|||
<cite style="font-style:normal" {{qif |
|||
}}</includeonly><noinclude> |
|||
|test={{{Ref|}}} |
|||
{{Documentation}} |
|||
|then={{qif |
|||
|test={{booleq |
|||
|{{{Ref}}} |
|||
|none |
|||
}} |
|||
|then= |
|||
|else=id="{{{Ref}}}" |
|||
}} |
|||
|else={{qif |
|||
|test={{{Surname|{{{Last|{{{Surname1|{{{Last1}}}}}}}}}}}} |
|||
|then=id="CITEREF{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{{Surname2|{{{Last2|}}}}}}{{{Surname3|{{{Last3|}}}}}}{{{Surname4|{{{Last4|}}}}}}{{{Year}}}" |
|||
}} |
|||
}}>{{qif |
|||
|test={{{Surname|{{{Last|{{{Surname1|{{{Last1|{{{Author|{{{Author1}}}}}}}}}}}}}}}}}} |
|||
|then={{qif |
|||
|test={{{Authorlink|{{{Authorlink1|}}}}}} |
|||
|then={{wikilink |
|||
|1={{{Authorlink1|{{{Authorlink}}}}}} |
|||
|2={{{Author1|{{{Author |
|||
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{qif |
|||
|test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1|}}}}}}}}}}}}}}}}}} |
|||
|then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}} |
|||
}} |
|||
}}}}}} |
|||
}} |
|||
|else={{{Author1|{{{Author |
|||
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{qif |
|||
|test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1}}}}}}}}}}}}}}}}}} |
|||
|then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}} |
|||
}} |
|||
}}}}}} |
|||
}}{{qif |
|||
|test={{{Surname2|{{{Last2|{{{Author2|}}}}}}}}} |
|||
|then={{qif |
|||
|test={{{Author3|{{{Surname3|{{{Last3|}}}}}}}}} |
|||
|then=,  |
|||
|else= &  |
|||
}}{{qif |
|||
|test={{{Authorlink2|}}} |
|||
|then={{wikilink |
|||
|1={{{Authorlink2}}} |
|||
|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}}}}}}}}}}}}}} |
|||
}}{{qif |
|||
|test={{{Surname3|{{{Last3|{{{Author3|}}}}}}}}} |
|||
|then= & {{qif |
|||
|test={{{Authorlink3|}}} |
|||
|then={{wikilink |
|||
|1={{{Authorlink3}}} |
|||
|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}}}}}}}}}}}}}} |
|||
}}{{qif |
|||
|test={{{Surname4|{{{Last4|{{{Author4|}}}}}}}}} |
|||
|then=, et al. |
|||
}} |
|||
}} |
|||
}} |
|||
|… |
|||
}} ({{{Year}}}){{qif |
|||
|test={{{Journal|{{{Periodical|}}}}}} |
|||
|then={{qif |
|||
|test={{{Title|}}} |
|||
|then=, {{Link|1={{{URL|}}}|2="{{{Title}}}"}} |
|||
}}, ''{{{Journal|{{{Periodical}}}}}}''{{qif |
|||
|test={{{Volume|}}} |
|||
|then=, vol. {{{Volume}}} |
|||
}}{{qif |
|||
|test={{{Issue|{{{Number|}}}}}} |
|||
|then=, no. {{{Number|{{{Issue}}}}}} |
|||
}}{{qif |
|||
|test={{{Pages|}}} |
|||
|then=, pp. {{{Pages}}} |
|||
|else={{qif |
|||
|test={{{Page|}}} |
|||
|then=, p. {{{Page}}} |
|||
}} |
|||
}} |
|||
|else={{qif |
|||
|test={{{Chapter|{{{Contribution|}}}}}} |
|||
|then=, {{Link|1={{{URL|}}}|2="{{{Chapter|{{{Contribution}}}}}}"}} in {{qif |
|||
|test={{{Editor|}}} |
|||
|then={{{Editor}}}, ed.,  |
|||
}}''{{{Title}}}''{{qif |
|||
|test={{{Edition|}}} |
|||
|then= ({{{Edition}}} ed.) |
|||
}}{{qif |
|||
|test={{{Publisher|}}} |
|||
|then=, {{{Publisher}}} |
|||
}}{{qif |
|||
|test={{{Place|}}} |
|||
|then=, {{{Place}}} |
|||
}}{{qif |
|||
|test={{{ISBN|{{{ID|}}}}}} |
|||
|then=, {{{ID|ISBN {{{ISBN}}}}}} |
|||
}}{{qif |
|||
|test={{{Pages|}}} |
|||
|then=, pp. {{{Pages}}} |
|||
|else={{qif |
|||
|test={{{Page|}}} |
|||
|then=, p. {{{Page}}} |
|||
}} |
|||
}} |
|||
|else={{qif |
|||
|test={{{Title|}}} |
|||
|then=, {{Link|1={{{URL|}}}|2=''{{{Title}}}''}} |
|||
}}{{qif |
|||
|test={{{Edition|}}} |
|||
|then= ({{{Edition}}} ed.) |
|||
}}{{qif |
|||
|test={{{Publisher|}}} |
|||
|then=, {{{Publisher}}} |
|||
}}{{qif |
|||
|test={{{Place|}}} |
|||
|then=, {{{Place}}} |
|||
}}{{qif |
|||
|test={{{ISBN|{{{ID|}}}}}} |
|||
|then=, {{{ID|ISBN {{{ISBN}}}}}} |
|||
}} |
|||
}} |
|||
}}{{qif |
|||
|test={{{Access-date|}}} |
|||
|then= <nowiki>[</nowiki>{{{Access-date}}}<nowiki>]</nowiki> |
|||
}}</cite><noinclude> |
|||
{{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> |
</noinclude> |
Latest revision as of 19:33, 5 November 2020
Lua error in package.lua at line 80: module 'Module:Protection banner' not found.