Template:CSDMS reference template: Difference between revisions
From CSDMS
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
{{#get_web_data:url=https://citoid.wikimedia.org/api?format=zotero&search={{{DOI-entry}}}|format=json|data=ref_firstName=firstName,ref_lastName=lastName,ref_title=title,ref_publicationTitle=publicationTitle,ref_journalAbbreviation=journalAbbreviation,ref_volume=volume,ref_issue=issue,ref_ISSN=ISSN,ref_url=url,ref_DOI=DOI,ref_pages=pages,ref_date=date,ref_abstractNote=abstractNote,ref_language=language,ref_libraryCatalog=libraryCatalog,ref_accessDate=accessDate}} | {{#get_web_data:url=https://citoid.wikimedia.org/api?format=zotero&search={{{DOI-entry}}}|format=json|data=ref_firstName=firstName,ref_lastName=lastName,ref_title=title,ref_publicationTitle=publicationTitle,ref_journalAbbreviation=journalAbbreviation,ref_volume=volume,ref_issue=issue,ref_ISSN=ISSN,ref_url=url,ref_DOI=DOI,ref_pages=pages,ref_date=date,ref_abstractNote=abstractNote,ref_language=language,ref_libraryCatalog=libraryCatalog,ref_accessDate=accessDate}} | ||
{{#arraymap:{{#external_value:ref_firstName}}|,|x|[[x]]}} | |||
{{#for_external_table:<nowiki/> | {{#for_external_table:<nowiki/> | ||
First Name={{{ref_firstName}}}<br> | First Name={{{ref_firstName}}}<br> |
Revision as of 16:23, 22 September 2016
This is the 'CSDMS reference template' template. It should be called in the following format:
{{CSDMS_reference_template |DOI-entry= }}
Edit the page to see the template text.
Error while fetching data from URL https://citoid.wikimedia.org/api?format=zotero&search={{{DOI-entry}}}: $2.
Error fetching URL: Could not resolve host: citoid.wikimedia.org
There was a problem during the HTTP request: 0 Error
Could not get URL https://citoid.wikimedia.org/api?format=zotero&search={{{DOI-entry}}} after 3 tries.
[[Error: no local variable "ref_firstName" has been set.]]