Template:VIAF/doc

From Wooly Moon Books
Revision as of 22:26, 8 March 2023 by Wendyulmer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This templates creates a link to Virtual International Authority File (VIAF). Since it only displays the string "VIAF" followed by the linked number it can be used in free flow text as well as inside of the various {{citation}} and {{cite xxx}} templates (via that template's |id= parameter).

At present, the template just allows these codes to be given in some documented way and links to both the corresponding entry in the database as well as the Wikipedia VIAF article (in order to provide some explanation). It thereby helps to frame the code in some machine readable form and to standardize the appearance.

In the future the template could be expanded to make the given code available as meta-data or to provide some error checking.

Parameters

The first parameter should be the VIAF idenifier.

  • Example 1:

Markup [[:Template: Renders as
{{VIAF|123456789}}

VIAF 123456789

  • Example 2 (up to 9 parameters):

Markup [[:Template: Renders as
{{VIAF|198592695|44298806|214796741}}

See also