Template:Authority control (arts)/doc

From Ephemeral Film Wiki
Jump to navigation Jump to search

- - -

There is a documentation subpage housing the metadata about parent template: Authority control (arts).

Description

This metadata template links visual arts-related Wikipedia articles to various library (and other) catalogue systems, for biographies and other topics.

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.

If there is no information in Wikidata 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.

Parameters

This template takes one optional parameter, |country=. With this parameter, extra identifiers can be activated on a country-by-country basis. For example, to show the national library of Spain, you can add |country=ES to the template invocation. Not providing a country generates the default selection of art IDs.

Supported country codes at the moment are

  • CH for Switzerland (adds HDS, LIR and RERO)
  • CZ for Czechia (adds NKC)
  • CL for Chile (adds BNC)
  • ES for Spain (adds BNE and CANTIC)
  • GR for Greece (adds NLG)
  • HR for Croatia (adds NLK)
  • IL for Israel (adds NLI)
  • IT for Italy (adds ICCU and VcBA)
  • JA for Japan (adds NDL)
  • KR for South Korea (adds NLK)
  • LV for Latvia (adds LNB)
  • NL for the Netherlands (adds BPN and NTA)
  • PL for Poland (adds NLP and PLWABN)
  • RO for Romania (adds NLR)
  • RU for Russia (adds RSL)
  • SV for Sweden (adds SELIBR)
  • TR for Turkey (adds TDVIA)
  • TW for Taiwan (adds NCL)
  • UY for Uruguay (adds autores.uy)

Currently, only one country can be added per invocation.

Data types

Wikidata 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 Wikidata,
3a: if you know of more sources, add them in the template using their named parameter,
3b: alternatively, consider adding those sources to the article's "Wikidata item", so that all versions of Wikipedia 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 Wikidata)
{{Authority control (arts)}}
Selective suppression via blank parameters (reliant on Wikidata, except the suppressed parameters)
{{Authority control (arts) |VIAF= |LCCN= |WORLDCATID=}}
Manual parameters, if not yet on Wikidata
{{Authority control (arts) |VIAF=123456789 |LCCN=n78039510 |WORLDCATID=lccn-n78039510}}

To do

  • Allow multiple country codes

Tracking categories

See also