Santa Fe Institute Collaboration Platform

Thermodynamics of Computation

Difference between revisions of "Template:Reference Material"

From Thermodynamics of Computation
(Add edit button)
 
(36 intermediate revisions by 2 users not shown)
Line 39: Line 39:
 
</pre>
 
</pre>
 
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><!--
'''reference groups:''' {{#arraymap:{{{reference groups|}}}|,|x|[[reference group::x]]|,&nbsp;}}
+
--><div class="pull-right" style="margin-right: 10px;">{{EditWithForm|Reference Material}}</div><!--
 +
-->{{#set:Mendeley id={{{Mendeley id|}}}}}
 +
;reference groups: {{#arraymap:{{{reference groups|}}}|,|x|: [[reference group::x]]|\n}}
 +
;author-supplied keywords: {{#arraymap:{{#mendeley:id={{{Mendeley id|}}}|parameter=keywords}}|,|x|: [[keyword::x]]|\n}}
 +
;keywords: {{#arraymap:{{{Keywords|}}}|;|x|: [[keyword::x]]|\n}}
 
<!-- 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|}}}|
+
;authors: {{#if:{{{authors|}}}|{{#set:primary author last name={{{primary author last name|Unknown}}}}}
{{{#arraymap:{{{authors|}}}|;|x|: [[Author: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|{{#ifeq:{{#var:i}}|0|{{#set:primary author last name={{{primary author 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}}}}]]
+
:{{Do Author name|{{#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}} }}
 
{{#vardefine:i|{{#expr:{{#var:i}}+1}} }}
 
|\n}}}}
 
|\n}}}}
Line 52: Line 56:
 
type
 
type
 
year
 
year
source
+
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}|
 +
;x
 +
:[[x::{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}]]
 +
}}|\n}}
 +
{{#if:{{{source|{{#mendeley:id={{{Mendeley id|}}}|parameter=source}}}}}|
 +
;source:
 +
: [[source name::{{{source|{{#mendeley:id={{{Mendeley id|}}}|parameter=source}}}}}]]
 +
}}
 +
{{#arraymap:
 
revision
 
revision
 
pages
 
pages
Line 67: Line 79:
 
department
 
department
 
abstract
 
abstract
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}}}}}]]
+
; x
}}|\n\n}}
+
: {{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}{{#set:x={{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}}}
 +
}}|\n}}
 +
{{#if:{{{link|{{#mendeley:id={{{Mendeley id|}}}|parameter=link}}}}}|
 +
; link
 +
: {{#googleanalyticstrackurl:{{{link|{{#mendeley:id={{{Mendeley id|}}}|parameter=link}}}}}|{{{link|{{#mendeley:id={{{Mendeley id|}}}|parameter=link}}}}}}}([[Link clicks::{{#googleanalyticsmetrics:metric=totalEvents|url={{{link|{{#mendeley:id={{{Mendeley id|}}}|parameter=link}}}}}}}]]){{#set:link={{{link|{{#mendeley:id={{{Mendeley id|}}}|parameter=link}}}}}}}
 +
}}
 +
 
 +
== Counts ==
 +
;Citation count
 +
: [[Citation count::{{{citation count|{{#scopus:doi={{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;doi}}|parameter=citedby-count}}}}}]]{{#if:{{{citation count|{{#scopus:doi={{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;doi}}|parameter=citedby-count}}}}}||{{#set:Citation count=0}}}}
 +
;Page views
 +
: [[Page views::{{#googleanalyticsmetrics:page={{FULLPAGENAME}}|metric=pageviews}}]]
  
 
== Identifiers ==
 
== Identifiers ==
 +
{{#if:{{{doi|{{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;doi}}}}}|
 +
* '''doi:''' [[doi::{{{doi|{{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;doi}}}}}]] ([https://www.google.com/search?q={{urlencode:{{{doi|{{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;doi}}}}}}} Google search])
 +
}}
 
{{#arraymap:
 
{{#arraymap:
 
issn
 
issn
 
sgr
 
sgr
doi
 
 
isbn
 
isbn
 
pmid
 
pmid
Line 83: Line 107:
 
pui
 
pui
 
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;x}}}}}|
 
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;x}}}}}|
'''x:''' [[x::{{{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}}}}}|
+
}}|\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]]}}
+
* '''websites:''' {{#arraymap:{{{websites|{{#mendeley:id={{{Mendeley id|}}}|parameter=websites}}}}}|,|x|[[website::x]]}}
 
}}{{#if:{{{editions|{{#mendeley:id={{{Mendeley id|}}}|parameter=editions}}}}}|
 
}}{{#if:{{{editions|{{#mendeley:id={{{Mendeley id|}}}|parameter=editions}}}}}|
'''editions:''' {{#arraymap:{{{editions|}}}|,|x|[[edition::x]]}}
+
* '''editions:''' {{#arraymap:{{{editions|{{#mendeley:id={{{Mendeley id|}}}|parameter=editions}}}}}|,|x|[[edition::x]]}}
 
}}
 
}}
 +
{{#if:{{{Related files|}}}|
 
== Related files ==
 
== Related files ==
 
{{#arraymap:{{{Related files|}}}|;|x|* [[:File:x|x]]{{#set:Related file=File:x}}|\n}}
 
{{#arraymap:{{{Related files|}}}|;|x|* [[:File:x|x]]{{#set:Related file=File:x}}|\n}}
 +
}}
 +
{{#if:{{{Related videos|}}}|
 +
== Videos ==
 +
{{#arraymap:{{{Related videos|}}}|\n|x|{{#evu:x|alignment=inline|dimensions=300}}|\n}}
 +
}}
 
[[Category:Reference Materials]]__NOTOC____NOEDITSECTION__</includeonly>
 
[[Category:Reference Materials]]__NOTOC____NOEDITSECTION__</includeonly>

Latest revision as of 19:24, March 22, 2019

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.