Template:Publication
From Navigators
(Difference between revisions)
Line 30: | Line 30: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
- | {{#set:month={{{month|}}}}}{{#set:key={{PAGENAME}}}}{{#set:type={{{type|}}}}}{{#set:title={{{title|}}}}} | + | {{#set:month={{{month|}}}}}{{#set:key={{PAGENAME}}}}{{#set:type={{{type|}}}}}{{#set:title={{{title|}}}}}{{#switch: {{{type|}}} |
- | + | ||
- | {{#switch: {{{type|}}} | + | |
| 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 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 year'''}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}. | ||
- | | #default = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}}{{DISPLAYTITLE:“{{{title|}}}”}}{{#set:title={{{title|}}}}} | + | | #default = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} |
+ | |||
+ | {{DISPLAYTITLE:“{{{title|}}}”}}{{#set:title={{{title|}}}}} | ||
{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] |}}{{{booktitle|{{{journal|{{{school|}}}}}}}}}, {{{address|}}}. | {{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] |}}{{{booktitle|{{{journal|{{{school|}}}}}}}}}, {{{address|}}}. | ||
{{TranslateMonth|{{{month|}}}}} [[year::{{{year|}}}]] | {{TranslateMonth|{{{month|}}}}} [[year::{{{year|}}}]] |
Revision as of 16:21, 16 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.