Difference between revisions of "Template:SetBibliographyItemCollectionArticle"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This template is called from within the BibliographyItem template to define an individual collection article entry in accord with the...")
 
 
(18 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 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 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.
  
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>|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=</nowiki></code> - if the resource is in a collection, then indicate the collection's Citation Key here, e.g. "Lakatos (1978)".
* <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".
 
* <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=collection article<!--
+
-->|type=collection 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|}}}<!--
--> |collection editor={{{collection editor|}}}<!--
+
-->|doi={{{doi|}}}<!--
--> |collection author={{{collection author|}}}<!--
+
-->|collection={{{collection|}}}<!--
--> |collection year={{{collection year|}}}<!--
+
-->|pages={{{pages|}}}<!--
--> |collection title={{{collection title|}}}<!--
+
-->}}<!-- set the citation text
--> |pages={{{pages|}}}<!--
+
-->{{#set: Citation Text=<!--
-->}}<!--
+
  -->{{SciteAPACollectionArticleResourceFormatter<!--
 +
    -->|author={{{author|}}}<!--
 +
    -->|title={{{title|}}}<!--
 +
    -->|year={{{year|}}}<!--
 +
    -->|publisher={{{publisher|}}}<!--
 +
    -->|isbn={{{isbn|}}}<!--
 +
    -->|hyperlinkurl={{{hyperlinkurl|}}}<!--
 +
    -->|doi={{{doi|}}}<!--
 +
    -->|collection={{{collection|}}}<!--
 +
    -->|pages={{{pages|}}}<!--
 +
    -->|removelinks<!--
 +
  -->}}<!-- scite
 +
-->}}<!--set
 
--></includeonly>
 
--></includeonly>

Latest revision as of 21:28, 27 August 2016

This template is called from within the SetBibliographyItem template to define an individual collection 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.
  • |collection= - if the resource is in a collection, then indicate the collection's Citation Key here, e.g. "Lakatos (1978)".
  • |pages= - the pages where the resource is located. Don't use "p." or "pp." just indicate the page numbers, e.g. "61-116".