Template:OCLC link/doc

Description
This template generates various types of links to the web site. Its purpose is similar to at Wikipedia.

Usage
In its simplest form the template takes just an OCLC number:

Code:

Result:

Both the link uri and the link name can be overridden with parameters:

Code:

Result:

If you would like to simply make a link without the description you can add "inline=true", which will also work with the other parameters described below.

Code:

Result:

Parameters

 *   or oclc - The page URI to link to.
 * uri - Overrides the generated URI.
 * linkname - Overrides the generated link name.
 * inline - If true, display the link alone without any following text. Value can be "true" or "false"; defaults to "false".
 * year - Optionally display a year in parentheses. No value by default.
 * author - Optionally display "by author" following the link. No value by default.