Difference between revisions of "Template:Publication"

From GMOD
Jump to: navigation, search
m (Protected "Template:Publication": Please email help@gmod.org if you want to edit this template. (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
m
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
|5= {{#arrayprint: authorlist ||@|<span class="author">@</span>|print=pretty}}.
 
|5= {{#arrayprint: authorlist ||@|<span class="author">@</span>|print=pretty}}.
 
|#default= <span class="author">{{#arrayindex: authorlist | 0 }}</span> <i>et al</i>.
 
|#default= <span class="author">{{#arrayindex: authorlist | 0 }}</span> <i>et al</i>.
}} <span class='title'>{{{Title}}}</span> <span class='container hcite'>{{#if:{{{JournalAbbrev|}}}|<abbr class='journal' title="{{{JournalFullName}}}">{{{JournalAbbrev}}}</abbr>|<span class='journal'>{{{JournalFullName}}}</span>}} <span class='pubdate' title="Published in {{{Year}}}">{{{Year}}}</span> <span class='volume' title="Volume {{{Volume}}}">{{{Volume}}}</span>{{#if:{{{Issue|}}}|(<span class="issue" title="Issue {{{Issue}}}">{{{Issue}}}</span>)}}{{#if:{{{Pages|}}}|&#32;<span class='page' title="Pages">{{{Pages}}}</span>}}</span><br>
+
}} <span class='title'>{{{Title}}}</span> <span class='container hcite'>{{#if:{{{JournalAbbrev|}}}|<abbr class='journal' title="{{{JournalFullName}}}">{{{JournalAbbrev}}}</abbr>|<span class='journal'>{{{JournalFullName}}}</span>}} <span class='pubdate' title="Published in {{{Year}}}">{{{Year}}}</span> {{#if:{{{Volume|}}}|<span class='volume' title="Volume {{{Volume}}}">{{{Volume}}}</span>}}{{#if:{{{Issue|}}}|(<span class="issue" title="Issue {{{Issue}}}">{{{Issue}}}</span>)}}{{#if:{{{Pages|}}}|&#32;<span class='page' title="Pages">{{{Pages}}}</span>}}</span><br>
 
{{#if: {{{DOI|}}} |[http://dx.doi.org/{{{DOI}}} {{#if:{{{DOI COinS|}}}|{{{DOI COinS}}}| DOI:{{{DOI}}} }}]&#32;&#32;}}{{#if: {{{PMCID|}}} |[http://www.ncbi.nlm.nih.gov/pmc/articles/{{{PMCID}}} PMCID:{{{PMCID}}}]&#32;&#32;}}{{#if: {{{PMID|}}} |[http://www.ncbi.nlm.nih.gov/pubmed/{{{PMID}}} {{#if:{{{PMID COinS|}}}|{{{PMID COinS}}}| PMID:{{{PMID}}} }}]&#32;&#32;}}</span>
 
{{#if: {{{DOI|}}} |[http://dx.doi.org/{{{DOI}}} {{#if:{{{DOI COinS|}}}|{{{DOI COinS}}}| DOI:{{{DOI}}} }}]&#32;&#32;}}{{#if: {{{PMCID|}}} |[http://www.ncbi.nlm.nih.gov/pmc/articles/{{{PMCID}}} PMCID:{{{PMCID}}}]&#32;&#32;}}{{#if: {{{PMID|}}} |[http://www.ncbi.nlm.nih.gov/pubmed/{{{PMID}}} {{#if:{{{PMID COinS|}}}|{{{PMID COinS}}}| PMID:{{{PMID}}} }}]&#32;&#32;}}</span>
{{#set:Has title={{{Title}}}|Published in={{{JournalFullName}}}|Has publication details={{{JournalFullName}}} {{{Volume|}}}:{{{Issue|}}} {{{Pages}}}|Date published={{{Year}}}}}{{#arraymap:{{{Author}}}|:|@|{{#set:Has author=@}}}}{{#if:{{{PMID|}}}|{{#set:Has PMID={{{PMID}}}}}}}{{#if:{{{PMCID|}}}|{{#set:Has PMCID={{{PMCID}}}}}}}{{#if:{{{DOI|}}}|{{#set:Has DOI={{{DOI}}}}}}}
+
{{#set:Has title={{{Title}}}|Published in={{{JournalFullName}}}|Has publication details={{{JournalFullName}}} {{{Volume|}}}:{{{Issue|}}} {{{Pages|}}}|Date published={{{Year}}}}}{{#arraymap:{{{Author}}}|:|@|{{#set:Has author=@}}}}{{#if:{{{PMID|}}}|{{#set:Has PMID={{{PMID}}}}}}}{{#if:{{{PMCID|}}}|{{#set:Has PMCID={{{PMCID}}}}}}}{{#if:{{{DOI|}}}|{{#set:Has DOI={{{DOI}}}}}}}

Latest revision as of 17:26, 15 November 2013

This is the "Publication" template. It should be called in the following format:

{{Publication
|Author=
|Title=
|JournalAbbrev=
|JournalFullName=
|Year=
|Volume=
|Issue=
|Pages=
|PMID=
|DOI=
|DOI COinS=
|PMCID=
|PMID COinS=
}}

View the page source to see the template text.