Template:Authority control/doc

Description
This metadata template links Wikipedia articles to various library catalogue systems. At the moment, it is used almost exclusively in biographical articles and on user pages.

This template draws most of its values from Wikidata, but they can be overridden by locally-entered data. Adding the data to Wikidata is preferable.

An empty instance of this template stays dormant in an article, until values are added to Wikidata, when it will then display them.

Data types

 * Supported authority files:
 * Virtual International Authority File (VIAF)
 * Library of Congress Control Number (LCCN)
 * International Standard Name Identifier (ISNI)
 * Open Researcher and Contributor ID (ORCID; see also WP:ORCID)
 * Integrated Authority File (Gemeinsame Normdatei or GND)
 * LIBRIS by the National Library of Sweden (SELIBR)
 * University Documentation System of France (Système universitaire de documentation or SUDOC)
 * National Library of France (Bibliothèque nationale de France or BNF)
 * Dutch Biography Portal (Biografisch Portaal or BPN)
 * ResearcherID (RID)
 * BIBSYS (BIBSYS)
 * Union List of Artist Names (ULAN)
 * MusicBrainz Artist ID (MBA)
 * National Library of Australia (NLA)
 * National Diet Library (NDL)
 * ... (30+ sources, see "local conf" list at Module:Authority control)


 * Deprecated:
 * Corporate Bodies Authority File (Gemeinsame Körperschaftsdatei or GKD), now part of GND
 * Name Authority File (Personennamendatei or PND), now part of GND
 * Subject Headings Authority File (Schlagwortnormdatei or SWD), now part of GND

Wikidata content is used as fallback for the BNF, BPN, GND, ISNI, LCCN, MBA, NDL, NLA, ORCID, SUDOC, ULAN, and VIAF identifiers.

The template validates digits in many values (such as ISNI, ORCID, SUDOC, etc.) and shows an error if the check fails.

Wherever possible, the template also generates a link to WorldCat Identities, using the LCCN variable. (It will shortly be possible to link using VIAF values—this is being tested by OCLC and will be activated in the template as soon as it goes live.)

Position
As a metadata template, the Authority control template should be placed after the external links section and navigation templates, right before the Persondata template.

Usage
As a rule of thumb: (1) insert the empty version, (2) click "Show preview" to see which sources are automatically pulled from Wikidata, (3a) if you know more sources, add them in the template using their named param, (3b) alternatively, consider adding them to the article's "Wikidata item" (so that all versions of Wikipedia will automatically benefit).


 * Empty (reliant wholly on Wikidata) :


 * Full :


 * Blank :


 * The following data sources are accepted:


 * The following data sources are deprecated

and will cause articles to be added to hidden tracking sub-categories of Category:Wikipedia articles with authority control information:

Examples
  – for Alexander Graham Bell produces:

  – for Harry Forbes Witherby produces:

Categories
The template applies the following categories:


 * Specific identifiers are in subcategories of Category:Pages with authority control information
 * Faulty parameters
 * Category:Wikipedia articles with faulty authority control identifiers (BPN)
 * Category:Wikipedia articles with faulty authority control identifiers (ISNI)
 * Category:Wikipedia articles with faulty authority control identifiers (LCCN)
 * Category:Wikipedia articles with faulty authority control identifiers (ORCID)
 * Category:Wikipedia articles with faulty authority control identifiers (SELIBR)
 * Category:Wikipedia articles with faulty authority control identifiers (VIAF)

Wikidata
The template can get its information from Wikidata:

The MusicBrainz Artist ID (MBID) is currently restricted to items that have occupation set to either:
 * composer
 * conductor
 * club DJ
 * DJ
 * musician
 * rapper
 * record producer
 * singer
 * singer-songwriter

or are an instance of either


 * band or
 * rock band.

If none of these is applicable, it can be forced with: which for The Beatles would produce:

Note that for The beatles would work out of the box already.

Microformat
The template wraps each UID value with the HTML markup:, which enables the first-found value to be included in an hCard microformat. For that reason, VIAF, where present, is emitted first.

TemplateData
{       "description": "A template to link Wikipedia articles to various library catalogue systems", "params": { "VIAF": { "label": "VIAF", "description": "International authority data from the Online Computer Library Center (OCLC)", "type": "number" },               "GND": { "label": "GND", "description": "Authority data on people, corporations and subjects from the German National Library", "type": "string", "aliases": ["PND"] },               "LCCN": { "label": "LCCN", "description": "Library of Congress Control Number. See Authority control for formatting instructions", "type": "number" },               "ISNI": { "label": "ISNI", "description": "ISNI is a method for uniquely identifying the public identities of contributors to media content such as books, TV programmes, and newspaper articles", "type": "string" },               "SELIBR": { "label": "SELIBR", "description": "Authority data from the National Library of Sweden", "type": "string" },               "ORCID": { "label": "ORCID", "description": "Authority data on researchers, academics, etc. The ID range has been defined as a subset of the forthcoming ISNI range", "type": "string" },               "SUDOC": { "label": "SUDOC", "description": "Authority data of people listed in the general catalogue of the University Documentation System of France", "type": "string" },               "BNF": { "label": "BNF", "description": "Authority data of people listed in the general catalogue of the National Library of France", "type": "string" },               "BPN": { "label": "BPN", "description": "Dutch project with material for 40,000 digitized biographies, including former colonies of the Netherlands", "type": "number" },               "RID": { "label": "RID", "description": "An identifying system for scientific authors. The system was introduced in January 2008 by Thomson Reuters. The combined use of the Digital Object Identifier with the ResearcherID allows for a unique association of authors and scientific articles", "type": "string" },               "BIBSYS": { "label": "BIBSYS", "description": "BIBSYS is a supplier of library and information systems for all Norwegian university Libraries, the National Library of Norway, college libraries, and a number of research libraries and institutions", "type": "string" },               "ULAN": { "label": "ULAN", "description": "ULAN is an online database using a controlled vocabulary currently containing around 293,000 names and other information about artists", "type": "string" },               "MBA": { "label": "MBA", "description": " MusicBrainz is an open music encyclopedia that collects music metadata and makes it available to the public. ", "type": "string" },               "NLA": { "label": "NLA", "description": "Authority control number issued by the National Library of Australia. ", "type": "string" },               "NDL": { "label": "NDL", "description": "Authority control number issued by the National Diet Library (National Library of Japan). ", "type": "number" },               "RKDartists": { "label": "RKDartists", "description": "RKDartists is an online database using a controlled vocabulary currently containing around 200,000+ names names and other information about artists", "type": "string" }       } }