Revision as of 23:36, 8 December 2005 view sourceLigulem (talk | contribs)Autopatrolled, Pending changes reviewers, Rollbackers28,245 edits cat← Previous edit | Revision as of 18:59, 11 December 2005 view source MarkSweep (talk | contribs)12,015 edits add Coauthors parameter to make this more similar to {{tl|book reference}}Next edit → | ||
Line 1: | Line 1: | ||
<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={{booland | ||
|1={{{Last|}}} | |1={{{Last|}}} | ||
|2={{{Year|}}} | |2={{{Year|}}} | ||
}} | }} | ||
| |
|then=id="Reference-{{{Last}}}-{{{Year}}}" | ||
}} | }} | ||
}}>{{ |
}}>{{qif | ||
|{{{Authorlink|}}} | |test={{{Authorlink|}}} | ||
|{{wikilink | |then={{wikilink | ||
|{{{Authorlink}}} | |1={{{Authorlink}}} | ||
|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}} | |2={{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}} | ||
}} | }} | ||
|{{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}} | |else={{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}} | ||
}}{{qif | |||
|test={{{Coauthors|}}} | |||
|then=<nowiki>,</nowiki> {{{Coauthors}}} | |||
}}{{if | }}{{if | ||
|{{{Date|}}} | |{{{Date|}}} |
Revision as of 18:59, 11 December 2005
{{ safesubst:p{{ safesubst:#if
: ({{{Date}}}) |1|2}}|{{ safesubst:p{{ safesubst:#if :{{ safesubst:p{{ safesubst:#if : ({{{Month}}} {{{Year}}}) |1|2}}| ({{{Year}}}) |}} |1|2}}|{{{3}}}|}}
|}}{{ safesubst:p{{ safesubst:#if
:.
|1|2}}|{{{3}}}|}} {{{Title}}}{{ safesubst:p{{ safesubst:#if
:, {{{Journal}}}
|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if
:, {{{Volume}}}
|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if
:({{{Issue}}})
|1|2}}|{{{3}}}|}}{{ safesubst:p{{ safesubst:#if
:: {{{Pages}}}
|1|2}}|{{{3}}}|}}{{{3}}}.
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. |