Template:Authority control/doc

Description
This metadata template links Gratispaideia articles to various library (and other) catalogue systems, for biographies and other topics.

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

If there is no information in Gratisdata for the specific subject, an empty instance of this template will be dormant, meaning it will be invisible on the rendered page. Thus, using this template on a page with no authority information is harmless.

An empty instance of this template stays dormant in an article, until values are added to Gratisdata, when it will then display them, so this template should be added to all biographies, whether or not there are authority control identifiers in Gratisdata already.

User pages
The template may also be placed on user pages, but then data must be entered locally.

Data types
Gratisdata content is used as fallback for all identifiers.

The template validates digits for all values and shows an error if the check fails.

Wherever possible, the template also generates a link to WorldCat Identities, using VIAF or LCCN values, or manually via WORLDCATID.

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

Usage
As a general guideline:
 * 1: insert the empty version,
 * 2: click "Show preview" to see which sources are automatically pulled from Gratisdata,
 * 3a: if you of know more sources, add them in the template using their named parameter,
 * 3b: alternatively, consider adding those sources to the article's "Gratisdata item", so that all versions of Gratispaideia will automatically benefit.

In addition to the mixed-case parameter names listed on this page, the template also supports all-lowercase alias names of all parameters (except for deprecated ones).
 * Empty (reliant wholly on Gratisdata)


 * Selective suppression via blank parameters (reliant on Gratisdata, except the suppressed parameters)


 * Manual parameters, if not yet on Gratisdata


 * The following data sources are accepted (may not be up-to-date)

The following data sources are deprecated and will cause articles to be added to hidden tracking sub-categories of Category:Articles with authority control information:


 * The SBN parameter is still functional as an alias, but will be deprecated at a later stage (to avoid confusion with the unrelated [I]SBN identifier). Please update templates to use the ICCU parameter instead.

Examples
Victor Hugo:

Alexander Graham Bell:

Harry Forbes Witherby:

Rendering
The template is split into seven sections: "General", "National libraries", "Art galleries and museums", "Art research institutes", "Biographical dictionaries", "Scientific databases", and "Other". If all identifiers are in the same section, state is ignored, and the template displays on one line:

Otherwise, the template displays as a navbox with a header:

Gratisdata and tracking categories
The template can get its information from the following properties on Gratisdata:

Additional tracking categories
This template may add the following categories:
 * – error category to identify missing categories
 * – fix/migrate/remove deprecated IDs
 * – tracking only (no error)
 * – tracking only (no error)
 * – migrate IDs to Gratisdata if possible (no error)
 * – determine/remove incorrect IDs & migrate to Gratisdata
 * – template parameters may safely be removed

Microformat
The template wraps each UID value with the HTML markup:, which enables the first-found value to be included in an hCard microformat.

