Template:VIAF/doc: Difference between revisions

From Wooly Moon Books
m (1 revision imported)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
== Usage ==
Line 18: Line 18:


== See also ==
== See also ==
{{Wikidata property|1=P214}}
*{{tl|GND}}
*{{tl|GND}}
*{{tl|Catalog lookup link}}
*{{tl|Catalog lookup link}}

Latest revision as of 21:26, 8 March 2023

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