Jump to content

Template:VIAF/doc

From Wikipedia, the free encyclopedia

Usage[edit]

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[edit]

The first parameter should be the VIAF identifier.

  • Example 1:

Markup Renders as
{{VIAF|123456789}}

VIAF 123456789

  • Example 2 (up to 9 parameters):

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

See also[edit]