Template:Publication

From Navigators

(Difference between revisions)
Jump to: navigation, search
 
(46 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|}}}}}{{#switch: {{{type|}}}{{#set:url={{{url|}}}}}
+
{{#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|}}}}}&nbsp;|}}{{#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|}}}|--|&ndash;}}|-|&ndash;}}]]|}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#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|}}}}}
-
{{DISPLAYTITLE:''{{{title|}}}''{{#if:{{{edition|}}}|, [[edition::{{{edition|}}}]] ed.|}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}}}
+
{{#if:{{{series|}}}|Ser. [[series::{{{series|}}}]]. |}}
-
{{#if:{{{author|}}}|{{#if:{{{editor|}}}|, {{#arraymap:{{{editor|}}}|,|x|[[editor::x]]}}, Eds.|}}|}}{{#if:{{{series|}}}|, ser. [[series::{{{series|}}}]]|}}
+
{{#if:{{{address|}}}|[[address::{{{address|}}}]]:&nbsp;|}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}. {{#if:{{{pages|}}}|[[pages::{{{pages|}}}]] pages.|}}
-
 
+
-
{{#if:{{{address|}}}|[[address::{{{address|}}}]]:&nbsp;|}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#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 [[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|}}}}}&nbsp;|}}{{#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|}}}}}&nbsp;|}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{pages|}}}|, pp. [[pages::{{#replace:{{#replace:{{{pages|}}}|--|&ndash;}}|-|&ndash;}}]]|}}.
| 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|}}}]]:&nbsp;|}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, pp. [[chapter::{{{chapter|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{{pages|}}}]]|}}.
+
{{#if:{{{address|}}}|[[address::{{{address|}}}]]:&nbsp;|}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}{{#if:{{{volume|}}}|, vol. [[volume::{{{volume|}}}]]|}}{{#if:{{{chapter|}}}|, ch. [[chapter::{{{chapter|}}}]]|}}{{#if:{{{pages|}}}|, pp. [[pages::{{#replace:{{#replace:{{{pages|}}}|--|&ndash;}}|-|&ndash;}}]]|}}.
| 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:{{{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|}}}]]|}}
+
{{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|}}}|--|&ndash;}}|-|&ndash;}}]]|}}|{{#if:{{{pages|}}}|, pp. [[pages::{{#replace:{{#replace:{{{pages|}}}|--|&ndash;}}|-|&ndash;}}]]|'''Missing [[Missing::chapter/pages]]'''}}}}
{{#if:{{{address|}}}|[[address::{{{address|}}}]]:&nbsp;|}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}.
{{#if:{{{address|}}}|[[address::{{{address|}}}]]:&nbsp;|}}{{#if:{{{publisher|}}}|[[publisher::{{{publisher|}}}]]|'''Missing [[Missing::publisher]]'''}}, {{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}.
Line 65: Line 66:
{{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{howpublished|}}}|[[howpublished::{{{howpublished|}}}]].&nbsp;|}}{{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#if:{{{year|}}}|[[year::{{{year|}}}]]|'''Missing [[Missing::year]]'''}}.
{{DISPLAYTITLE:“{{{title|}}}”}}{{#if:{{{howpublished|}}}|[[howpublished::{{{howpublished|}}}]].&nbsp;|}}{{#if:{{{month|}}}|{{TranslateMonth|{{{month|}}}}}&nbsp;|}}{{#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:{{{abstract|}}}|<blockquote>'''Abstract:''' [[abstract::{{{abstract|}}}]]</blockquote>|}}
+
{{#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|&mdash;]]</blockquote>}}
-
{{#if:{{{url|}}}|==Download paper==
+
{{#if:{{{document|}}}|==Download paper==
-
[{{{url|}}} {{#if:{{{title|}}}|{{{title|}}}|Download}} ]|}}
+
{{#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>
+
<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.

Personal tools
Navigators toolbox