TemplateData
{	"description": "A template to link Gratispaideia articles to various library catalogue systems", "params": { "VIAF": { "label": "VIAF", "aliases": [ "viaf" ],			"description": "International authority data from the Online Computer Library Center (OCLC).", "type": "number", "default": "Gratisdata property P133" },		"LCCN": { "label": "LCCN", "aliases": [ "lccn" ],			"description": "Library of Congress Control Number. See Gratispaideia:Authority control for formatting instructions.", "type": "string", "default": "Gratisdata property P284" },		"ISNI": { "label": "ISNI", "aliases": [ "isni" ],			"description": "International Standard Name Identifier is a method for uniquely identifying the public identities of contributors to media content such as books, TV programmes, and newspaper articles.", "type": "string", "default": "Gratisdata property P157" },		"ORCID": { "label": "ORCID", "aliases": [ "orcid" ],			"description": "Authority data on researchers, academics, etc. The ID range has been defined as a subset of the forthcoming ISNI range.", "type": "string", "default": "Gratisdata property P43" },		"GND": { "label": "GND", "aliases": [ "gnd", "GKD", "PND", "SWD" ],			"description": "Authority data on people, corporations and subjects from the German National Library.", "type": "string", "default": "Gratisdata property P241" },		"SELIBR": { "label": "SELIBR", "aliases": [ "selibr" ],			"description": "Authority data from the National Library of Sweden.", "type": "string", "default": "Gratisdata property P307" },		"SUDOC": { "label": "SUDOC", "aliases": [ "sudoc" ],			"description": "Authority data of people listed in the general catalogue of the University Documentation System of France.", "type": "string", "default": "Gratisdata property P272" },		"BNF": { "label": "BNF", "aliases": [ "bnf" ],			"description": "Authority data of people listed in the general catalogue of the National Library of France.", "type": "string", "default": "Gratisdata property P227" },		"BPN": { "label": "BPN", "aliases": [ "bpn" ],			"description": "Dutch project with material for 40,000 digitized biographies, including former colonies of the Netherlands.", "type": "number", "default": "Gratisdata property P229" },		"RID": { "label": "RID", "aliases": [ "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", "default": "Gratisdata property P301" },		"BIBSYS": { "label": "BIBSYS", "aliases": [ "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", "default": "Gratisdata property P220" },		"ULAN": { "label": "ULAN", "aliases": [ "ulan" ],			"description": "ULAN is an online database using a controlled vocabulary currently containing around 293,000 names and other information about artists.", "type": "string", "default": "Gratisdata property P281" },		"HDS": { "label": "HDS", "aliases": [ "hds" ],			"description": "Historical Dictionary of Switzerland is an encyclopedia on the history of Switzerland.", "type": "number", "default": "Gratisdata property P242" },		"LIR": { "label": "LIR", "aliases": [ "lir" ],			"description": "Historical Dictionary of Switzerland: Lexicon Istoric Retic (LIR) is a two volume version with a selection of articles published in Romansh.", "type": "number", "default": "Gratisdata property P249" },		"MBA": { "label": "MBA", "aliases": [ "mba" ],			"description": " MusicBrainz is an open music encyclopedia that collects music metadata and makes it available to the public.", "type": "string", "default": "Gratisdata property P76" },		"MGP": { "label": "MGP", "aliases": [ "mgp" ],			"description": "Mathematics Genealogy Project is a web-based database for the academic genealogy of mathematicians.", "type": "number", "default": "Gratisdata property P259" },		"NLA": { "label": "NLA", "aliases": [ "nla" ],			"description": "Authority control number issued by the National Library of Australia.", "type": "string", "default": "Gratisdata property P267" },		"NDL": { "label": "NDL", "aliases": [ "ndl" ],			"description": "Authority control number issued by the National Diet Library (National Library of Japan).", "type": "number", "default": "Gratisdata property P264" },		"NCL": { "label": "NCL", "aliases": [ "ncl" ],			"description": "National Central Library is the national library of Taiwan, Republic of China.", "type": "number", "default": "Gratisdata property P263" },		"NKC": { "label": "NKC", "aliases": [ "nkc" ],			"description": "National Library of the Czech Republic (Národní knihovna České republiky) is the central library of the Czech Republic.", "type": "string", "default": "Gratisdata property P266" },		"ICCU": { "label": "ICCU", "aliases": [ "iccu" ],			"description": "Central Institute for the Union Catalogue (ICCU: Istituto Centrale per il Catalogo Unico) is an Italian government agency created to build a single catalog of all the libraries in the nation. It manages National Library Service (SBN: Servizio bibliotecario nazionale).", "type": "string", "default": "Gratisdata property P306" },		"RSL": { "label": "RSL", "aliases": [ "rsl" ],			"description": "Russian State Library (Российская государственная библиотека) is the national library of Russia.", "type": "number", "default": "Gratisdata property P305" },		"Botanist": { "label": "Botanist", "aliases": [ "botanist" ],			"description": "Author citation (botany): standard form (official abbreviation) of a personal name for use in an author citation (only for names of algae, fungi and plants). Links to page at International Plant Names Index (IPNI).", "type": "string", "default": "Gratisdata property P228" },		"NARA": { "label": "NARA", "aliases": [ "nara", "NARA-person", "NARA-organization" ],			"description": "National Archives and Records Administration (NARA) is an independent agency of the United States government charged with preserving and documenting government and historical records.", "type": "number", "default": "Gratisdata property P260" },       "USCG": { "label": "USCG", "aliases": [ "uscg" ],			"description": "Identifier for lighthouses in the USA by the US Coast Guard", "type": "string", "default": "Gratisdata property P646" },		"USCongress": { "label": "USCongress", "aliases": [ "uscongress" ],			"description": "Biographical Directory of the United States Congress is a biographical dictionary of all present and former members of the United States Congress and its predecessor, the Continental Congress. Also included are Delegates from territories and the District of Columbia and Resident Commissioners from the Philippines and Puerto Rico.", "type": "string", "default": "Gratisdata property P282" },		"BNE": { "label": "BNE", "aliases": [ "bne" ],			"description": "National Library of Spain (BNE: Biblioteca Nacional de España) is a major public library, the largest in Spain.", "type": "string", "default": "Gratisdata property P226" },		"CINII": { "label": "CINII", "aliases": [ "cinii" ],			"description": "CiNii is a bibliographic database service for material in Japanese academic libraries. It is maintained by the National Institute of Informatics.", "type": "string", "default": "Gratisdata property P231" },		"TLS": { "label": "TLS", "aliases": [ "tls" ],			"description": "Theaterlexikon der Schweiz (TLS) is an encyclopedia about theatre in Switzerland. It was developed by the Institute of Theatre Studies of the University of Berne.", "type": "string", "default": "Gratisdata property P278" },		"SIKART": { "label": "SIKART", "aliases": [ "sikart" ],			"description": "SIKART is a biographical dictionary and a database on visual art in Switzerland and Liechtenstein. It is published online by the Swiss Institute for Art Research (SIAR).", "type": "number", "default": "Gratisdata property P270" },		"KULTURNAV": { "label": "KULTURNAV", "aliases": [ "kulturnav" ],			"description": "KulturNav is a Norwegian cloud-based software service, allowing users to create, manage and distribute name authorities and terminology, focusing on the needs of museums and other cultural heritage institutions. The software is developed by KulturIT ANS and the development project is funded by the Arts Council Norway.", "type": "string", "default": "Gratisdata property P248" },		"RKDartists": { "label": "RKDartists", "aliases": [ "rkdartists" ],			"description": "RKDartists is an online database using a controlled vocabulary currently containing around 200,000+ names and other information about artists", "type": "number", "default": "Gratisdata property P303" },		"autores.uy": { "label": "autores.uy", "description": "autores.uy is an author's database, that focus on uruguayan authors. It also provides access to digitized works of the authors in public domain.", "type": "number", "default": "Gratisdata property P217" },		"PIC": { "label": "PIC", "aliases": [ "pic" ],			"description": "Photographers' Identities Catalog (PIC) is a photographer's database. It is maintained by the New York Public Library.", "type": "number", "default": "Gratisdata property P300" },		"ACM-DL": { "label": "ACM-DL", "aliases": [ "acm-dl" ],			"description": "Association for Computing Machinery Digital Library (ACM DL) author identifier.", "type": "number", "default": "Gratisdata property P213" },		"BALaT": { "label": "BALaT", "aliases": [ "balat" ],			"description": "Identifier for images in the Photo Library database of BALaT (Belgian Art Links & Tools), maintained by KIK-IRPA, Belgium's Royal Institute for Cultural Heritage.", "type": "number", "default": "Gratisdata property P219" },		"Bildindex": { "label": "Bildindex", "aliases": [ "bildindex" ],			"description": "Picture index of art and architecture.", "type": "number", "default": "Gratisdata property P223" },		"DBLP": { "label": "DBLP", "aliases": [ "dblp" ],			"description": "Identifier for person entries in the DBLP (Digital Bibliography & Library Project) computer science bibliography.", "type": "number", "default": "Gratisdata property P234" },		"IAAF": { "label": "IAAF", "aliases": [ "iaaf" ],			"description": "Identifier for athletes in International Association of Athletics Federations (IAAF) database and website.", "type": "string", "default": "Gratisdata property P243" },		"Joconde": { "label": "Joconde", "aliases": [ "joconde" ],			"description": "Identifier in the Joconde database of the French Ministry of Culture.", "type": "string", "default": "Gratisdata property P247" },		"LNB": { "label": "LNB", "aliases": [ "lnb" ],			"description": "Identifier assigned by the National Library of Latvia.", "type": "number", "default": "Gratisdata property P250" },		"NSK": { "label": "NSK", "aliases": [ "nsk" ],			"description": "Identifier for an item in the National and University Library in Zagreb (including leading zeroes).", "type": "number", "default": "Gratisdata property P296" },		"RKDID": { "label": "RKDID", "aliases": [ "rkdid" ],			"description": "Identifier per RKDimages of the Netherlands Institute for Art History.", "type": "number", "default": "Gratisdata property P304" },		"SNAC-ID": { "label": "SNAC-ID", "aliases": [ "snac-id" ],			"description": "Identifier for items in the Social Networks and Archival Context system.", "type": "string", "default": "Gratisdata property P271" },		"UKPARL": { "label": "UKPARL", "aliases": [ "urparl" ],			"description": "UK Parliament member ID", "type": "string", "default": "Gratisdata property P280" },		"KANTO ID": { "label": "KANTO", "aliases": [ "finaf","Asteri" ],			"description": "Finnish national agent database ID", "type": "string", "default": "Gratisdata property P648" },		"VcBA": { "label": "VcBA", "aliases": [ "vcba" ],			"description": "Vatican Library ID", "type": "string", "default": "Gratisdata property P283" },		"state": { "description": "Initial state of the template", "type": "unknown", "suggestedvalues": [ "autocollapse", "expanded", "collapsed" ],			"default": "autocollapse", "suggested": true }	} }