Template:OCLC/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Matthiaspaul
(Updated doc)
meta>Matthiaspaul
(documented protocol-relative urls)
Line 3: Line 3:


=== Usage ===
=== Usage ===
This template generates a link for searching a single (print or online) publication by its [[Online Computer Library Center|OCLC]] Number. Note that up to nine parameters may be used, for situations where a unique publication appears more than once on the OCLC website.
This template generates a link for searching a (print or online) publication by its [[Online Computer Library Center|OCLC]] Number. Note that up to nine parameters may be used, for situations where a unique publication appears more than once on the OCLC website.


;Example #1
;Example #1
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|22239204<nowiki>}}</nowiki></code>
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|22239204<nowiki>}}</nowiki></code>
*Links to: http://www.worldcat.org/oclc/22239204
*Links to: [//www.worldcat.org/oclc/22239204 //www.worldcat.org/oclc/22239204] ([[Protocol-relative URL]])
*Renders as: {{{{BASEPAGENAME}}|22239204}}
*Renders as: {{{{BASEPAGENAME}}|22239204}}


;Example #2
;Example #2
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|46908525|50074837<nowiki>}}</nowiki></code>
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|46908525|50074837<nowiki>}}</nowiki></code>
*Links to: http://www.worldcat.org/oclc/46908525 and http://www.worldcat.org/oclc/50074837
*Links to: [//www.worldcat.org/oclc/46908525 //www.worldcat.org/oclc/46908525] and [//www.worldcat.org/oclc/50074837 //www.worldcat.org/oclc/50074837] ([[Protocol-relative URL]])
*Renders as: {{{{BASEPAGENAME}}|46908525|50074837}}
*Renders as: {{{{BASEPAGENAME}}|46908525|50074837}}


;Example #3
;Example #3
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|12345678|98765432|24680975<nowiki>}}</nowiki></code>
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|12345678|98765432|24680975<nowiki>}}</nowiki></code>
*Links to: http://www.worldcat.org/oclc/12345678, http://www.worldcat.org/oclc/98765432 and http://www.worldcat.org/oclc/24680975
*Links to: [//www.worldcat.org/oclc/12345678 //www.worldcat.org/oclc/12345678], [//www.worldcat.org/oclc/98765432 //www.worldcat.org/oclc/98765432] and [//www.worldcat.org/oclc/24680975 //www.worldcat.org/oclc/24680975] ([[Protocol-relative URL]])
*Renders as: {{{{BASEPAGENAME}}|12345678|98765432|24680975}}
*Renders as: {{{{BASEPAGENAME}}|12345678|98765432|24680975}}



Revision as of 21:36, 5 May 2016

Usage

This template generates a link for searching a (print or online) publication by its OCLC Number. Note that up to nine parameters may be used, for situations where a unique publication appears more than once on the OCLC website.

Example #1
  • Usage: {{OCLC|22239204}}
  • Links to: //www.worldcat.org/oclc/22239204 (Protocol-relative URL)
  • Renders as: OCLC 22239204
Example #2
Example #3

See also