Santa Fe Institute Collaboration Platform

Thermodynamics of Computation

Difference between revisions of "Template:Reference Material"

From Thermodynamics of Computation
(Add edit button)
 
(4 intermediate revisions by one other user 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><!--
 +
--><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}}
 
;reference groups: {{#arraymap:{{{reference groups|}}}|,|x|: [[reference group::x]]|\n}}
 
;author-supplied keywords: {{#arraymap:{{#mendeley:id={{{Mendeley id|}}}|parameter=keywords}}|,|x|: [[keyword::x]]|\n}}
 
;author-supplied keywords: {{#arraymap:{{#mendeley:id={{{Mendeley id|}}}|parameter=keywords}}|,|x|: [[keyword::x]]|\n}}
Line 47: Line 49:
 
{{#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|{{#ifeq:{{#var:i}}|0|{{#set:primary author last name={{{primary author 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 name::{{#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 88: Line 90:
 
== Counts ==
 
== Counts ==
 
;Citation count
 
;Citation count
: [[Citation count::{{#scopus:doi={{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;doi}}|parameter=citedby-count}}]]{{#if:{{#scopus:doi={{#mendeley:id={{{Mendeley id|}}}|parameter=identifiers;doi}}|parameter=citedby-count}}||{{#set:Citation count=0}}}}
+
: [[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
 
: [[Page views::{{#googleanalyticsmetrics:page={{FULLPAGENAME}}|metric=pageviews}}]]
 
: [[Page views::{{#googleanalyticsmetrics:page={{FULLPAGENAME}}|metric=pageviews}}]]
Line 111: Line 113:
 
* '''editions:''' {{#arraymap:{{{editions|{{#mendeley:id={{{Mendeley id|}}}|parameter=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.