Difference between revisions of "Template:SetBibliographyItemCollection"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is used to define an individual collection 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 entry for an edited collection of articles 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.
* <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.  
+
'''Parameters:'''
 +
* <code><nowiki>|citation key=</nowiki></code> - the citation key of this resource, e.g. "Barseghyan (2015)".
 +
* <code><nowiki>|editor=</nowiki></code> - the editor(s) of the collection. If multiple editors 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>|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>|collection editor=</nowiki></code> - if the collection has an editor(s), the name of the editor(s). If multiple editors need to be specified, a comma delimited array can be passed here.
 
* <code><nowiki>|collection author=</nowiki></code> - if the resource is in a collection of the works by the same author(s), the name of the author(s). If multiple authors need to be specified, a comma delimited array can be passed here. If indicated, then <code><nowiki>|collection editor=</nowiki></code> field will be ignored.
 
* <code><nowiki>|collection year=</nowiki></code> - the year when the collection was published. Can be different from the value in the <code><nowiki>|year=</nowiki></code> field. 
 
* <code><nowiki>|collection title=</nowiki></code> - the title of the collection.
 
* <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>
 
</noinclude>
 
+
<includeonly><!--
<includeonly>
+
-->{{#scite:{{{citation key|}}}<!--
{{#scite:{{{citation key|}}}
+
  -->|type=collection<!--
  |type=collection
+
  -->|editor={{{editor|}}}<!--
  |author={{{author|}}}
+
  -->|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|}}}<!--
|collection editor={{{collection editor|}}}
+
-->}}<!--
|collection author={{{collection author|}}}
+
--><!-- set the citation text
|collection year={{{collection year|}}}
+
-->{{#set: Citation Text=<!--
|collection title={{{collection title|}}}
+
  -->{{SciteAPACollectionResourceFormatter<!--
|pages={{{pages|}}}
+
    -->|editor={{{editor|}}}<!--
}}</includeonly>
+
    -->|title={{{title|}}}<!--
 +
    -->|year={{{year|}}}<!--
 +
    -->|publisher={{{publisher|}}}<!--
 +
    -->|isbn={{{isbn|}}}<!--
 +
    -->|hyperlinkurl={{{hyperlinkurl|}}}<!--
 +
    -->|doi={{{doi|}}}<!--
 +
    -->|removelinks<!--
 +
  -->}}<!--
 +
-->}}</includeonly>

Latest revision as of 21:28, 27 August 2016

This template is called from within the SetBibliographyItem template to define an entry for an edited collection of articles 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)".
  • |editor= - the editor(s) of the collection. If multiple editors 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.