Template:WorldCat/doc: Difference between revisions

From FamilySearch Wiki
m (→‎Examples: added nowiki coding to get table contents to display properly)
(Adjust comment)
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}  
{{Documentation subpage}}  
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.  
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  ===


{| class="wikitable"
{| cellspacing="1" cellpadding="1" border="1"
|-
|-
! template Code
| Entered
! Display
| Produces
! Notes
| Notes
|-
|-
| <nowiki>{{WorldCat|68627254}} </nowiki>
| {{tlx|WorldCat|68627254}}  
| {{WorldCat|68627254}}  
| {{WorldCat|68627254}}  
| [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
|-
|-
| <nowiki>{{WorldCat|68627254|oclc}} </nowiki>
| {{tlx|WorldCat|68627254|oclc}}  
| {{WorldCat|68627254|oclc}}  
| {{WorldCat|68627254|oclc}}  
| [http://www.worldcat.org/oclc/68627254 Link]
| [http://www.worldcat.org/oclc/68627254 Link]
|-
|-
| <nowiki>{{WorldCat|9780806317687|isbn}} </nowiki>
| {{tlx|WorldCat|9780806317687|isbn}}  
| {{WorldCat|9780806317687|isbn}}  
| {{WorldCat|9780806317687|isbn}}  
| [http://www.worldcat.org/isbn/9780806317687 Link]
| [http://www.worldcat.org/isbn/9780806317687 Link]
|-
|-
| <nowiki>{{WorldCat|0040-781X|issn}} </nowiki>
| {{tlx|WorldCat|0040-781X|issn}}  
| {{WorldCat|0040-781X|issn}}  
| {{WorldCat|0040-781X|issn}}  
| [http://www.worldcat.org/issn/0040-781X Link]
| [http://www.worldcat.org/issn/0040-781X Link]
|-
|-
| <nowiki>{{WorldCat|1234|junk}}</nowiki>
| {{tlx|WorldCat|1234|junk}}  
| {{WorldCat|1234|junk}}  
| {{WorldCat|1234|junk}}  
| Invalid type, default to OCLC
| Invalid type, default to OCLC
|-
|-
|<nowiki> {{WorldCat}} </nowiki>
| {{tlx|WorldCat}}  
| {{WorldCat}}  
| {{WorldCat}}  
| Missing number
| Missing number
|-
| <nowiki>{{WorldCat|68627254|disp=Tracing your Irish ancestors : the complete guide}}</nowiki>
| {{WorldCat|68627254|disp=Tracing your Irish ancestors : the complete guide}}
| '''Use the disp parameter 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]  
[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:External link templates|{{PAGENAME}}]]
[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]


<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
</includeonly>

Revision as of 10:43, 9 August 2009

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.

Examples[edit source]

Entered Produces Notes
{{WorldCat{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 68627254 Link
No type, default to oclc
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 68627254 Link
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 9780806317687 Link
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 0040-781X Link
{{WorldCat{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} WorldCat 1234 Invalid type, default to OCLC
{{WorldCat{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} Missing number

See also[edit source]

WorldCat permalink information