قالب: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 [خطأ: الوظيفة "wdurl" غير موجودة. archives at (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.

Wikidata values
Parameter Wikidata entity Notes
location [خطأ: الوظيفة "wdurl" غير موجودة. archives at (P485)] property:[خطأ: الوظيفة "wdurl" غير موجودة. archives at (P485)]
inventory_number [خطأ: الوظيفة "wdurl" غير موجودة. inventory number (P217)] qualifier for Property:[خطأ: الوظيفة "wdurl" غير موجودة. archives at (P485)]
description_URL [خطأ: الوظيفة "wdurl" غير موجودة. described at URL (P973)] qualifier for Property:[خطأ: الوظيفة "wdurl" غير موجودة. archives at (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:

{{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 [خطأ: الوظيفة "wdurl" غير موجودة. القوات الجوية التونسية (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

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

{{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

TemplateData documentation used by VisualEditor and other tools

See the monthly error report for this template.

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.

وسائط القالب

وسيطوصفنوعحالة
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".

مثال
John Doe fonds, Jane Doe papers
نصمطلوب
fetchwikidatafetchwikidata

دون وصف

غير معروفاختياري
suppressfieldssuppressfields

دون وصف

غير معروفاختياري
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.

مثال
University of Toronto Archives
نصمقترح
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.

نصمقترح
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.

مسارمقترح
datesdates

Time period for material creation

مثال
1934–2014
نصمقترح
accessaccess_conditions access permissions

Conditions governing access to material

مثال
'open', 'open with exceptions', 'closed'
نصمقترح