Santa Fe Institute Collaboration Platform

Thermodynamics of Computation

Difference between revisions of "Template:Reference Material"

From Thermodynamics of Computation
(Blanked the page)
(Add edit button)
 
(31 intermediate revisions by one other user not shown)
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><!--
 +
--><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. -->
 +
;authors: {{#if:{{{authors|}}}|{{#set:primary author last name={{{primary author last name|Unknown}}}}}
 +
{{#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}}}}}}}
 +
:{{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}} }}
 +
|\n}}}}
 +
{{#arraymap:
 +
title
 +
type
 +
year
 +
|\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
 +
pages
 +
volume
 +
issue
 +
publisher
 +
city
 +
institution
 +
series
 +
chapter
 +
language
 +
genre
 +
country
 +
department
 +
abstract
 +
|\n|x|{{#if:{{{x|{{#mendeley:id={{{Mendeley id|}}}|parameter=x}}}}}|
 +
; x
 +
: {{{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 ==
 +
{{#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:
 +
issn
 +
sgr
 +
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}}<!--'''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|{{#mendeley:id={{{Mendeley id|}}}|parameter=websites}}}}}|,|x|[[website::x]]}}
 +
}}{{#if:{{{editions|{{#mendeley:id={{{Mendeley id|}}}|parameter=editions}}}}}|
 +
* '''editions:''' {{#arraymap:{{{editions|{{#mendeley:id={{{Mendeley id|}}}|parameter=editions}}}}}|,|x|[[edition::x]]}}
 +
}}
 +
{{#if:{{{Related files|}}}|
 +
== Related files ==
 +
{{#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>

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.