Template:WorldCat/doc
This is a documentation subpage for Template:WorldCat. It contains usage information, categories and other content that is not part of the original template page. |
This template can make an external link to:
- A library holding
- An item (book, CD, video, journal, etc.) catalogued in the inventories of various libraries.
- A bibliography
- A list of works by or about a subject (i.e., works associated with a particular subject heading).
Library holdings are tracked by WorldCat, a union catalog that itemizes the collections of 72,000 libraries in 170 countries and territories.
Bibliographies are at WorldCat Identities, which is WorldCat's authority file.
- Sample output
- Murasaki Shikibu in libraries (WorldCat catalog)
Usage
For works:
<syntaxhighlight lang="text" enclose="none">{{WorldCat|oclc=|name=}}</syntaxhighlight>
<syntaxhighlight lang="text" enclose="none">|oclc</syntaxhighlight>
is an Online Computer Library Center accession number, which has 1 to 9 digits.<syntaxhighlight lang="text" enclose="none">|name</syntaxhighlight>
is optional: it overrides the default link label, which is the page name
For people and subjects:
<syntaxhighlight lang="text" enclose="none">{{WorldCat|id=|name=}}</syntaxhighlight>
<syntaxhighlight lang="text" enclose="none">|id</syntaxhighlight>
is a Library of Congress Control Number with the format lccn-n00-00000.<syntaxhighlight lang="text" enclose="none">|name</syntaxhighlight>
is optional: it overrides the default link label, which is the page name.
Instructions
To link to a library item
You can refine your WorldCat search using the filters in its sidebar.
- articles
- audiobooks
- books
- e-books
- computer files
- journals
- magazines
- maps
- movies
(BD, DVD, VHS, et al.) - music recordings
(CD, LP, cassette, et al.) - musical scores
- newspapers
- rare works
- theses
- TV shows
- video games
- videos
- web services
- Search WorldCat for any other work or service that a library might stock or subscribe to. You can search by title, author, keyword, subject, ISBN, or ISSN. (See the Advanced Search page for all options.)
- Go to the page of the work, edition, and format that you want.
- Copy the number after oclc/ in the address bar of your web browser:
https://www.worldcat.org/oclc/17522144
- Add the template to the "External links" section of the article.
- Add the OCLC number and (optionally) a name to the template. (The default name is the page name.)
Example:
<syntaxhighlight lang="text" enclose="none">* {{WorldCat|oclc=17522144|name=''The Tale of Genji'' (Edward Seidensticker translation)}}</syntaxhighlight>
Result:
- The Tale of Genji (Edward Seidensticker translation) in libraries (WorldCat catalog)
To link to a bibliography for a person or other subject
- Search WorldCat Identities for the subject.
- Click the name or subject from the list of search results.
- Copy the lccn string from the address bar of your web browser:
https://worldcat.org/identities/lccn-n79100628/
- Add the template to the "External links" section of the article.
- Add the lccn string and, optionally, a name to the template. (The default name is the page name.)
Example:
<syntaxhighlight lang="text" enclose="none">* {{WorldCat|id=lccn-n79100628|name=Murasaki Shikibu}}</syntaxhighlight>
Result:
- Murasaki Shikibu in libraries (WorldCat catalog)
Maintenance categories
See also
- {{Worldcat author}} – outputs "Works by author at WorldCat Identities"
- {{Worldcat id}} – outputs "Works by or about subject in libraries"
- {{Worldcat subject}} – outputs "Works about subject in libraries"