Template:Publication
From Navigators
(Difference between revisions)
(Introduced the ''Missing'' property, to detect entries missing mandatory fields) |
|||
Line 33: | Line 33: | ||
| article = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | | article = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
- | {{DISPLAYTITLE:“{{{title|}}}”}}''{{#if:{{{journal|}}}|[[journal::{{{journal|}}}]] |'''Missing journal'''}}''{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{number|}}}|, no. [[number::{{{number|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing year'''}}. | + | {{DISPLAYTITLE:“{{{title|}}}”}}''{{#if:{{{journal|}}}|[[journal::{{{journal|}}}]] |'''Missing journal'''}}''{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{number|}}}|, no. [[number::{{{number|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. |
- | | book = {{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|[[author::x]]}}|{{#if:{{{editor|}}}|{{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|'''Missing author/editor'''}}}} | + | | book = {{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|[[author::x]]}}|{{#if:{{{editor|}}}|{{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|'''Missing [[Missing::author/editor]]'''}}}} |
{{DISPLAYTITLE:''{{{title|}}}''{{#if:{{{edition|}}}|, [[edition::{{{edition|}}}]] ed.|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}}} | {{DISPLAYTITLE:''{{{title|}}}''{{#if:{{{edition|}}}|, [[edition::{{{edition|}}}]] ed.|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}}} | ||
{{#if:{{{author|}}}|{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}} | {{#if:{{{author|}}}|{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}} | ||
- | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing publisher'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing | + | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing publisher'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
| inproceedings = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | | inproceedings = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
- | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] {{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}''}}{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{number|}}}|, no. [[number::{{{number|}}}]]|}}{{#if:{{{address|}}}|, [[address::{{{address|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing year'''}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}. | + | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] {{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}''}}{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{number|}}}|, no. [[number::{{{number|}}}]]|}}{{#if:{{{address|}}}|, [[address::{{{address|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}. |
| incollection = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | | incollection = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
{{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] {{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}''}}{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}} | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] {{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing booktitle'''}}''}}{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}} | ||
- | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing publisher'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing year'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, pp. [[chapter::{{{chapter|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}. | + | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing publisher'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, pp. [[chapter::{{{chapter|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}. |
+ | | inbook = {{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|[[author::x]]}}|{{#if:{{{editor|}}}|{{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|'''Missing [[Missing::author/editor]]'''}}}} | ||
+ | |||
+ | {{DISPLAYTITLE:''{{{title|}}}''{{#if:{{{edition|}}}|, [[edition::{{{edition|}}}]] ed.|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, ch. [[chapter::{{{chapter|}}}]]{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}|{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|'''Missing [[Missing::chapter/pages]]'''}}}}}}{{#if:{{{author|}}}|{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}} | ||
+ | |||
+ | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing publisher'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. | ||
| mastersthesis = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}}{{#if:{{{advisor|}}}| (advised by {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}})|}} | | mastersthesis = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}}{{#if:{{{advisor|}}}| (advised by {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}})|}} | ||
- | {{DISPLAYTITLE:“{{{title|}}}”}}Master’s thesis, {{#if:{{{school|}}}|[[school::{{{school|}}}]]|'''Missing school'''}}{{#if:{{{address|}}}|, [[address::{{{address|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing year'''}} | + | {{DISPLAYTITLE:“{{{title|}}}”}}Master’s thesis, {{#if:{{{school|}}}|[[school::{{{school|}}}]]|'''Missing [[Missing::school]]'''}}{{#if:{{{address|}}}|, [[address::{{{address|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}} |
+ | | techreport = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
+ | |||
+ | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{institution|}}}|[[institution::{{{institution|}}}]]|'''Missing [[Missing::institution]]'''}}{{#if:{{{address|}}}|, [[address::{{{address|}}}]]|}}, Tech. Rep.{{#if:{{{number|}}}| [[number::{{{number|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. | ||
| phdthesis = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}}{{#if:{{{advisor|}}}| (advised by {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}})|}} | | phdthesis = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}}{{#if:{{{advisor|}}}| (advised by {{#arraymap:{{{advisor|}}}|,|x|[[advisor::x]]}})|}} | ||
- | {{DISPLAYTITLE:“{{{title|}}}”}}Ph.D. dissertation, {{#if:{{{school|}}}|[[school::{{{school|}}}]]|'''Missing school'''}}{{#if:{{{address|}}}|, [[address::{{{address|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing year'''}} | + | {{DISPLAYTITLE:“{{{title|}}}”}}Ph.D. dissertation, {{#if:{{{school|}}}|[[school::{{{school|}}}]]|'''Missing [[Missing::school]]'''}}{{#if:{{{address|}}}|, [[address::{{{address|}}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}} |
- | | # | + | | #misc = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} |
- | {{DISPLAYTITLE:“{{{title|}}}”}} | + | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{month|}}}|, {{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{?year|}}}|{{{?year|}}}|}}. |
- | {{#if:{{{ | + | }} |
- | {{TranslateMonth|{{{month|}}}}} | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
}} | }} | ||
Revision as of 10:56, 19 November 2012
This is the "Publication" template. It should be called in the following format:
{{Publication |abstract= |address= |author= |booktitle= |chapter= |doi= |edition= |editor= |institution= |journal= |note= |number= |pages= |publisher= |school= |series= |title= |type= |url= |volume= |month= |year= }}
Edit the page to see the template text.