Jump to content

Template:Archival records/doc

From Wikipedia, the free encyclopedia

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 archives at (P485).

Usage

[edit]

Placement

[edit]

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

[edit]

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.

Wikidata values
Parameter Wikidata entity Notes
location archives at (P485) property:archives at (P485)
inventory_number inventory number (P217) qualifier for Property:archives at (P485)
description_URL described at URL (P973) qualifier for Property:archives at (P485)

Simple

[edit]

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

[edit]

If Wikidata values exist for location and description_URL, use:

{{Archival records}}

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 Ursula Franklin (Q77729)) will produce:

{{Archival records|title=Ursula Franklin fonds}}

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

{{Archival records
| title                 = Ursula Franklin fonds
}}

Manual entry

[edit]

If entering manually, use:

{{Archival records
| title                 = <!--title will link out to description_URL under label:Source-->
| location              = <!--leave blank if Wikidata value for property:P485(archives at) exists; otherwise, enter manually-->
| description_URL       = <!--leave blank if Wikidata value for qualifier:P973(described at URL) exists; otherwise, enter manually (permalink if possible)-->
}}

For example, the following code will produce:

{{Archival records
| title                 = Ursula Franklin fonds
| location              = University of Toronto Archives & Records Management
| description_URL       = https://discoverarchives.library.utoronto.ca/index.php/ursula-martius-franklin-fonds
}}

Full

[edit]
{{Archival records
| title                 = <!--title will link out to given description_URL under label:Source-->
| location              = <!--leave blank if Wikidata value for property:P485(archives at) exists; otherwise, enter manually-->
| inventory_number      = <!--leave blank if Wikidata value for qualifier:P217(inventory number) exists; otherwise, enter manually-->
| description_URL       = <!--leave blank if Wikidata value for qualifier:P973(described at URL) exists; otherwise, enter manually (permalink if possible)-->
| dates                 = <!--enter if desired, but if prone to change, consider future data maintenance needs-->
| access_conditions     = <!--open or open with exceptions-->
}}

TemplateData

[edit]
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

Sidebar for use in External Links section. Uses Wikidata property "Archives at" (P485). Displays location of archives, identifiers, and access level.

Template parameters

ParameterDescriptionTypeStatus
titletitle

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
Stringrequired
fetchwikidatafetchwikidata

no description

Unknownoptional
suppressfieldssuppressfields

no description

Unknownoptional
locationlocation institution archives at

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
Stringsuggested
inventory numberinventory_number identifier accession number

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.

Stringsuggested
digital descriptiondescription_URL

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.

URLsuggested
datesdates

Time period for material creation

Example
1934–2014
Stringsuggested
accessaccess_conditions access permissions

Conditions governing access to material

Example
'open', 'open with exceptions', 'closed'
Stringsuggested