Difference between revisions of "Template:SetBibliographyItem"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <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>|type=</nowiki></code> - the type of the resource. Accepted values are: journal article, collection, book, collection article. | * <code><nowiki>|type=</nowiki></code> - the type of the resource. Accepted values are: journal article, collection, book, collection article. | ||
− | * <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)/editor(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. | ||
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. | ||
* <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>|collection=</nowiki></code> - if the resource is in a collection, | + | * <code><nowiki>|collection editor=</nowiki></code> - if the resource is in a collection and the collection has an editor(s), the name of the editor(s). If multiple editors need to be specified, a comma delimited array can be passed here. |
+ | * <code><nowiki>|collection author=</nowiki></code> - if the resource is in a collection of the works by the same author(s), the name of the author(s). If multiple authors need to be specified, a comma delimited array can be passed here. If indicated, then <code><nowiki>|collection editor=</nowiki></code> field will be ignored. | ||
+ | * <code><nowiki>|collection year=</nowiki></code> - if the resource is in a collection, the year when the collection was published. | ||
+ | * <code><nowiki>|collection title=</nowiki></code> - if the resource is in a collection, the title of the collection. | ||
* <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. | ||
* <code><nowiki>|volume=</nowiki></code> - if the resource is in a journal, the volume of the journal issue. | * <code><nowiki>|volume=</nowiki></code> - if the resource is in a journal, the volume of the journal issue. | ||
Line 64: | Line 67: | ||
--> |url={{{url|}}}<!-- | --> |url={{{url|}}}<!-- | ||
--> |doi={{{doi|}}}<!-- | --> |doi={{{doi|}}}<!-- | ||
− | --> |collection={{{collection|}}}<!-- | + | --> |collection editor={{{collection editor|}}}<!-- |
+ | --> |collection author={{{collection author|}}}<!-- | ||
+ | --> |collection year={{{collection year|}}}<!-- | ||
+ | --> |collection title={{{collection title|}}}<!-- | ||
--> |pages={{{pages|}}}<!-- | --> |pages={{{pages|}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{author|}}}<!-- | -->{{#if:{{{author|}}}<!-- | ||
− | -->|{{#arraydefine: | + | -->|{{#arraydefine:authorsArray|{{{author|}}}}}<!-- |
− | -->{{#arrayprint: | + | -->{{#arrayprint:authorsArray||@@@@| {{#if:@@@@| {{#set:Has author=@@@@}}|}} }}<!-- |
-->|}}<!-- | -->|}}<!-- | ||
--></includeonly> | --></includeonly> |
Revision as of 04:19, 13 August 2016
This template is used to define an individual bibliography 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.
Parameters:
|citation key=
- the citation key of this resource, e.g. "Barseghyan (2015)".|type=
- the type of the resource. Accepted values are: journal article, collection, book, collection article.|author=
- the author(s)/editor(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.|url=
- if the resource is online, the stable URL of the resource.|doi=
- the DOI of the resource, if available.|collection editor=
- if the resource is in a collection and the collection has an editor(s), the name of the editor(s). If multiple editors need to be specified, a comma delimited array can be passed here.|collection author=
- if the resource is in a collection of the works by the same author(s), the name of the author(s). If multiple authors need to be specified, a comma delimited array can be passed here. If indicated, then|collection editor=
field will be ignored.|collection year=
- if the resource is in a collection, the year when the collection was published.|collection title=
- if the resource is in a collection, the title of the collection.|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".