Template:OCLC link
Appearance
Description
[edit]This template generates various types of links to the WorldCat web site. Its purpose is similar to Template:OCLC at Wikipedia.
Usage
[edit]In its simplest form the template takes just an OCLC number:
Code:
{{OCLC link|22239204}}
Result:
OCLC:22239204 at WorldCat
Both the link uri and the link name can be overridden with parameters:
Code:
{{OCLC link|uri=https://search.worldcat.org/search?q=su:Radio+Amateurs'+manuals.&qt=hot_subject|linkname=Subject: Radio Amateurs' manuals}}
Result:
Subject: Radio Amateurs' manuals at WorldCat
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:
{{OCLC link|22239204|73 amateur radio today|inline=true}}
Result:
73 amateur radio today
Parameters
[edit]- {{{1}}} 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.