Template:WorldCat
From FamilySearch Wiki
(test) |
(Allow ISBN & ISSN) |
||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#if: {{{1|}}} | {{#ifeq: {{{2}}} | isbn | [http://www.worldcat.org/isbn/{{{1}}}] | {{#ifeq: {{{2}}} | issn | [http://www.worldcat.org/issn/{{{1}}} | [http://www.worldcat.org/oclc/{{{1}}}/editions?editionsView=true&referer=di WorldCat {{{1}}}] }} }} | INVALID/MISSING WorldCat number }} |
| − | + | ||
| − | {{# | + | |
<noinclude> | <noinclude> | ||
| Line 17: | Line 15: | ||
-- | -- | ||
--End Template:WorldCat--> | --End Template:WorldCat--> | ||
| − | </noinclude> | + | </noinclude> |
| + | |||
| + | | ||
Revision as of 15:42, 27 June 2009
INVALID/MISSING WorldCat number
THIS TEMPLATE IS UNDER DEVELOPMENT AND FEEDBACK IS BEING REVIEWED FROM A FEW KEY PEOPLE. IT HAS BEEN DISCUSSED IN A COMMUNITY MEETING, BUT THE TEMPLATE HAS NOT BEEN FINALIZED. CHANGES MADE TO IT OTHER THAN THE AUTHOR MAY BE LOST. PLEASE USE DISCUSSION PAGE FOR COMMENTS.
This is the {{WorldCat}} template. This template is used for formatting the text and links for WorldCat items generally used in source citations. Only one parameter is used and required, the WorldCat item number. When you search http://www.WorldCat.org/ for a title, you will find the OCLC number in details section of the edition. Alternatively, it may be shown in the URL immediately after the "oclc" text. Enter this number in the template as the first parameter.
An optional parameter disp can be specified, allowing the user to control the link text.
Examples
| Entered | Produces | Notes |
|---|---|---|
| {{WorldCat|68627254}} | WorldCat 68627254 | Link No type, default to oclc |
| {{WorldCat|68627254|oclc}} | WorldCat 68627254 | Link |
| {{WorldCat|9780806317687|isbn}} | WorldCat 9780806317687 | Link |
| {{WorldCat|0040-781X|issn}} | WorldCat 0040-781X | Link |
| {{WorldCat|1234|junk}} | WorldCat 1234 | Invalid type, default to OCLC |
| {{WorldCat}} | INVALID/MISSING WorldCat number | Missing number |
| {{WorldCat|68627254|disp=Tracing your Irish ancestors : the complete guide}} | Tracing your Irish ancestors : the complete guide | To display different text than the default WorldCat reference. It is recommended to use the standard format to create the link consistent with other uses of this template. It makes it obvious where the holdings are. |
See also
New to the Research Wiki?
In the FamilySearch Research Wiki, you can learn how to do genealogical research or share your knowledge with others.
Learn More