Santa Fe Institute Collaboration Platform

Thermodynamics of Computation

Difference between revisions of "Template:Reference Material"

From Thermodynamics of Computation
(Blanked the page)
(Undo revision 825 by Wikiworks (talk))
Line 1: Line 1:
 +
<noinclude>
 +
This is the "Reference Material" template.
 +
It should be called in the following format:
 +
<pre>
 +
{{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=
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>{{#set:Thematic area={{{Thematic area|}}}|Mendeley id={{{Mendeley id|}}}}}
 +
'''reference groups:''' {{#arraymap:{{{reference groups|}}}|,|x|[[reference group::x]]|,&nbsp;}}
 +
<!-- 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::x]]|\n}}
 +
|{{#vardefine:i|0}}{{#arraymap:{{#mendeley:id={{{Mendeley id|}}}|parameter=authors;last_name}}|,|xyz|
 +
:[[Author::{{#explode:{{#mendeley:id={{{Mendeley id|}}}|parameter=authors;first_name}}|,|{{#var:i}}}} {{#explode:{{#mendeley:id={{{Mendeley id|}}}|parameter=authors;last_name}}|,|{{#var:i}}}}]]
 +
{{#vardefine:i|{{#expr:{{#var:i}}+1}} }}
 +
|\n}}}}
 +
{{#arraymap:
 +
title
 +
type
 +
year
 +
source
 +
revision
 +
pages
 +
volume
 +
issue
 +
publisher
 +
city
 +
institution
 +
series
 +
chapter
 +
language
 +
genre
 +
country
 +
department
 +
abstract
 +
link
 +
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}|
 +
'''x:''' [[x::{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}]]
 +
}}|\n\n}}
  
 +
== Identifiers ==
 +
{{#arraymap:
 +
issn
 +
sgr
 +
doi
 +
isbn
 +
pmid
 +
arxiv
 +
scopus
 +
pui
 +
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;x}}}}}|
 +
'''x:''' [[x::{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;x}}}}}]]
 +
}}|\n\n}}<!--'''Date published:''' [[Date published::{{{year|{{#mendeley:id={{{Mendeley id|}}}|parameter=year}}}}}, {{{month|{{#mendeley:id={{{Mendeley id|}}}|parameter=month}}}}} {{{day|{{#mendeley:id={{{Mendeley id|}}}|parameter=day}}}}}]]-->{{#if:{{{websites|{{#mendeley:id={{{Mendeley id|}}}|parameter=websites}}}}}|
 +
'''websites:''' {{#arraymap:{{{websites|}}}|,|x|[[website::x]]}}
 +
}}{{#if:{{{editions|{{#mendeley:id={{{Mendeley id|}}}|parameter=editions}}}}}|
 +
'''editions:''' {{#arraymap:{{{editions|}}}|,|x|[[edition::x]]}}
 +
}}
 +
== Related files ==
 +
{{#arraymap:{{{Related files|}}}|;|x|* [[:File:x|x]]{{#set:Related file=File:x}}|\n}}
 +
[[Category:Reference Materials]]__NOTOC____NOEDITSECTION__</includeonly>

Revision as of 04:44, March 22, 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.