Difference between revisions of "Template:SciteAPACollectionResourceFormatter"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
</noinclude> | </noinclude> | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{PrintAuthorsArrayLastNameCommaFirstName|authors={{{editor|}}} }}<!-- | + | -->{{PrintAuthorsArrayLastNameCommaFirstName|authors={{{editor|}}} }}. <!-- |
− | --> | + | -->{{#arraydefine: editorsArray|{{{editor|}}} }}<!-- |
+ | -->{{#arrayunique: editorsArray}}<!-- | ||
-->{{#ifexpr: {{#arraysize:editorsArray}} = 1 |(Ed.).|(Eds.).}}<!-- | -->{{#ifexpr: {{#arraysize:editorsArray}} = 1 |(Ed.).|(Eds.).}}<!-- | ||
--> ({{{year}}}) ''{{{title}}}''. {{{publisher}}}.<!-- | --> ({{{year}}}) ''{{{title}}}''. {{{publisher}}}.<!-- | ||
-->{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: [http://dx.doi.org/{{{doi}}} {{{doi}}}.]}}<!-- | -->{{#if: {{{doi|}}} |<nowiki> </nowiki>doi: [http://dx.doi.org/{{{doi}}} {{{doi}}}.]}}<!-- | ||
-->{{#if: {{{url|}}} |<nowiki> </nowiki>Retrieved from [{{{url}}} {{{url}}}].}}</includeonly> | -->{{#if: {{{url|}}} |<nowiki> </nowiki>Retrieved from [{{{url}}} {{{url}}}].}}</includeonly> |
Revision as of 23:17, 13 August 2016
This template is used by the Semantic Cite mechanism to format collection resources in the APA style.
Parameters:
|editor=
- the editor(s) of the resource. If multiple editors 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.|doi=
- the DOI of the resource, if available.|url=
- if the resource is online, the stable URL of the resource.