Difference between revisions of "Template:WorldCat/doc"

From FamilySearch Wiki
Jump to: navigation, search
(Create)
 
(Format)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}  
 
{{Documentation subpage}}  
  
This is the {{tl|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 item number in the URL '''(is there an easier way to find this?)'''. Enter this number in the template as the first parameter. For example, <nowiki>{{WorldCat|68627254}}</nowiki> will produce the results of {{WorldCat|68627254}}.  
+
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 {{tl|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 '''<tt>disp</tt>''' can be specified, allowing the user to control the link text.
 +
 
 +
=== Examples  ===
 +
 
 +
{| cellspacing="1" cellpadding="1" border="1"
 +
|-
 +
! Entered
 +
! Produces
 +
! Notes
 +
|-
 +
| {{tlx|WorldCat|68627254}}
 +
| {{WorldCat|68627254}}
 +
| [http://www.worldcat.org/oclc/68627254 Link]<br>No type, default to oclc
 +
|-
 +
| {{tlx|WorldCat|68627254|oclc}}
 +
| {{WorldCat|68627254|oclc}}
 +
| [http://www.worldcat.org/oclc/68627254 Link]
 +
|-
 +
| {{tlx|WorldCat|9780806317687|isbn}}
 +
| {{WorldCat|9780806317687|isbn}}
 +
| [http://www.worldcat.org/isbn/9780806317687 Link]
 +
|-
 +
| {{tlx|WorldCat|0040-781X|issn}}
 +
| {{WorldCat|0040-781X|issn}}
 +
| [http://www.worldcat.org/issn/0040-781X Link]
 +
|-
 +
| {{tlx|WorldCat|1234|junk}}
 +
| {{WorldCat|1234|junk}}
 +
| Invalid type, default to OCLC
 +
|-
 +
| {{tlx|WorldCat}}
 +
| {{WorldCat}}  
 +
| Missing number
 +
|-
 +
| {{tlx|WorldCat|68627254|<nowiki>disp=Tracing your Irish ancestors : the complete guide</nowiki>}}
 +
| {{WorldCat|68627254|disp=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  ===
 
=== See also  ===
 +
 +
*[http://www.worldcat.org/links/default.jsp WorldCat permalink information]
 +
*{{wpd|WorldCat}}
 +
*{{wpd|Online Computer Library Center}}
  
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Template namespace templates|{{PAGENAME}}]]
+
[[Category:External link templates|{{PAGENAME}}]]
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
  
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>  
+
</includeonly>
 
 
&nbsp;
 

Latest revision as of 14:34, 2 September 2011

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}} 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