Difference between revisions of "Template:Altmetric lookup"
m |
(revert attempt to add details link) |
||
Line 19: | Line 19: | ||
}} | }} | ||
{{#if: {{#external_value:altscore}} | | {{#if: {{#external_value:altscore}} | | ||
− | According to [http://altmetric.com Almetric], this reference has an Altmetric score of [[Altmetric score:: {{#external_value:altscore}} ]] | + | According to [http://altmetric.com Almetric], this reference has an Altmetric score of [[Altmetric score:: {{#external_value:altscore}} ]]. |
| <!-- else --> | | <!-- else --> | ||
No Altmetric score found. | No Altmetric score found. | ||
}} | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 11:00, 25 August 2015
This template works by querying the official Altmetric API with a given PMID. The returned values are assigned to properties in the calling page.
Example:
{{ Altmetric lookup | pmid = <PMID> }}
Currently we only assign the altmetric 'score' value to the property.
This template defines the property Property:Altmetric_score.