Template:Cite journal: Difference between revisions
Jump to navigation
Jump to search
Infobox>Ligulem cat |
Infobox>MarkSweep add Coauthors parameter to make this more similar to {{tl|book reference}} |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal" {{ | <cite style="font-style:normal" {{qif | ||
| | |test={{{Ref|}}} | ||
| | |then={{qif | ||
|test={{booleq | |||
|{{{Ref}}} | |||
|none | |||
}} | |||
|then= | |||
|else=id="{{{Ref}}}" | |||
}} | |||
| | |else={{qif | ||
|test={{booland | |||
|1={{{Last|}}} | |||
|2={{{Year|}}} | |||
}} | |||
|then=id="Reference-{{{Last}}}-{{{Year}}}" | |||
}} | |||
}}>{{ | }}>{{qif | ||
|test={{{Authorlink|}}} | |||
|then={{wikilink | |||
|1={{{Authorlink}}} | |||
|2={{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}} | |||
}} | |||
|else={{{Author|{{{Last|}}}{{if|{{{First|}}}|, {{{First}}}}}}}} | |||
}}{{qif | |||
|test={{{Coauthors|}}} | |||
|then=<nowiki>,</nowiki> {{{Coauthors}}} | |||
}}{{if | }}{{if | ||
|{{{Date|}}} | |{{{Date|}}} |