Difference between revisions of "Template:SciteAPAJournalArticleResourceFormatter"

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 journal article resources in the APA style. Parameters: * <code><nowiki>|author=</nowiki></code> -...")
 
 
(12 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
* <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.  
 
* <code><nowiki>|journal=</nowiki></code> - if the resource is in a journal, the title of the journal.
 
* <code><nowiki>|journal=</nowiki></code> - if the resource is in a journal, the title of the journal.
Line 14: Line 14:
 
* <code><nowiki>|number=</nowiki></code> - if the resource is in a journal, the number of the journal issue.
 
* <code><nowiki>|number=</nowiki></code> - if the resource is in a journal, the number of the journal issue.
 
* <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>
+
* <code><nowiki>|removelinks</nowiki></code> - add this to remove wiki links.
  
<includeonly>{{#if: {{{authors|}}} |{{{authors}}}|{{{author}}}}}. ({{{year}}}) {{{title}}}. ''{{{journal}}}''{{#if: {{{volume|}}} |, {{{volume}}} {{#if: {{{number|}}} |({{{number}}})|}} |}}{{#if: {{{pages|}}} |, {{{pages}}}.|.}}{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: [http://dx.doi.org/{{{doi}}} {{{doi}}}.]}}{{#if: {{{url|}}} |<nowiki> </nowiki>Retrieved from [{{{url}}} {{{url}}}].}}</includeonly>
+
</noinclude><includeonly><!--
 +
-->{{FormatResourceAuthors|authors={{{author|}}} }}<!--
 +
-->&#32;({{{year}}}) {{FormatResourceTitle|title={{{title}}}|}} ''{{{journal}}}''<!--
 +
-->{{#if: {{{volume|}}} |&#32;{{{volume}}} <!--
 +
-->{{#if: {{{number|}}} |({{{number}}})|}} |}}<!--
 +
-->{{#if: {{{pages|}}} |, {{{pages}}}.|.}}<!--
 +
-->{{#if: {{{hyperlinkurl|}}} |&#32;Retrieved from {{{hyperlinkurl}}}.}}</includeonly>

Latest revision as of 15:01, 6 July 2017

This template is used by the Semantic Cite mechanism to format journal article 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.
  • |journal= - if the resource is in a journal, the title of the journal.
  • |volume= - if the resource is in a journal, the volume of the journal issue.
  • |number= - if the resource is in a journal, the number of the journal issue.
  • |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 - add this to remove wiki links.