Template:Publication
From Navigators
(Difference between revisions)
(40 intermediate revisions not shown) | |||
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:url={{{url|}}}}}{{#switch: {{{type|}}} | + | {{#set:month={{{month|}}}}}{{#set:year={{{year|}}}}}{{#set:key={{PAGENAME}}}}{{#set:type={{{type|}}}}}{{#set:title={{{title|}}}}}{{#set:url={{{url|}}}}}{{#set:NumPubDate={{{year|}}}.{{TranslateMonthNum|{{{month|}}}}}}}{{#switch: {{{type|}}} |
| article = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | | article = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
- | {{DISPLAYTITLE:“{{{title|}}}”}}''{{#if:{{{journal|}}}|[[journal::{{{journal|}}}]] |'''Missing [[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]]'''}}. | + | {{DISPLAYTITLE:“{{{title|}}}”}}''{{#if:{{{journal|}}}|[[journal::{{{journal|}}}]] |'''Missing [[Missing::journal]]'''}}''{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{number|}}}|, no. [[number::{{{number|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{#replace:{{#replace:{{{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 [[Missing::author/editor]]'''}}}} | + | | book = {{DISPLAYTITLE:''{{{title|}}}''{{#if:{{{edition|}}}|, {{{edition|}}} ed.|}}}} |
+ | {{#if:{{{author|}}}|{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}|}}{{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|[[author::x]]}}|{{#if:{{{editor|}}}|{{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|'''Missing [[Missing::author/editor]]'''}}}}{{#set:edition={{{edition|}}}}} | ||
- | + | {{#if:{{{series|}}}|Ser. [[series::{{{series|}}}]]. |}} | |
- | + | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}. {{#if:{{{pages|}}}|[[pages::{{{pages|}}}]] pages.|}} | |
- | + | ||
- | {{ | + | |
| inproceedings = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | | inproceedings = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
- | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] {{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing [[Missing::booktitle]]'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing [[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|}}}]]|}}. | + | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] {{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing [[Missing::booktitle]]'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing [[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::{{#replace:{{#replace:{{{pages|}}}|--|–}}|-|–}}]]|}}. |
| incollection = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | | incollection = {{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
{{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{intype|}}}|[[intype::{{{intype|}}}]] {{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing [[Missing::booktitle]]'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing [[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 [[Missing::booktitle]]'''}}|in ''{{#if:{{{booktitle|}}}|[[booktitle::{{{booktitle|}}}]]|'''Missing [[Missing::booktitle]]'''}}''}}{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}} | ||
- | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, ch. [[chapter::{{{chapter|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}. | + | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, ch. [[chapter::{{{chapter|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{#replace:{{#replace:{{{pages|}}}|--|–}}|-|–}}]]|}}. |
| inbook = {{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|[[author::x]]}}|{{#if:{{{editor|}}}|{{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|'''Missing [[Missing::author/editor]]'''}}}} | | inbook = {{#if:{{{author|}}}|{{#arraymap:{{{author|}}}|,|x|[[author::x]]}}|{{#if:{{{editor|}}}|{{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|'''Missing [[Missing::author/editor]]'''}}}} | ||
- | {{DISPLAYTITLE:''{{{title|}}}''{{#if:{{{ | + | {{DISPLAYTITLE:''{{{title|}}}''}}{{#if:{{{author|}}}|{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}} |
+ | |||
+ | {{#if:{{{edition|}}}|, [[edition::{{{edition|}}}]] ed.|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, ch. [[chapter::{{{chapter|}}}]]{{#if:{{{pages|}}}|, pp. [[pages::{{#replace:{{#replace:{{{pages|}}}|--|–}}|-|–}}]]|}}|{{#if:{{{pages|}}}|, pp. [[pages::{{#replace:{{#replace:{{{pages|}}}|--|–}}|-|–}}]]|'''Missing [[Missing::chapter/pages]]'''}}}} | ||
{{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. | {{#if:{{{address|}}}|[[address::{{{address|}}}]]: |}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. | ||
Line 65: | Line 66: | ||
{{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{howpublished|}}}|[[howpublished::{{{howpublished|}}}]]. |}}{{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. | {{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{howpublished|}}}|[[howpublished::{{{howpublished|}}}]]. |}}{{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}} |}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}. | ||
+ | | reserved = {{DISPLAYTITLE:“{{{title|}}}”}}{{#arraymap:{{{author|}}}|,|x|[[author::x]]}} | ||
+ | |||
+ | {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds. | ||
}} | }} | ||
- | {{#if:{{{note|}}}|<small>[[note::{{{note|}}}]]</small>|}}{{#if:{{{ | + | {{#if:{{{note|}}}|<small>[[note::{{{note|}}}]]. </small>|}}{{#if:{{{award|}}}|<small>'''[[award::{{{award|}}}]]'''</small>|}}{{#if:{{{abstract|}}}|{{#set:abstract={{{abstract|}}}}}<blockquote>'''Abstract:''' {{{abstract|}}}</blockquote>|<blockquote>'''Abstract:''' [[Missing::abstract|—]]</blockquote>}} |
- | {{#if:{{{ | + | {{#if:{{{document|}}}|==Download paper== |
- | + | {{#set:Document={{{document|}}}}}[[media:{{{document|}}}|Download {{{title|}}}]]|{{#if:{{{url|}}}|==Download paper== | |
+ | [{{{url|}}} Download {{{title|}}}]}}|}} | ||
- | ==Export citation== | + | {{#ifeq:{{{type|}}}|reserved||==Export citation== |
{{#ask: [[Category:Publication]] [[key::{{PAGENAME}}]] | {{#ask: [[Category:Publication]] [[key::{{PAGENAME}}]] | ||
Line 105: | Line 110: | ||
<small>''Project(s): {{#arraymap:{{{Project|}}}|,|x|[[Project::x]]}}''</small> | <small>''Project(s): {{#arraymap:{{{Project|}}}|,|x|[[Project::x]]}}''</small> | ||
- | <small>''Research line(s): {{#arraymap:{{{ResearchLine|}}}|,|x|[[ResearchLine::x]]}}'' | + | <small>{{#if:{{{ResearchLine|}}}|''Research line(s): {{#arraymap:{{{ResearchLine|}}}|,|x|[[ResearchLine::x]]}}''|'''Missing [[Missing::ResearchLine]]'''}}</small> |
- | + | ||
- | + | ||
- | + | ||
[[Category:Publication]] | [[Category:Publication]] | ||
+ | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 12:17, 13 May 2013
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.