Difference between revisions of "Template:Zotero"

From DFM Wiki
(Use local fork of Chicago style with no period after individual citations, since we are processing them separately.)
Line 1: Line 1:
 
<includeonly>{{#get_web_data:
 
<includeonly>{{#get_web_data:
  url=https://api.zotero.org/groups/{{{group|2183860}}}/items/{{{id}}}?format=json&include=citation&style=chicago-note-bibliography&linkwrap=0
+
  url=https://api.zotero.org/groups/{{{group|2183860}}}/items/{{{id}}}?format=json&include=citation&style=https%3A%2F%2Fdriedfishmatters.org%2Fstatic%2Fchicago-note-bibliography-16th-edition-nosuffix.csl&linkwrap=0
 
  |format=JSON
 
  |format=JSON
 
  |data=citation=citation
 
  |data=citation=citation

Revision as of 13:24, 25 March 2021

Template for importing a formatted citation from the DFM Zotero library. Simply supply the Zotero ID for an item in the DFM library, and MediaWiki will communicate with the Zotero server to retrieve a formatted citation. The template is intended for usage within footnote citations.

Template parameters

ParameterDescriptionTypeStatus
Zotero item identifierid

This is the 8-character reference ID found in a Zotero item URL.

Example
N46G9Q4Z
Unknownrequired
Groupgroup

Numeric identifier of the Zotero group library in which the reference is found.

Default
2183860
Unknownoptional
Prefixprefix

Citation prefix

Example
see also
Unknownoptional
Locatorlocator

The page, section, or paragraph number

Example
52
Unknownoptional
Suffixsuffix

Citation suffix (text to come at the end of the citation)

Unknownoptional