Template:CSDMS reference template cargo: Difference between revisions

From CSDMS
No edit summary
No edit summary
Line 1: Line 1:
{{#default_form:Reference-auto1}}<noinclude>
{{#default_form:Reference-auto1}}{{#get_web_data:url=https://citoid.wikimedia.org/api?format=zotero&search={{{DOI-entry}}}|format=json|data=Firstname=firstName,Lastname=lastName,ItemType=itemType,Tag=tag,Title=title,PublicationTitle=publicationTitle,Booktitle=bookTitle,JournalAbbreviation=journalAbbreviation,Volume=volume,Issue=issue,ISSN=ISSN,Url=url,DOI=DOI,Pagenumbers=pages,Publicationdate=date,AbstractNote=abstractNote,Language=language,LibraryCatalog=libraryCatalog,AccessDate=accessDate}}
This is the 'CSDMS reference template cargo' template.


Edit the page to see the template text.


{{#cargo_declare:_table=RefsExt|DOI-entry=String|Firstname=List (,) of String|Lastname=List (,) of String|Tag=List (,) of String|ItemType=String|Title=String|PublicationTitle=String|Booktitle=String|JournalAbbreviation=String|Volume=Integer|Issue=Integer|ISSN=String|Url=String|DOI=String|Pages=String|Date=Integer|AbstractNote=String|Language=String|LibraryCatalog=String|AccessDate=Date}}
</noinclude><includeonly>
{{#get_web_data:url=https://citoid.wikimedia.org/api?format=zotero&search={{{DOI-entry}}}|format=json|data=First Name=firstName,Last Name=lastName,Item Type=itemType,Tag=tag,Title=title,Journal=publicationTitle,booktitle=bookTitle,Journal Abbreviation=journalAbbreviation,Volume=volume,Issue=issue,ISSN=ISSN,URL=url,DOI=DOI,Pages=pages,Date=date,Abstract=abstractNote,Language=language,Catalog=libraryCatalog,Retrieve date=accessDate}}
{{#cargo_store:_table=RefsExt|DOI-entry={{{DOI-entry|}}}|Firstname={{{firstName|}}}|Lastname={{{Last Name|}}}||Tag={{{Tag|}}}|ItemType={{{Item Type|}}}|Title={{{Title|}}}|PublicationTitle={{{Journal|}}}|Booktitle={{{booktitle|}}}|JournalAbbreviation={{{Journal Abbreviation|}}}|Volume={{{Volume|}}}|Issue={{{Issue|}}}|ISSN={{{ISSN|}}}|Url={{{URL|}}}|DOI={{{DOI|}}}|Pages={{{Pages|}}}|Date={{{Date|}}}|AbstractNote={{{Abstract|}}}|Language={{{Language|}}}|LibraryCatalog={{{Catalog|}}}|AccessDate={{{Retrieve date|}}} }}


{{#if:{{{Date}}}|{{{Last Name}}}, {{{First Name}}};&nbsp;{{#time:Y|{{{Date}}} }}.&nbsp;{{{Title}}}, {{{Journal}}}, {{{Volume}}}, {{{Pages}}}.|{{{Last Name}}}, {{{First Name}}};&nbsp;.&nbsp;{{{Title}}}, {{{Journal}}}, {{{Volume}}}, {{{Pages}}}.}}
{{#if:{{{Date}}}|{{{Last Name}}}, {{{First Name}}};&nbsp;{{#time:Y|{{{Date}}} }}.&nbsp;{{{Title}}}, {{{Journal}}}, {{{Volume}}}, {{{Pages}}}.|{{{Last Name}}}, {{{First Name}}};&nbsp;.&nbsp;{{{Title}}}, {{{Journal}}}, {{{Volume}}}, {{{Pages}}}.}}

Revision as of 12:15, 3 November 2016

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.


{{{Last Name}}}, {{{First Name}}}; Error: Invalid time.. {{{Title}}}, {{{Journal}}}, {{{Volume}}}, {{{Pages}}}.

Item Type {{{Item Type}}}
Author(s) {{{First Name}}}, {{{Last Name}}}; 
Tag(s) {{{Tag}}}, 
Title {{{Title}}}
Journal {{{Journal}}}
Journal Abbreviation {{{Journal Abbreviation}}}
Book title {{{booktitle}}}
Volume {{{Volume}}}
Issue {{{Issue}}}
ISSN {{{ISSN}}}
URL [{{{URL}}} external URL]
DOI {{{DOI}}}
Pages {{{Pages}}}
Date {{{Date}}}
Abstract {{{Abstract}}}
Language {{{Language}}}
Catalog {{{Catalog}}}
Retrieve date {{{Retrieve date}}}

</includeonly>