Difference between revisions of "Template:Reference Material"
From Thermodynamics of Computation
Line 39: | Line 39: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly> | + | </noinclude><includeonly><!-- We get the authors in two different "arrays" from the API. We need to combine the first element of each array together, then the second, etc. --> |
+ | ;'''authors:''' {{#vardefine:i|0}}{{#arraymap:{{#mendeley:{{{doi|}}}|authors;last_name}}|,|xyz| | ||
+ | :[[Author::{{#explode:{{#mendeley:{{{doi|}}}|authors;first_name}}|,|{{#var:i}}}} {{#explode:{{#mendeley:{{{doi|}}}|authors;last_name}}|,|{{#var:i}}}}]] | ||
+ | {{#vardefine:i|{{#expr:{{#var:i}}+1}} }} | ||
+ | |\n}} | ||
{{#arraymap: | {{#arraymap: | ||
title | title | ||
Line 77: | Line 81: | ||
'''x:''' [[x::{{{x|{{#mendeley:{{{doi|}}}|identifiers;x}}}}}]] | '''x:''' [[x::{{{x|{{#mendeley:{{{doi|}}}|identifiers;x}}}}}]] | ||
}}|\n\n}} | }}|\n\n}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!--'''Date published:''' [[Date published::{{{year|{{#mendeley:{{{doi|}}}|year}}}}}, {{{month|{{#mendeley:{{{doi|}}}|month}}}}} {{{day|{{#mendeley:{{{doi|}}}|day}}}}}]]--> | <!--'''Date published:''' [[Date published::{{{year|{{#mendeley:{{{doi|}}}|year}}}}}, {{{month|{{#mendeley:{{{doi|}}}|month}}}}} {{{day|{{#mendeley:{{{doi|}}}|day}}}}}]]--> |
Revision as of 20:13, March 8, 2018
This is the "Reference Material" template. It should be called in the following format:
{{Reference Material |title= |type= |year= |source= |issn= |sgr= |doi= |isbn= |pmid= |arxiv= |scopus= |pui= |abstract= |Mendeley link= |month= |day= |date published= |revision= |pages= |volume= |issue= |websites= |publisher= |city= |editions= |institution= |series= |chapter= |language= |genre= |country= |department= }}
Edit the page to see the template text.