Template:Archival records/doc

This template is intended for use in the External Links section. It displays the location of a notable figure's archives, identifiers, access conditions, and a link to the digital description. It uses the Wikidata property.

Placement
This template should normally be placed at the top of the  section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.

Wikidata use
This template can call the following parameters from Wikidata, if they are available. Alternatively, manual entry is possible for all fields, and will override any Wikidata values.

Simple
To use this template, please make data available for at least the  and   parameters. These values may be called from Wikidata (if present) or manually entered. Manual entry will override any Wikidata values.

Wikidata-aware
If Wikidata values exist for  and , use:

You can include the  parameter to modify the source link text (defaults to "digital description").

For example, the following code on Ursula Franklin's page (Wikidata item ) will produce:

This example can also be formatted in a more human-readable way:

Manual entry
If entering manually, use:

For example, the following code will produce:

TemplateData
{	"params": { "title": { "required": true, "label": "title", "description": "Title of archival collection, including highest level of description. If description URL is also given, title will link out to given URL in \"Source\".", "example": "John Doe fonds, Jane Doe papers", "type": "string" },		"fetchwikidata": {}, "suppressfields": {}, "location": { "aliases": [ "institution", "archives at" ],			"label": "location", "description": "Institution which holds the archives. If left blank AND Wikidata entry exists for \"archives at\" (P485) property, field will autofill. Otherwise, enter manually.", "example": "University of Toronto Archives", "type": "string", "suggested": true },		"inventory_number": { "aliases": [ "identifier", "accession number" ],			"label": "inventory number", "description": "Unique (usually alphanumeric) identifier(s) assigned to collection. If left blank AND Wikidata entry exists for \"inventory number\" (P217) qualifier, field will autofill. Otherwise, enter manually.", "type": "string", "suggested": true },		"description_URL": { "label": "digital description", "description": "URL of digital description (permalink preferred). If left blank AND Wikidata entry exists for \"described at URL\" (P973) qualifier, field will autofill. Otherwise, enter manually.", "type": "url", "suggested": true },		"dates": { "label": "dates", "description": "Time period for material creation", "example": "1934–2014", "type": "string", "suggested": true },		"access_conditions": { "aliases": [ "access", "permissions" ],			"label": "access", "description": "Conditions governing access to material", "example": "'open', 'open with exceptions', 'closed'", "type": "string", "suggested": true }	},	"description": "Sidebar for use in External Links section. Uses Wikidata property \"Archives at\" (P485). Displays location of archives, identifiers, and access level." }