Difference between revisions of "Template:SetBibliographyItemBook"
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template is called from within the | + | This template is called from within the [[Template:SetBibliographyItem|SetBibliographyItem]] template to define an individual book entry in accord with the specifications of the <code><nowiki>#scite</nowiki></code> parser. Items defined through this become part of the Semantic Cite mechanism used by this encyclopedia. |
− | Parameters: | + | '''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values. |
+ | |||
+ | '''Parameters:''' | ||
* <code><nowiki>|citation key=</nowiki></code> - the citation key of this resource, e.g. "Barseghyan (2015)". | * <code><nowiki>|citation key=</nowiki></code> - the citation key of this resource, e.g. "Barseghyan (2015)". | ||
* <code><nowiki>|author=</nowiki></code> - the author(s) of the resource. If multiple authors need to be specified, a comma delimited array can be passed here. | * <code><nowiki>|author=</nowiki></code> - the author(s) of the resource. If multiple authors need to be specified, a comma delimited array can be passed here. | ||
− | |||
* <code><nowiki>|title=</nowiki></code> - the title of the resource. | * <code><nowiki>|title=</nowiki></code> - the title of the resource. | ||
* <code><nowiki>|year=</nowiki></code> - the year of first publication. | * <code><nowiki>|year=</nowiki></code> - the year of first publication. | ||
+ | * <code><nowiki>|abstract=</nowiki></code> - the abstract or a short synopsis of the resource. | ||
* <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>| | + | * <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. | ||
− | </noinclude> | + | |
− | <includeonly><!-- | + | </noinclude><includeonly><!-- |
-->{{#scite:{{{citation key|}}}<!-- | -->{{#scite:{{{citation key|}}}<!-- | ||
− | --> |type=book<!-- | + | -->|type=book<!-- |
− | --> |author={{{author|}}}<!-- | + | -->|author={{{author|}}}<!-- |
− | --> | | + | -->|title={{{title|}}}<!-- |
− | --> |title={{{title|}}}<!-- | + | -->|year={{{year|}}}<!-- |
− | --> |year={{{year|}}}<!-- | + | -->|abstract={{{abstract|}}}<!-- |
− | --> |publisher={{{publisher|}}}<!-- | + | -->|publisher={{{publisher|}}}<!-- |
− | --> |isbn={{{isbn|}}}<!-- | + | -->|isbn={{{isbn|}}}<!-- |
− | --> | | + | -->|hyperlinkurl={{{hyperlinkurl|}}}<!-- |
− | --> |doi={{{doi|}}}<!-- | + | -->|doi={{{doi|}}}<!-- |
− | -->}}</includeonly> | + | -->}}<!-- |
+ | --><!-- set the citation text | ||
+ | -->{{#set: Citation Text=<!-- | ||
+ | -->{{SciteAPABookResourceFormatter<!-- | ||
+ | -->|author={{{author|}}}<!-- | ||
+ | -->|title={{{title|}}}<!-- | ||
+ | -->|year={{{year|}}}<!-- | ||
+ | -->|publisher={{{publisher|}}}<!-- | ||
+ | -->|isbn={{{isbn|}}}<!-- | ||
+ | -->|hyperlinkurl={{{hyperlinkurl|}}}<!-- | ||
+ | -->|doi={{{doi|}}}<!-- | ||
+ | -->|removelinks<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | --></includeonly> |
Latest revision as of 21:27, 27 August 2016
This template is called from within the SetBibliographyItem template to define an individual book entry in accord with the specifications of the #scite
parser. Items defined through this become part of the Semantic Cite mechanism used by this encyclopedia.
NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
Parameters:
|citation key=
- the citation key of this resource, e.g. "Barseghyan (2015)".|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.|abstract=
- the abstract or a short synopsis of the resource.|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.