Template:Citation: Difference between revisions
From Vigyanwiki
Template>Ligulem (rm ref stuff) |
Template>Ligulem (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={{{ | |test={{{surname|{{{last|{{{surname1|{{{last1|{{{author|{{{author1}}}}}}}}}}}}}}}}}} | ||
|then={{qif | |then={{qif | ||
|test={{{ | |test={{{authorlink|{{{authorlink1|}}}}}} | ||
|then={{wikilink | |then={{wikilink | ||
|1={{{ | |1={{{authorlink1|{{{authorlink}}}}}} | ||
|2={{{ | |2={{{author1|{{{author | ||
|{{{ | |{{{surname1|{{{last1|{{{surname|{{{last}}}}}}}}}}}}{{qif | ||
|test={{{ | |test={{{given|{{{first|{{{given1|{{{first1|{{{initials|{{{initials1|}}}}}}}}}}}}}}}}}} | ||
|then=, {{{ | |then=, {{{initials1|{{{given1|{{{first1|{{{initials|{{{given|{{{first}}}}}}}}}}}}}}}}}} | ||
}} | }} | ||
}}}}}} | }}}}}} | ||
}} | }} | ||
|else={{{ | |else={{{author1|{{{author | ||
|{{{ | |{{{surname1|{{{last1|{{{surname|{{{last}}}}}}}}}}}}{{qif | ||
|test={{{ | |test={{{given|{{{first|{{{given1|{{{first1|{{{initials|{{{initials1}}}}}}}}}}}}}}}}}} | ||
|then=, {{{ | |then=, {{{initials1|{{{given1|{{{first1|{{{initials|{{{given|{{{first}}}}}}}}}}}}}}}}}} | ||
}} | }} | ||
}}}}}} | }}}}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{surname2|{{{last2|{{{author2|}}}}}}}}} | ||
|then={{qif | |then={{qif | ||
|test={{{ | |test={{{author3|{{{surname3|{{{last3|}}}}}}}}} | ||
|then=,  | |then=,  | ||
|else= &  | |else= &  | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{authorlink2|}}} | ||
|then={{wikilink | |then={{wikilink | ||
|1={{{ | |1={{{authorlink2}}} | ||
|2={{{ | |2={{{author2|{{{surname2|{{{last2|}}}}}}{{qif|test={{{given2|{{{first2|{{{initials2|}}}}}}}}}|then=, {{{initials2|{{{given2|{{{first2}}}}}}}}}}}}}} | ||
}} | }} | ||
|else={{{ | |else={{{author2|{{{surname2|{{{last2|}}}}}}{{qif|test={{{given2|{{{first2|{{{initials2|}}}}}}}}}|then=, {{{initials2|{{{given2|{{{first2}}}}}}}}}}}}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{surname3|{{{last3|{{{author3|}}}}}}}}} | ||
|then= & {{qif | |then= & {{qif | ||
|test={{{ | |test={{{authorlink3|}}} | ||
|then={{wikilink | |then={{wikilink | ||
|1={{{ | |1={{{authorlink3}}} | ||
|2={{{ | |2={{{author3|{{{surname3|{{{last3|}}}}}}{{qif|test={{{given3|{{{first3|{{{initials3|}}}}}}}}}|then=, {{{initials3|{{{given3|{{{first3}}}}}}}}}}}}}} | ||
}} | }} | ||
|else={{{ | |else={{{author3|{{{surname3|{{{last3|}}}}}}{{qif|test={{{given3|{{{first3|{{{initials3|}}}}}}}}}|then=, {{{initials3|{{{given3|{{{first3}}}}}}}}}}}}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{surname4|{{{last4|{{{author4|}}}}}}}}} | ||
|then=, et al. | |then=, et al. | ||
}} | }} | ||
Line 48: | Line 48: | ||
}} | }} | ||
|… | |… | ||
}} ({{{ | }} ({{{year}}}){{qif | ||
|test={{{ | |test={{{journal|{{{periodical|}}}}}} | ||
|then={{qif | |then={{qif | ||
|test={{{ | |test={{{title|}}} | ||
|then=, {{ | |then=, {{link|1={{{url|}}}|2="{{{title}}}"}} | ||
}}, ''{{{ | }}, ''{{{journal|{{{periodical}}}}}}''{{qif | ||
|test={{{ | |test={{{volume|}}} | ||
|then=, vol. {{{ | |then=, vol. {{{volume}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{issue|{{{number|}}}}}} | ||
|then=, no. {{{ | |then=, no. {{{number|{{{issue}}}}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{pages|}}} | ||
|then=, pp. {{{ | |then=, pp. {{{pages}}} | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{page|}}} | ||
|then=, p. {{{ | |then=, p. {{{page}}} | ||
}} | }} | ||
}} | }} | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{chapter|{{{contribution|}}}}}} | ||
|then=, {{ | |then=, {{link|1={{{url|}}}|2="{{{chapter|{{{contribution}}}}}}"}} in {{qif | ||
|test={{{ | |test={{{editor|}}} | ||
|then={{{ | |then={{{editor}}}, ed.,  | ||
}}''{{{ | }}''{{{title}}}''{{qif | ||
|test={{{ | |test={{{edition|}}} | ||
|then= ({{{ | |then= ({{{edition}}} ed.) | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{publisher|}}} | ||
|then=, {{{ | |then=, {{{publisher}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{place|}}} | ||
|then=, {{{Place}}} | |then=, {{{Place}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ISBN|{{{ | |test={{{ISBN|{{{id|}}}}}} | ||
|then=, {{{ | |then=, {{{id|ISBN {{{ISBN}}}}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{pages|}}} | ||
|then=, pp. {{{ | |then=, pp. {{{pages}}} | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{page|}}} | ||
|then=, p. {{{ | |then=, p. {{{page}}} | ||
}} | }} | ||
}} | }} | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{title|}}} | ||
|then=, {{ | |then=, {{link|1={{{url|}}}|2=''{{{title}}}''}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{edition|}}} | ||
|then= ({{{ | |then= ({{{edition}}} ed.) | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{publisher|}}} | ||
|then=, {{{Publisher}}} | |then=, {{{Publisher}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{place|}}} | ||
|then=, {{{ | |then=, {{{place}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ISBN|{{{ | |test={{{ISBN|{{{id|}}}}}} | ||
|then=, {{{ | |then=, {{{id|ISBN {{{ISBN}}}}}} | ||
}} | }} | ||
}} | }} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{accessdate|}}} | ||
|then= <nowiki>[</nowiki>{{{ | |then= <nowiki>[</nowiki>{{{accessdate}}}<nowiki>]</nowiki> | ||
}}</cite><noinclude> | }}</cite><noinclude> | ||
{{esoteric}} | {{esoteric}} |
Revision as of 02:35, 6 March 2006
FOR TESTING ONLY Template:Qif ({{{year}}})Template:QifTemplate:Qif
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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.