Template:WorldCat/doc: Difference between revisions

add example using new 'disp' parameter
(Correct spelling)
(add example using new 'disp' parameter)
Line 4: Line 4:


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.  
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  ===
=== Examples  ===
Line 15: Line 17:
| {{tlx|WorldCat|68627254}}  
| {{tlx|WorldCat|68627254}}  
| {{WorldCat|68627254}}  
| {{WorldCat|68627254}}  
| [http://www.worldcat.org/oclc/68627254 Link]<br>No type, default to oclc
|-
| {{tlx|WorldCat|68627254|<nowiki>disp=Tracing your Irish ancestors : the complete guide</nowiki>}}
| {{WorldCat|68627254|disp=Tracing your Irish ancestors : the complete guide}}
| [http://www.worldcat.org/oclc/68627254 Link]<br>No type, default to oclc
| [http://www.worldcat.org/oclc/68627254 Link]<br>No type, default to oclc
|-
|-
90,866

edits