Cite journal: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
cat |
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|}}} |
Revision as of 18:59, 11 December 2005
Template:QifTemplate:Qif{{ 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}}}. Template:Esoteric