Difference between revisions of "Template:SciteAPABookResourceFormatter"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* <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. | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{{# | + | <includeonly><!-- |
− | -->|{{ | + | -->{{#arraydefine:author |{{{author|}}} }}<!-- |
− | --> | + | -->{{#arrayprint:author ||@@@@|{{AuthorLastNameCommaFirstName|author=@@@@}}|;|print=pretty }}<!-- |
− | -->{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: [http://dx.doi.org/{{{doi}}} {{{doi}}}.]}}{{#if: {{{url|}}} |<nowiki> </nowiki>Retrieved from [{{{url}}} {{{url}}}].}}</includeonly> | + | -->. ({{{year}}}) ''{{{title}}}''. {{{publisher}}}.<!-- |
+ | -->{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: [http://dx.doi.org/{{{doi}}} {{{doi}}}.]}}<!-- | ||
+ | -->{{#if: {{{url|}}} |<nowiki> </nowiki>Retrieved from [{{{url}}} {{{url}}}].}}</includeonly> |
Revision as of 01:41, 13 August 2016
This template is used by the Semantic Cite mechanism to format book 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.|collection editor=
- if this is a collection book, then indicate the editor(s). If multiple editors need to be specified, a comma delimited array can be passed here. If the book has an author, this field will be ignored.|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.|doi=
- the DOI of the resource, if available.|url=
- if the resource is online, the stable URL of the resource.