Template:PublicationRef
From Navigators
(Difference between revisions)
(Added support to ''manual'' entries) |
m |
||
Line 2: | Line 2: | ||
*{{#switch: {{{?Type|}}} | *{{#switch: {{{?Type|}}} | ||
| article = {{#if:{{{?Author|}}}|{{{?Author|}}}|'''Missing author'''}}, “[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]],” ''{{#if:{{{?Journal|}}}|{{{?Journal|}}}|'''Missing journal'''}}''{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}{{#if:{{{?Volume|}}}|, vol. {{{?Volume|}}}|}}{{#if:{{{?Number|}}}|, no. {{{?Number|}}}|}}{{#if:{{{?Pages|}}}|, pp. {{{?Pages|}}}|}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} |}}{{#if:{{{?Year|}}}|{{{?Year|}}}|'''Missing year'''}}. | | article = {{#if:{{{?Author|}}}|{{{?Author|}}}|'''Missing author'''}}, “[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]],” ''{{#if:{{{?Journal|}}}|{{{?Journal|}}}|'''Missing journal'''}}''{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}{{#if:{{{?Volume|}}}|, vol. {{{?Volume|}}}|}}{{#if:{{{?Number|}}}|, no. {{{?Number|}}}|}}{{#if:{{{?Pages|}}}|, pp. {{{?Pages|}}}|}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} |}}{{#if:{{{?Year|}}}|{{{?Year|}}}|'''Missing year'''}}. | ||
- | | book = {{#if:{{{?Author|}}}|{{{?Author|}}}|{{#if:{{{?Editor|}}}|{{{?Editor|}}}, Eds.|'''Missing author/editor'''}}}}, ''[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]]''{{#if:{{{?Edition|}}}|, {{{?Edition|}}} ed.|}}{{#if:{{{?Author|}}}|{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}. {{#if:{{{?Address|}}}|{{{?Address|}}}: |}}{{#if:{{{?Publisher|}}}|{{{?Publisher|}}}|'''Missing publisher'''}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} | | + | | book = {{#if:{{{?Author|}}}|{{{?Author|}}}|{{#if:{{{?Editor|}}}|{{{?Editor|}}}, Eds.|'''Missing author/editor'''}}}}, ''[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]]''{{#if:{{{?Edition|}}}|, {{{?Edition|}}} ed.|}}{{#if:{{{?Author|}}}|{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}. {{#if:{{{?Address|}}}|{{{?Address|}}}: |}}{{#if:{{{?Publisher|}}}|{{{?Publisher|}}}|'''Missing publisher'''}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} |}}{{#if:{{{?Year|}}}|{{{?Year|}}}|'''Missing year'''}}{{#if:{{{?Volume|}}}|, vol. {{{?Volume|}}}|}}. |
- | | inproceedings = {{#if:{{{?Author|}}}|{{{?Author|}}}|'''Missing author'''}}, “[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]],” {{#if:{{{?Intype|}}}|{{{?Intype|in}}} {{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}|in ''{{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}''}}{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}{{#if:{{{?Volume|}}}|, vol. {{{?Volume|}}}|}}{{#if:{{{?Number|}}}|, no. {{{?Number|}}}|}}{{#if:{{{?Address|}}}|, {{{?Address|}}}|}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} | | + | | inproceedings = {{#if:{{{?Author|}}}|{{{?Author|}}}|'''Missing author'''}}, “[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]],” {{#if:{{{?Intype|}}}|{{{?Intype|in}}} {{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}|in ''{{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}''}}{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}{{#if:{{{?Volume|}}}|, vol. {{{?Volume|}}}|}}{{#if:{{{?Number|}}}|, no. {{{?Number|}}}|}}{{#if:{{{?Address|}}}|, {{{?Address|}}}|}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} |}}{{#if:{{{?Year|}}}|{{{?Year|}}}|'''Missing year'''}}{{#if:{{{?Pages|}}}|, pp. {{{?Pages|}}}|}}. |
- | | incollection = {{#if:{{{?Author|}}}|{{{?Author|}}}|'''Missing author'''}}, “[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]],” {{#if:{{{?Intype|}}}|{{{?Intype|in}}} {{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}|in ''{{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}''}}{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}. {{#if:{{{?Address|}}}|{{{?Address|}}}: |}}{{#if:{{{?Publisher|}}}|{{{?Publisher|}}}|'''Missing publisher'''}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} | | + | | incollection = {{#if:{{{?Author|}}}|{{{?Author|}}}|'''Missing author'''}}, “[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]],” {{#if:{{{?Intype|}}}|{{{?Intype|in}}} {{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}|in ''{{#if:{{{?Booktitle|}}}|{{{?Booktitle|}}}|'''Missing booktitle'''}}''}}{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}. {{#if:{{{?Address|}}}|{{{?Address|}}}: |}}{{#if:{{{?Publisher|}}}|{{{?Publisher|}}}|'''Missing publisher'''}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} |}}{{#if:{{{?Year|}}}|{{{?Year|}}}|'''Missing year'''}}{{#if:{{{?Volume|}}}|, vol. {{{?Volume|}}}|}}{{#if:{{{?Chapter|}}}|, ch. {{{?Chapter|}}}|}}{{#if:{{{?Pages|}}}|, pp. {{{?Pages|}}}|}}. |
- | | inbook = {{#if:{{{?Author|}}}|{{{?Author|}}}|{{#if:{{{?Editor|}}}|{{{?Editor|}}}, Eds.|'''Missing author/editor'''}}}}, ''[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]]''{{#if:{{{?Edition|}}}|, {{{?Edition|}}} ed.|}}{{#if:{{{?Author|}}}|{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}. {{#if:{{{?Address|}}}|{{{?Address|}}}: |}}{{#if:{{{?Publisher|}}}|{{{?Publisher|}}}|'''Missing publisher'''}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} | | + | | inbook = {{#if:{{{?Author|}}}|{{{?Author|}}}|{{#if:{{{?Editor|}}}|{{{?Editor|}}}, Eds.|'''Missing author/editor'''}}}}, ''[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]]''{{#if:{{{?Edition|}}}|, {{{?Edition|}}} ed.|}}{{#if:{{{?Author|}}}|{{#if:{{{?Editor|}}}|, {{{?Editor|}}}, Eds.|}}|}}{{#if:{{{?Series|}}}|, ser. {{{?Series|}}}|}}. {{#if:{{{?Address|}}}|{{{?Address|}}}: |}}{{#if:{{{?Publisher|}}}|{{{?Publisher|}}}|'''Missing publisher'''}}, {{#if:{{{?Month|}}}|{{TranslateMonth|{{{?Month|}}}}} |}}{{#if:{{{?Year|}}}|{{{?Year|}}}|'''Missing year'''}}{{#if:{{{?Volume|}}}|, vol. {{{?Volume|}}}|}}{{#if:{{{?Chapter|}}}|, ch. {{{?Chapter|}}}|{{#if:{{{?Pages|}}}|, pp. {{{?Pages|}}}|'''Missing chapter/pages'''}}}}. |
- | | manual = {{#if:{{{?Author|}}}|{{{?Author|}}}, |}}''[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]]''{{#if:{{{?Edition|}}}|, {{{?Edition|}}} ed.|}}{{#if:{{{?Address|}}}|, {{{?Address|}}}|}}{{#if:{{{?Organization|}}}|{{{?Organization|}}}|}}{{#if:{{{?Month|}}}|, {{TranslateMonth|{{{?Month|}}}}} | | + | | manual = {{#if:{{{?Author|}}}|{{{?Author|}}}, |}}''[[{{{?Pagename}}}|{{{?Title|'''Missing title'''}}}]]''{{#if:{{{?Edition|}}}|, {{{?Edition|}}} ed.|}}{{#if:{{{?Address|}}}|, {{{?Address|}}}|}}{{#if:{{{?Organization|}}}|{{{?Organization|}}}|}}{{#if:{{{?Month|}}}|, {{TranslateMonth|{{{?Month|}}}}} |}}{{#if:{{{?Year|}}}|{{{?Year|}}}|}}. |
| mastersthesis = {{{?Author|}}}, ''[[{{{?Pagename}}}|{{{?Title|}}}]],'' M.Sc. thesis, {{{?School|}}}, {{{?Address|}}}, {{TranslateMonth|{{{?Month|}}}}} {{{?Year|}}}. | | mastersthesis = {{{?Author|}}}, ''[[{{{?Pagename}}}|{{{?Title|}}}]],'' M.Sc. thesis, {{{?School|}}}, {{{?Address|}}}, {{TranslateMonth|{{{?Month|}}}}} {{{?Year|}}}. | ||
| phdthesis = {{{?Author|}}}, “[[{{{?Pagename}}}|{{{?Title|}}}]],” Ph.D. dissertation, {{{?School|}}}, {{{?Address|}}}, {{TranslateMonth|{{{?Month|}}}}} {{{?Year|}}}. | | phdthesis = {{{?Author|}}}, “[[{{{?Pagename}}}|{{{?Title|}}}]],” Ph.D. dissertation, {{{?School|}}}, {{{?Address|}}}, {{TranslateMonth|{{{?Month|}}}}} {{{?Year|}}}. |