Difference between revisions of "Template:SciteAPACollectionArticleResourceFormatter"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This template is used by the Semantic Cite mechanism to format collection articles resources in the APA style. Parameters: * <code><nowiki>|author=</nowiki></code...")
 
Line 10: Line 10:
 
* <code><nowiki>|url=</nowiki></code> - if the resource is online, the stable URL of the resource.  
 
* <code><nowiki>|url=</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.  
* <code><nowiki>|collection editor=</nowiki></code> - if the resource is in a collection and 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> - the Citation Key of the collection in which the article is included, 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> - if the resource is in a collection, the year when the collection was published.  
 
* <code><nowiki>|collection title=</nowiki></code> - if the resource is in a collection, the title of the collection.
 
 
* <code><nowiki>|pages=</nowiki></code> - if the resource is in a collection or a journal, 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> - if the resource is in a collection or a journal, 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>{{#if: {{{authors|}}} |{{{authors}}}|{{{author}}}}}. ({{{year}}}) {{{title}}}. In {{#if: {{{collection author|}}} |{{{collection author}}}|{{#if: {{{collection editors|}}} |{{{collection editors}}} (eds.)|{{{collection editor}}} (ed.)}}}} ({{{collection year}}}){{#if: {{{collection title|}}} |'' {{{collection title}}}''|}}{{#if: {{{publisher|}}} |. {{{publisher}}}|}}{{#if: {{{pages|}}} |, {{{pages}}}.|.}}{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: [http://dx.doi.org/{{{doi}}} {{{doi}}}.]}}{{#if: {{{url|}}} |<nowiki> </nowiki>Retrieved from [{{{url}}} {{{url}}}].}}</includeonly>
+
-->{{AuthorsArrayLastNameCommaFirstName|authors={{{author|}}} }}<!--
 +
-->. ({{{year}}}) {{{title}}}.<!--
 +
-->In [[{{{collection}}}]]<!--
 +
-->{{#if: {{{publisher|}}} |. {{{publisher}}}|}}<!--
 +
-->{{#if: {{{pages|}}} |, {{{pages}}}.|.}}<!--
 +
-->{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: [http://dx.doi.org/{{{doi}}} {{{doi}}}.]}}<!--
 +
-->{{#if: {{{url|}}} |<nowiki> </nowiki>Retrieved from [{{{url}}} {{{url}}}].}}</includeonly>

Revision as of 03:30, 13 August 2016

This template is used by the Semantic Cite mechanism to format collection articles resources in the APA style.

Parameters:

  • |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.
  • |isbn= - the ISBN number of the publication.
  • |url= - if the resource is online, the stable URL of the resource.
  • |doi= - the DOI of the resource, if available.
  • |collection= - the Citation Key of the collection in which the article is included, e.g. "Lakatos (1978)"
  • |pages= - if the resource is in a collection or a journal, the pages where the resource is located. Don't use "p." or "pp." just indicate the page numbers, e.g. "61-116".