Difference between revisions of "Template:SciteAPACollectionArticleResourceFormatter"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 12: Line 12:
 
* <code><nowiki>|collection=</nowiki></code> - the Citation Key of the collection in which the article is included, e.g. "Lakatos (1978)"
 
* <code><nowiki>|collection=</nowiki></code> - the Citation Key of the collection in which the article is included, e.g. "Lakatos (1978)"
 
* <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".
 +
* <code><nowiki>|removelinks=</nowiki></code> - yes to remove wiki links.
  
 
</noinclude>
 
</noinclude>
Line 17: Line 18:
 
-->{{PrintAuthorsArrayLastNameCommaFirstName|authors={{{author|}}} }}<!--
 
-->{{PrintAuthorsArrayLastNameCommaFirstName|authors={{{author|}}} }}<!--
 
-->. ({{{year}}}) {{{title}}}.<!--
 
-->. ({{{year}}}) {{{title}}}.<!--
--> In [[{{{collection}}}]]<!--
+
--><nowiki> </nowiki>In {{#ifexpr: {{{removelinks|}}}=yes|{{{collection}}}|[[{{{collection}}}]]}}<!--
 
-->{{#if: {{{publisher|}}} |. {{{publisher}}}|}}<!--
 
-->{{#if: {{{publisher|}}} |. {{{publisher}}}|}}<!--
 
-->{{#if: {{{pages|}}} |, {{{pages}}}.|.}}<!--
 
-->{{#if: {{{pages|}}} |, {{{pages}}}.|.}}<!--
 
-->{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: http://dx.doi.org/{{{doi}}}.|}}<!--
 
-->{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: http://dx.doi.org/{{{doi}}}.|}}<!--
 
-->{{#if: {{{hyperlinkurl|}}} |<nowiki> </nowiki>Retrieved from {{{hyperlinkurl}}}.|}}</includeonly>
 
-->{{#if: {{{hyperlinkurl|}}} |<nowiki> </nowiki>Retrieved from {{{hyperlinkurl}}}.|}}</includeonly>

Revision as of 06:05, 14 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.
  • |hyperlinkurl= - 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".
  • |removelinks= - yes to remove wiki links.