Template:Cite journal: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem (cat) |
imported>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}}} |
|{{{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|}}} |