Difference between revisions of "Template:Zotero collection"

From DFM Wiki
(Created template for listing team Zotero collections.)
 
m (Add missing includeonly tag)
 
Line 1: Line 1:
{{#get_web_data:
+
<includeonly>{{#get_web_data:
 
  url=https://api.zotero.org/groups/{{{group|2183860}}}/collections/{{{id}}}/items/top?format=bib&linkwrap=0
 
  url=https://api.zotero.org/groups/{{{group|2183860}}}/collections/{{{id}}}/items/top?format=bib&linkwrap=0
 
  |format=XML
 
  |format=XML

Latest revision as of 09:24, 6 August 2021

Template for importing a formatted bibliography from a single collection within the DFM Zotero library. Up to 150 references can be included. Obtain the ID from the URL shown in the browser address bar when selecting a collection in the Zotero web library. The bibliography will be cached for a minimum of 24 hours.

Template parameters

ParameterDescriptionTypeStatus
Zotero collection identifierid

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

Example
N46G9Q4Z
Unknownrequired
Groupgroup

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

Default
2183860
Unknownoptional