Template:RefsExt: Difference between revisions

From CSDMS
Created page with "{{#default_form:Reference-auto1}}<noinclude>This is the "RefsExt" template; it should be called with the following structure: <pre>{{RefsExt |Pagename= |DOI-entry= |Firstname=..."
 
No edit summary
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#default_form:Reference-auto1}}<noinclude>This is the "RefsExt" template; it should be called with the following structure:
{{#default_form:Reference-auto1}}<noinclude>This is the "RefsExt" template; it should be called with the following structure:
<pre>{{RefsExt
<pre>{{RefsExt
|Pagename=
|DOIentry=
|DOI-entry=
|Name=
|Firstname=
|Firstname=
|Lastname=
|Lastname=
|Tag=
|ItemType=
|Title=
|PublicationTitle=
|Booktitle=
|JournalAbbreviation=
|Volume=
|Issue=
|ISSN=
|Url=
|DOI=
|Pagenumbers=
|Publicationdate=
|AbstractNote=
|Language=
|LibraryCatalog=
|AccessDate=
}}
}}
Edit the page to see the template text.
</pre>
 
{{#cargo_declare:_table=RefsExt|Pagename=Page|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|Pagenumbers=String|Publicationdate=Integer|AbstractNote=String|Language=String|LibraryCatalog=String|AccessDate=Date}}


{{#cargo_declare:_table=RefsExt|DOIentry=String|Name=String|Firstname=String|Lastname=String}}
</noinclude><includeonly>
</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}}
{{!}}-
 
{{!}} Name
 
{{!}} {{{Lastname}}}, {{{Firstname}}} {{{Name}}}
{{#cargo_store:_table=RefsExt|DOI-entry={{{DOI-entry|}}}|Firstname={{{First Name|}}}|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|}}} }}
{{!}}-
 
{{#cargo_store:_table=RefsExt|DOIentry={{{DOIentry|}}}|Name={{{Name|}}}|Firstname={{{Firstname|}}}|Lastname={{{Lastname|}}} }} </includeonly>
{{#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}}}.}}
{|style="width: 45%;"
|- style="vertical-align:top;"
|style="width: 30%; text-align:left;"|Item Type
|style="width: 70%; text-align:left;"|{{{Item Type}}}
|}
{|style="width: 45%;"
|- style="vertical-align:top;"
| style="width: 30%; text-align:left;"|Author(s)
| style="width: 70%; text-align:left;"|{{{First Name}}}, {{{Last Name}}};&nbsp;
|}
{|style="width: 45%;"
|- style="vertical-align:top;"
| style="width: 30%; text-align:left;"|Tag(s)
| style="width: 70%; text-align:left;"|{{{Tag}}},&nbsp;
|}
{|style="width: 45%;"
|- style="vertical-align:top;"
|style="width: 30%; text-align:left;"|Title
|style="width: 70%; text-align:left;"|{{{Title}}}
|- style="vertical-align:top;"
|Journal
|{{{Journal}}}
|- style="vertical-align:top;"
|Journal Abbreviation
|{{{Journal Abbreviation}}}
|- style="vertical-align:top;"
|Book title
|{{{booktitle}}}
|- style="vertical-align:top;"
 
|Volume
|{{{Volume}}}
|- style="vertical-align:top;"
|Issue
|{{{Issue}}}
|- style="vertical-align:top;"
|ISSN
|{{{ISSN}}}
|- style="vertical-align:top;"
|URL
|[{{{URL}}} external URL]
|- style="vertical-align:top;"
|DOI
|{{{DOI}}}
|- style="vertical-align:top;"
|Pages
|{{{Pages}}}
|- style="vertical-align:top;"
|Date
|{{{Date}}}
|- style="vertical-align:top;"
|Abstract
|{{{Abstract}}}
|- style="vertical-align:top;"
|Language
|{{{Language}}}
|- style="vertical-align:top;"
|Catalog
|{{{Catalog}}}
|- style="vertical-align:top;"
|Retrieve date
|{{{Retrieve date}}}
|}
</includeonly>

Latest revision as of 17:19, 18 February 2022

This is the "RefsExt" template; it should be called with the following structure:

{{RefsExt
|DOIentry=
|Name=
|Firstname=
|Lastname=
}}

This template defines the table "RefsExt". View table.