| Archives at | ||||
|---|---|---|---|---|
|
||||
| How to use archival material |
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 Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P485).
Usage
Placement
This template should normally be placed at the top of the ==External links== 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.
| Parameter | Wikidata entity | Notes |
|---|---|---|
| location | Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P485) | property:Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P485) |
| inventory_number | Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P217) | qualifier for Property:Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P485) |
| description_URL | Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P973) | qualifier for Property:Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (P485) |
Simple
To use this template, please make data available for at least the location and description_URL 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 location and description_URL, use:
<syntaxhighlight lang="wikitext">
| Archives at | ||||
|---|---|---|---|---|
|
||||
| How to use archival material |
</syntaxhighlight>
You can include the title parameter to modify the source link text (defaults to "digital description").
For example, the following code on Ursula Franklin's page (Wikidata item Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value). (Q77729)) will produce:
| Archives at | ||||
|---|---|---|---|---|
|
||||
| How to use archival material |
<syntaxhighlight lang="wikitext">
| Archives at | ||||
|---|---|---|---|---|
|
||||
| How to use archival material |
</syntaxhighlight>
This example can also be formatted in a more human-readable way: <syntaxhighlight lang="wikitext">
| Archives at | ||||
|---|---|---|---|---|
|
||||
| How to use archival material |
Manual entry
If entering manually, use: <syntaxhighlight lang="wikitext">
| Archives at | ||||
|---|---|---|---|---|
|
||||
| How to use archival material |
For example, the following code will produce:
| Archives at | ||||||
|---|---|---|---|---|---|---|
|
||||||
| How to use archival material |
<syntaxhighlight lang="wikitext">
| Archives at | ||||||
|---|---|---|---|---|---|---|
|
||||||
| How to use archival material |
Full
<syntaxhighlight lang="wikitext">
| Archives at | ||||
|---|---|---|---|---|
|
||||
| How to use archival material |
TemplateData
TemplateData documentation used by VisualEditor and other tools
|
|---|
|
See a monthly parameter usage report for Template:Archival records in articles based on its TemplateData.
TemplateData for Archival records <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." } </templatedata> |
See also
- {{Library resources}}—generates a list of library holdings.