|
|
Line 1: |
Line 1: |
− | <cite style="font-style:normal">{{#if: | + | <includeonly><!-- |
− | {{{last{{{author|}}}}}}
| + | -->{{#replace:{{#if:{{#arraymap:{{{authors|}}}|;|x|1|}}<!-- |
− | |{{#if:
| + | -->|{{#ifexpr:{{#len:{{#arraymap:{{{authors|}}}|;|x|1|}}}}>4<!-- |
− | {{{authorlink|}}}
| + | -->|{{#explode:{{#arraymap:{{{authors|}}}|;|name<!-- first non-blank name only |
− | |[[{{{authorlink}}}|{{{author|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}}}}]]
| + | -->|{{#arraymap:{{#explode:<!-- first three parts only, remove (..., cleanup |
− | |{{{author|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}}}}}}
| + | -->{{#explode:name|,}},{{#explode:name|,|1}},{{#explode:name|,|2}}<!-- |
− | }}{{#if:
| + | -->|(}}|,|x|x|,_}}|;}}|;}} et al{{#if:{{{date|}}}|.}}<!-- |
− | {{{last2|{{{author2|}}}}}}
| + | -->|{{#arraymap:{{{authors|}}}|;|name|{{#arraymap:{{#explode:<!-- |
− | |{{#if:
| + | -->{{#explode:name|,}},{{#explode:name|,|1}},{{#explode:name|,|2}}<!-- |
− | {{{author3|{{{last3|}}}}}}
| + | -->|(}}|,|x|x|,_}}|;_}}<!-- |
− | |, 
| + | -->}}{{#if:{{{date|}}}|_({{#time:Y|{{{date}}}}})}}._}}|_| }}<!-- |
− | | & 
| + | --><cite>{{#if:{{{file|}}}|[[:File:{{{file}}}|{{{title}}}]]<!-- |
− | }}{{#if:
| + | -->|{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}}}</cite><!-- |
− | {{{authorlink2|}}}
| + | -->{{#if:{{{conference|}}}|. {{{conference}}}<!-- |
− | |[[{{{authorlink2}}}|{{{author2|{{#if:{{{first2|}}}|{{{first2}}} }}{{{last2|}}}}}}]]
| + | -->{{#if:{{{pages|}}}|. {{#if:{{#pos:{{{pages}}}|-}}|pp|p}}. {{{pages}}}}}<!-- |
− | |{{{author2|{{#if:{{{first2|}}}|{{{first2}}} }}{{{last2|}}}}}}
| + | -->|{{#if:{{{journal|}}}|. {{{journal}}}. {{#if:{{{volume|}}}|{{{volume}}} ({{{issue}}})|{{{issue}}}}}<!-- |
− | }}{{#if:
| + | -->{{#if:{{{pages|}}}|: {{{pages}}}}}}}}}<!-- |
− | {{{last3|{{{author3|}}}}}}
| + | -->{{doi link|{{{doi|}}}|prefix=. }}</includeonly> |
− | | & {{#if:
| |
− | {{{authorlink3|}}}
| |
− | |[[{{{authorlink3}}}|{{{author3|{{#if:{{{first3|}}}|{{{first3}}} }}{{{last3|}}}}}}]]
| |
− | |{{{author3|{{#if:{{{first3|}}}|{{{first3}}} }}{{{last3|}}}}}}
| |
− | }}{{#if:
| |
− | {{{last4|{{{author4|}}}}}}
| |
− | |, et al.
| |
− | }}
| |
− | }}
| |
− | }}
| |
− | |…
| |
− | }} ({{{year}}}){{#if:
| |
− | {{{journal|}}}
| |
− | |{{#if:
| |
− | {{{title|}}}
| |
− | |, {{link|1={{{url|}}}|2="{{{title}}}"}}
| |
− | }}, ''{{{journal}}}''{{#if:
| |
− | {{{volume|}}}
| |
− | |, vol. {{{volume}}}
| |
− | }}{{#if:
| |
− | {{{issue|}}}
| |
− | |, no. {{{issue}}}
| |
− | }}{{#if:
| |
− | {{{pages|}}}
| |
− | |, pp. {{{pages}}}
| |
− | |{{#if:
| |
− | {{{page|}}}
| |
− | |, p. {{{page}}}
| |
− | }}
| |
− | }}
| |
− | |{{#if:
| |
− | {{{chapter|}}}
| |
− | |, {{link|1={{{url|}}}|2="{{{chapter}}}"}} in {{#if:
| |
− | {{{editor|}}}
| |
− | |{{{editor}}}, ed., 
| |
− | }}''{{{title}}}''{{#if:
| |
− | {{{edition|}}}
| |
− | | ({{{edition}}} ed.)
| |
− | }}{{#if:
| |
− | {{{publisher|}}}
| |
− | |, {{{publisher}}}
| |
− | }}{{#if:
| |
− | {{{place|}}}
| |
− | |, {{{place}}}
| |
− | }}{{#if:
| |
− | {{{ISBN|{{{id|}}}}}}
| |
− | |, {{{id|ISBN {{{ISBN}}}}}}
| |
− | }}{{#if:
| |
− | {{{pages|}}}
| |
− | |, pp. {{{pages}}}
| |
− | |{{#if:
| |
− | {{{page|}}}
| |
− | |, p. {{{page}}}
| |
− | }}
| |
− | }}
| |
− | |{{#if:
| |
− | {{{title|}}}
| |
− | |, {{link|1={{{url|}}}|2=''{{{title}}}''}}
| |
− | }}{{#if:
| |
− | {{{edition|}}}
| |
− | | ({{{edition}}} ed.)
| |
− | }}{{#if:
| |
− | {{{publisher|}}}
| |
− | |, {{{publisher}}}
| |
− | }}{{#if:
| |
− | {{{place|}}}
| |
− | |, {{{place}}}
| |
− | }}{{#if:
| |
− | {{{ISBN|{{{id|}}}}}}
| |
− | |, {{{id|ISBN {{{ISBN}}}}}}
| |
− | }}
| |
− | }}
| |
− | }}{{#if:
| |
− | {{{accessdate|}}}
| |
− | | <nowiki>[</nowiki>{{{accessdate}}}<nowiki>]</nowiki>
| |
− | }}</cite><noinclude>
| |
− | [[Category:Citation templates|{{PAGENAME}}]]
| |
− | [[Category:Templates using ParserFunctions|{{PAGENAME}}]]
| |
− | </noinclude> | |