Difference between revisions of "Template:SetBibliographyItemJournalArticle"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is called from within the [[Template:BibliographyItem|BibliographyItem]] template to define an individual journal article entry in accord with the specifications of the <code><nowiki>#scite</nowiki></code> parser. Items defined through this become part of the Semantic Cite mechanism used by this encyclopedia.
+
This template is called from within the [[Template:SetBibliographyItem|SetBibliographyItem]] template to define an individual journal article entry in accord with the specifications of the <code><nowiki>#scite</nowiki></code> parser. Items defined through this become part of the Semantic Cite mechanism used by this encyclopedia.
  
Parameters:
+
'''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
 +
 
 +
'''Parameters:'''
 
* <code><nowiki>|citation key=</nowiki></code> - the citation key of this resource, e.g. "Laudan (1988)".
 
* <code><nowiki>|citation key=</nowiki></code> - the citation key of this resource, e.g. "Laudan (1988)".
 
* <code><nowiki>|author=</nowiki></code> - the author(s) of the resource. If multiple authors need to be specified, a comma delimited array can be passed here.  
 
* <code><nowiki>|author=</nowiki></code> - the author(s) of the resource. If multiple authors need to be specified, a comma delimited array can be passed here.  
Line 8: Line 10:
 
* <code><nowiki>|year=</nowiki></code> - the year of first publication.  
 
* <code><nowiki>|year=</nowiki></code> - the year of first publication.  
 
* <code><nowiki>|publisher=</nowiki></code> - the name of the publishing company.  
 
* <code><nowiki>|publisher=</nowiki></code> - the name of the publishing company.  
 +
* <code><nowiki>|abstract=</nowiki></code> - the abstract or a short synopsis of the resource.
 
* <code><nowiki>|isbn=</nowiki></code> - the ISBN number of the publication.
 
* <code><nowiki>|isbn=</nowiki></code> - the ISBN number of the publication.
* <code><nowiki>|url=</nowiki></code> - if the resource is online, the stable URL of the resource.  
+
* <code><nowiki>|hyperlinkurl=</nowiki></code> - if the resource is online, the stable hyperlinkurl of the resource.  
 
* <code><nowiki>|doi=</nowiki></code> - the DOI of the resource, if available.  
 
* <code><nowiki>|doi=</nowiki></code> - the DOI of the resource, if available.  
 
* <code><nowiki>|journal=</nowiki></code> - the title of the journal.
 
* <code><nowiki>|journal=</nowiki></code> - the title of the journal.
Line 15: Line 18:
 
* <code><nowiki>|number=</nowiki></code> - the number of the journal issue.
 
* <code><nowiki>|number=</nowiki></code> - the number of the journal issue.
 
* <code><nowiki>|pages=</nowiki></code> - the pages where the resource is located. Don't use "p." or "pp." just indicate the page numbers, e.g. "61-116".
 
* <code><nowiki>|pages=</nowiki></code> - the pages where the resource is located. Don't use "p." or "pp." just indicate the page numbers, e.g. "61-116".
</noinclude>
+
 
<includeonly><!--
+
</noinclude><includeonly><!--
 
-->{{#scite:{{{citation key|}}}<!--
 
-->{{#scite:{{{citation key|}}}<!--
--> |type=journal article<!--
+
-->|type=journal article<!--
--> |author={{{author|}}}<!--
+
-->|author={{{author|}}}<!--
--> |title={{{title|}}}<!--
+
-->|title={{{title|}}}<!--
--> |year={{{year|}}}<!--
+
-->|year={{{year|}}}<!--
--> |publisher={{{publisher|}}}<!--
+
-->|publisher={{{publisher|}}}<!--
--> |isbn={{{isbn|}}}<!--
+
-->|abstract={{{abstract|}}}<!--
--> |url={{{url|}}}<!--
+
-->|isbn={{{isbn|}}}<!--
--> |doi={{{doi|}}}<!--
+
-->|hyperlinkurl={{{hyperlinkurl|}}}<!--
--> |journal={{{journal|}}}<!--
+
-->|doi={{{doi|}}}<!--
--> |volume={{{volume|}}}<!--
+
-->|journal={{{journal|}}}<!--
--> |number={{{number|}}}<!--
+
-->|volume={{{volume|}}}<!--
--> |pages={{{pages|}}}<!--
+
-->|number={{{number|}}}<!--
 +
-->|pages={{{pages|}}}<!--
 +
-->}}<!--
 +
--><!-- set the citation text
 +
-->{{#set: Citation Text=<!--
 +
  -->{{SciteAPAJournalArticleResourceFormatter<!--
 +
    -->|author={{{author|}}}<!--
 +
    -->|title={{{title|}}}<!--
 +
    -->|year={{{year|}}}<!--
 +
    -->|publisher={{{publisher|}}}<!--
 +
    -->|isbn={{{isbn|}}}<!--
 +
    -->|hyperlinkurl={{{hyperlinkurl|}}}<!--
 +
    -->|doi={{{doi|}}}<!--
 +
    -->|journal={{{journal|}}}<!--
 +
    -->|volume={{{volume|}}}<!--
 +
    -->|number={{{number|}}}<!--
 +
    -->|pages={{{pages|}}}<!--
 +
    -->|removelinks<!--
 +
  -->}}<!--
 
-->}}</includeonly>
 
-->}}</includeonly>

Latest revision as of 22:26, 27 August 2016

This template is called from within the SetBibliographyItem template to define an individual journal article entry in accord with the specifications of the #scite parser. Items defined through this become part of the Semantic Cite mechanism used by this encyclopedia.

NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.

Parameters:

  • |citation key= - the citation key of this resource, e.g. "Laudan (1988)".
  • |author= - the author(s) of the resource. If multiple authors need to be specified, a comma delimited array can be passed here.
  • |title= - the title of the resource.
  • |year= - the year of first publication.
  • |publisher= - the name of the publishing company.
  • |abstract= - the abstract or a short synopsis of the resource.
  • |isbn= - the ISBN number of the publication.
  • |hyperlinkurl= - if the resource is online, the stable hyperlinkurl of the resource.
  • |doi= - the DOI of the resource, if available.
  • |journal= - the title of the journal.
  • |volume= - the volume of the journal issue.
  • |number= - the number of the journal issue.
  • |pages= - the pages where the resource is located. Don't use "p." or "pp." just indicate the page numbers, e.g. "61-116".