Difference between revisions of "Template:Reference Material"
From Thermodynamics of Computation
Line 40: | Line 40: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{#set:Thematic area={{{Thematic area|}}}|Mendeley id={{{Mendeley id|}}}}} | </noinclude><includeonly>{{#set:Thematic area={{{Thematic area|}}}|Mendeley id={{{Mendeley id|}}}}} | ||
− | + | ;reference groups: {{#arraymap:{{{reference groups|}}}|,|x|: [[reference group::x]]|, }} | |
<!-- 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. --> | <!-- 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: {{#if:{{{authors|}}}| |
{{#arraymap:{{{authors|}}}|;|x|: [[Author name::x]]|\n}} | {{#arraymap:{{{authors|}}}|;|x|: [[Author name::x]]|\n}} | ||
|{{#vardefine:i|0}}{{#arraymap:{{#mendeley:id={{{Mendeley id|}}}|parameter=authors;last_name}}|,|xyz| | |{{#vardefine:i|0}}{{#arraymap:{{#mendeley:id={{{Mendeley id|}}}|parameter=authors;last_name}}|,|xyz| | ||
Line 53: | Line 53: | ||
year | year | ||
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}| | |\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}| | ||
− | + | ;x | |
+ | :[[x::{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}]] | ||
}}|\n\n}} | }}|\n\n}} | ||
{{#if:{{{source|{{#mendeley:id={{{Mendeley id|}}}|parameter=source}}}}}| | {{#if:{{{source|{{#mendeley:id={{{Mendeley id|}}}|parameter=source}}}}}| | ||
− | : | + | ;source: |
+ | : [[source name::{{{source|{{#mendeley:id={{{Mendeley id|}}}|parameter=source}}}}}]] | ||
}} | }} | ||
{{#arraymap: | {{#arraymap: | ||
Line 75: | Line 77: | ||
link | link | ||
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}| | |\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}| | ||
− | + | ; x | |
+ | : [[x::{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}]] | ||
}}|\n\n}} | }}|\n\n}} | ||
Revision as of 02:02, March 28, 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.