Difference between revisions of "Template:SciteAPACollectionResourceFormatter"
Jump to navigation
Jump to search
m |
|||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <noinclude> |
+ | This template is used by the Semantic Cite mechanism to format collection resources in the APA style. | ||
+ | |||
+ | Parameters: | ||
+ | * <code><nowiki>|editor=</nowiki></code> - the editor(s) of the resource. If multiple editors need to be specified, a comma delimited array can be passed here. | ||
+ | * <code><nowiki>|title=</nowiki></code> - the title of the resource. | ||
+ | * <code><nowiki>|year=</nowiki></code> - the year of first publication. | ||
+ | * <code><nowiki>|publisher=</nowiki></code> - the name of the publishing company. | ||
+ | * <code><nowiki>|isbn=</nowiki></code> - the ISBN number of the publication. | ||
+ | * <code><nowiki>|doi=</nowiki></code> - the DOI of the resource, if available. | ||
+ | * <code><nowiki>|hyperlinkurl=</nowiki></code> - if the resource is online, the stable URL of the resource. | ||
+ | * <code><nowiki>|removelinks</nowiki></code> - add this to remove wiki links. | ||
+ | |||
+ | </noinclude><includeonly><!-- | ||
+ | -->{{FormatResourceAuthors|authors={{{editor|}}} }} <!-- | ||
+ | -->{{#arraydefine: editorsArray|{{{editor|}}} }}<!-- | ||
+ | -->{{#arrayunique: editorsArray}}<!-- | ||
+ | -->{{#ifexpr: {{#arraysize:editorsArray}} = 1 |(Ed.).|(Eds.).}}<!-- | ||
+ | --> ({{{year}}}) ''{{FormatResourceTitle|title={{{title}}}|}}'' {{{publisher}}}.<!-- | ||
+ | -->{{#if: {{{hyperlinkurl|}}} | Retrieved from {{{hyperlinkurl}}}.}}</includeonly> |
Latest revision as of 15:29, 6 July 2017
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.|hyperlinkurl=
- if the resource is online, the stable URL of the resource.|removelinks
- add this to remove wiki links.