Difference between revisions of "Template:SetBibliographyItemBook"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(8 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 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.
  
 
'''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.  
 
'''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.  
Line 9: Line 9:
 
* <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><!--
+
</noinclude><includeonly><!--
 
-->{{#scite:{{{citation key|}}}<!--
 
-->{{#scite:{{{citation key|}}}<!--
 
  -->|type=book<!--
 
  -->|type=book<!--
Line 20: Line 21:
 
  -->|title={{{title|}}}<!--
 
  -->|title={{{title|}}}<!--
 
  -->|year={{{year|}}}<!--
 
  -->|year={{{year|}}}<!--
 +
-->|abstract={{{abstract|}}}<!--
 
  -->|publisher={{{publisher|}}}<!--
 
  -->|publisher={{{publisher|}}}<!--
 
  -->|isbn={{{isbn|}}}<!--
 
  -->|isbn={{{isbn|}}}<!--
  -->|url={{{url|}}}<!--
+
  -->|hyperlinkurl={{{hyperlinkurl|}}}<!--
 
  -->|doi={{{doi|}}}<!--
 
  -->|doi={{{doi|}}}<!--
 
-->}}<!--
 
-->}}<!--
 
--><!-- set the citation text
 
--><!-- set the citation text
-->{{#set: Citation Text={{SciteAPABookResourceFormatter<!--
+
-->{{#set: Citation Text=<!--
                      -->|author={{{author|}}}<!--
+
  -->{{SciteAPABookResourceFormatter<!--
                      -->|title={{{title|}}}<!--
+
    -->|author={{{author|}}}<!--
                      -->|year={{{year|}}}<!--
+
    -->|title={{{title|}}}<!--
                      -->|publisher={{{publisher|}}}<!--
+
    -->|year={{{year|}}}<!--
                      -->|isbn={{{isbn|}}}<!--
+
    -->|publisher={{{publisher|}}}<!--
                      -->|url={{{url|}}}<!--
+
    -->|isbn={{{isbn|}}}<!--
                      -->|doi={{{doi|}}}<!--
+
    -->|hyperlinkurl={{{hyperlinkurl|}}}<!--
                      -->}}<!--
+
    -->|doi={{{doi|}}}<!--
-->}}<!-- set
+
    -->|removelinks<!--
 +
  -->}}<!--
 +
-->}}<!--  
 
--></includeonly>
 
--></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.