Jump to content

Template:VIAF/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by AManWithNoPlan (talk | contribs) at 20:33, 9 May 2021 (fix link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 Renders as
{{VIAF|123456789}}

VIAF 123456789

  • Example 2 (up to 9 parameters):

Markup Renders as
{{VIAF|198592695|44298806|214796741}}

See also