Difference between revisions of "Template:SetBibliographyItemBook"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is used to define an individual book 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 book 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. "Barseghyan (2015)".
 
* <code><nowiki>|citation key=</nowiki></code> - the citation key of this resource, e.g. "Barseghyan (2015)".
 
* <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.  
 
* <code><nowiki>|title=</nowiki></code> - the title of the resource.  
 
* <code><nowiki>|title=</nowiki></code> - the title of the resource.  
 
* <code><nowiki>|year=</nowiki></code> - the year of first publication.  
 
* <code><nowiki>|year=</nowiki></code> - the year of first publication.  
 +
* <code><nowiki>|abstract=</nowiki></code> - the abstract or a short synopsis of the resource.
 
* <code><nowiki>|publisher=</nowiki></code> - the name of the publishing company.  
 
* <code><nowiki>|publisher=</nowiki></code> - the name of the publishing company.  
 
* <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 URL 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.  
</noinclude>
 
  
<includeonly>{{#scite:{{{citation key|}}}  
+
</noinclude><includeonly><!--
  |type=book
+
-->{{#scite:{{{citation key|}}}<!--
  |author={{{author|}}}
+
  -->|type=book<!--
  |title={{{title|}}}
+
  -->|author={{{author|}}}<!--
  |year={{{year|}}}
+
  -->|title={{{title|}}}<!--
  |publisher={{{publisher|}}}
+
  -->|year={{{year|}}}<!--
  |isbn={{{isbn|}}}
+
-->|abstract={{{abstract|}}}<!--
  |url={{{url|}}}
+
  -->|publisher={{{publisher|}}}<!--
  |doi={{{doi|}}} }}</includeonly>
+
  -->|isbn={{{isbn|}}}<!--
 +
  -->|hyperlinkurl={{{hyperlinkurl|}}}<!--
 +
  -->|doi={{{doi|}}}<!--
 +
-->}}<!--
 +
--><!-- set the citation text
 +
-->{{#set: Citation Text=<!--
 +
  -->{{SciteAPABookResourceFormatter<!--
 +
    -->|author={{{author|}}}<!--
 +
    -->|title={{{title|}}}<!--
 +
    -->|year={{{year|}}}<!--
 +
    -->|publisher={{{publisher|}}}<!--
 +
    -->|isbn={{{isbn|}}}<!--
 +
    -->|hyperlinkurl={{{hyperlinkurl|}}}<!--
 +
    -->|doi={{{doi|}}}<!--
 +
    -->|removelinks<!--
 +
  -->}}<!--
 +
-->}}<!--
 +
--></includeonly>

Latest revision as of 21:27, 27 August 2016

This template is called from within the SetBibliographyItem template to define an individual book 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. "Barseghyan (2015)".
  • |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.
  • |abstract= - the abstract or a short synopsis of the resource.
  • |publisher= - the name of the publishing company.
  • |isbn= - the ISBN number of the publication.
  • |hyperlinkurl= - if the resource is online, the stable URL of the resource.
  • |doi= - the DOI of the resource, if available.