Template:Citation: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem cat |
meta>Ligulem if -> qif - qif is the server friendlier variant of if |
||
| Line 1: | Line 1: | ||
'''FOR TESTING ONLY''' | '''FOR TESTING ONLY''' | ||
<cite style="font-style:normal" {{ | <cite style="font-style:normal" {{qif | ||
| | |test={{{Ref|}}} | ||
| | |then={{qif | ||
| | |test={{booleq | ||
|{{{Ref}}} | |{{{Ref}}} | ||
|none | |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 | ||
|{{{Surname|{{{Last|{{{Surname1|{{{Last1|{{{Author|{{{Author1}}}}}}}}}}}}}}}}}} | |test={{{Surname|{{{Last|{{{Surname1|{{{Last1|{{{Author|{{{Author1}}}}}}}}}}}}}}}}}} | ||
|{{ | |then={{qif | ||
|{{{Authorlink|{{{Authorlink1|}}}}}} | |test={{{Authorlink|{{{Authorlink1|}}}}}} | ||
|{{wikilink | |then={{wikilink | ||
|{{{Authorlink1|{{{Authorlink}}}}}} | |1={{{Authorlink1|{{{Authorlink}}}}}} | ||
|{{{Author1|{{{Author | |2={{{Author1|{{{Author | ||
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{ | |{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{qif | ||
|{{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1|}}}}}}}}}}}}}}}}}} | |test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1|}}}}}}}}}}}}}}}}}} | ||
|, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}} | |then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}} | ||
}} | }} | ||
}}}}}} | }}}}}} | ||
}} | }} | ||
|{{{Author1|{{{Author | |else={{{Author1|{{{Author | ||
|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{ | |{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{qif | ||
|{{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1}}}}}}}}}}}}}}}}}} | |test={{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1}}}}}}}}}}}}}}}}}} | ||
|, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}} | |then=, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First}}}}}}}}}}}}}}}}}} | ||
}} | }} | ||
}}}}}} | }}}}}} | ||
}}{{ | }}{{qif | ||
|{{{Surname2|{{{Last2|{{{Author2|}}}}}}}}} | |test={{{Surname2|{{{Last2|{{{Author2|}}}}}}}}} | ||
|{{ | |then={{qif | ||
|{{{Author3|{{{Surname3|{{{Last3|}}}}}}}}} | |test={{{Author3|{{{Surname3|{{{Last3|}}}}}}}}} | ||
|,  | |then=,  | ||
| &  | |else= &  | ||
}}{{ | }}{{qif | ||
|{{{Authorlink2|}}} | |test={{{Authorlink2|}}} | ||
|{{wikilink | |then={{wikilink | ||
|{{{Authorlink2}}} | |1={{{Authorlink2}}} | ||
|{{{Author2|{{{Surname2|{{{Last2|}}}}}}{{ | |2={{{Author2|{{{Surname2|{{{Last2|}}}}}}{{qif|test={{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|then=, {{{Initials2|{{{Given2|{{{First2}}}}}}}}}}}}}} | ||
}} | }} | ||
|{{{Author2|{{{Surname2|{{{Last2|}}}}}}{{ | |else={{{Author2|{{{Surname2|{{{Last2|}}}}}}{{qif|test={{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|then=, {{{Initials2|{{{Given2|{{{First2}}}}}}}}}}}}}} | ||
}}{{ | }}{{qif | ||
|{{{Surname3|{{{Last3|{{{Author3|}}}}}}}}} | |test={{{Surname3|{{{Last3|{{{Author3|}}}}}}}}} | ||
| & {{ | |then= & {{qif | ||
|{{{Authorlink3|}}} | |test={{{Authorlink3|}}} | ||
|{{wikilink | |then={{wikilink | ||
|{{{Authorlink3}}} | |1={{{Authorlink3}}} | ||
|{{{Author3|{{{Surname3|{{{Last3|}}}}}}{{ | |2={{{Author3|{{{Surname3|{{{Last3|}}}}}}{{qif|test={{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|then=, {{{Initials3|{{{Given3|{{{First3}}}}}}}}}}}}}} | ||
}} | }} | ||
|{{{Author3|{{{Surname3|{{{Last3|}}}}}}{{ | |else={{{Author3|{{{Surname3|{{{Last3|}}}}}}{{qif|test={{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|then=, {{{Initials3|{{{Given3|{{{First3}}}}}}}}}}}}}} | ||
}}{{ | }}{{qif | ||
|{{{Surname4|{{{Last4|{{{Author4|}}}}}}}}} | |test={{{Surname4|{{{Last4|{{{Author4|}}}}}}}}} | ||
|, et al. | |then=, et al. | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
|… | |… | ||
}} ({{{Year}}}){{ | }} ({{{Year}}}){{qif | ||
| | |test={{{Journal|{{{Periodical|}}}}}} | ||
| | |then={{qif | ||
| | |test={{{Title|}}} | ||
| | |then=, {{Link|1={{{URL|}}}|2="{{{Title}}}"}} | ||
}}, ''{{{Journal|{{{Periodical}}}}}}''{{ | }}, ''{{{Journal|{{{Periodical}}}}}}''{{qif | ||
|{{{Volume|}}} | |test={{{Volume|}}} | ||
|, vol. {{{Volume}}} | |then=, vol. {{{Volume}}} | ||
}}{{ | }}{{qif | ||
|{{{Issue|{{{Number|}}}}}} | |test={{{Issue|{{{Number|}}}}}} | ||
|, no. {{{Number|{{{Issue}}}}}} | |then=, no. {{{Number|{{{Issue}}}}}} | ||
}}{{ | }}{{qif | ||
|{{{Pages|}}} | |test={{{Pages|}}} | ||
|, pp. {{{Pages}}} | |then=, pp. {{{Pages}}} | ||
|{{ | |else={{qif | ||
|{{{Page|}}} | |test={{{Page|}}} | ||
|, p. {{{Page}}} | |then=, p. {{{Page}}} | ||
}} | }} | ||
}} | }} | ||
| | |else={{qif | ||
| | |test={{{Chapter|{{{Contribution|}}}}}} | ||
| | |then=, {{Link|1={{{URL|}}}|2="{{{Chapter|{{{Contribution}}}}}}"}} in {{qif | ||
|{{{Editor|}}} | |test={{{Editor|}}} | ||
|{{{Editor}}}, ed.,  | |then={{{Editor}}}, ed.,  | ||
}}''{{{Title}}}''{{ | }}''{{{Title}}}''{{qif | ||
|{{{Edition|}}} | |test={{{Edition|}}} | ||
| ({{{Edition}}} ed.) | |then= ({{{Edition}}} ed.) | ||
}}{{ | }}{{qif | ||
|{{{Publisher|}}} | |test={{{Publisher|}}} | ||
|, {{{Publisher}}} | |then=, {{{Publisher}}} | ||
}}{{ | }}{{qif | ||
|{{{Place|}}} | |test={{{Place|}}} | ||
|, {{{Place}}} | |then=, {{{Place}}} | ||
}}{{ | }}{{qif | ||
|{{{ISBN|{{{ID|}}}}}} | |test={{{ISBN|{{{ID|}}}}}} | ||
|, {{{ID|ISBN {{{ISBN}}}}}} | |then=, {{{ID|ISBN {{{ISBN}}}}}} | ||
}}{{ | }}{{qif | ||
|{{{Pages|}}} | |test={{{Pages|}}} | ||
|, pp. {{{Pages}}} | |then=, pp. {{{Pages}}} | ||
|{{ | |else={{qif | ||
|{{{Page|}}} | |test={{{Page|}}} | ||
|, p. {{{Page}}} | |then=, p. {{{Page}}} | ||
}} | }} | ||
}} | }} | ||
| | |else={{qif | ||
| | |test={{{Title|}}} | ||
| | |then=, {{Link|1={{{URL|}}}|2=''{{{Title}}}''}} | ||
}}{{ | }}{{qif | ||
|{{{Edition|}}} | |test={{{Edition|}}} | ||
| ({{{Edition}}} ed.) | |then= ({{{Edition}}} ed.) | ||
}}{{ | }}{{qif | ||
|{{{Publisher|}}} | |test={{{Publisher|}}} | ||
|, {{{Publisher}}} | |then=, {{{Publisher}}} | ||
}}{{ | }}{{qif | ||
|{{{Place|}}} | |test={{{Place|}}} | ||
|, {{{Place}}} | |then=, {{{Place}}} | ||
}}{{ | }}{{qif | ||
|{{{ISBN|{{{ID|}}}}}} | |test={{{ISBN|{{{ID|}}}}}} | ||
|, {{{ID|ISBN {{{ISBN}}}}}} | |then=, {{{ID|ISBN {{{ISBN}}}}}} | ||
}} | }} | ||
}} | }} | ||
}}{{ | }}{{qif | ||
|{{{Access-date|}}} | |test={{{Access-date|}}} | ||
| <nowiki>[</nowiki>{{{Access-date}}}<nowiki>]</nowiki> | |then= <nowiki>[</nowiki>{{{Access-date}}}<nowiki>]</nowiki> | ||
}}</cite><noinclude>{{esoteric}}[[Category:Citation templates|{{PAGENAME}}]] | }}</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.''' | '''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> | ||
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.