Template:OCLC: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Matthiaspaul Added 'show' parameter to allow display of all editions |
m 23 revisions imported |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Catalog lookup link|{{{oclc|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|article-link=OCLC|link-prefix=//www.worldcat.org/oclc/|list-leadout={{{leadout|}}}|link-postfix={{#if:{{{show|}}}|/editions}}|item-postfix={{#if:{{{show|}}}| ({{#ifeq:{{{show|}}}|all|all editions|{{{show|}}}}})}}}}<noinclude> | {{Catalog lookup link|{{{oclc|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|article-link=OCLC (identifier)|article-name=OCLC|link-prefix=https://www.worldcat.org/oclc/|list-leadout={{{leadout|}}}|link-postfix={{#if:{{{show|}}}|/editions}}|item-postfix={{#if:{{{show|}}}| ({{#ifeq:{{{show|}}}|all|all editions|{{{show|}}}}})}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 14:38, 3 September 2020
Usage
This template generates a link for searching a (print or online) publication by its OCLC Number.
Up to nine parameters may be used for situations where a unique publication appears more than once on the OCLC website.
Multiple publications are separated by ",", but the word between the last two publications can be configured using the 'leadout' parameter (f.e. 'leadout=and', 'leadout=or', 'leadout=as well as' or 'leadout=,'.
It is also possible to link to all editions of a publication at once using the 'show=all' parameter (whereby "all" is a special token, causing the display of "(all editions)". The text between parentheses can be changed by specifying a different text using the 'show' parameter.
- Example #1
- Usage:
{{OCLC|22239204}}
- Links to: https://www.worldcat.org/oclc/22239204
- Renders as: OCLC 22239204
- Example #2
- Usage:
{{OCLC|46908525|50074837}}
- Links to: https://www.worldcat.org/oclc/46908525 and https://www.worldcat.org/oclc/50074837
- Renders as: OCLC 46908525, 50074837
- Example #3
- Usage:
{{OCLC|12345678|98765432|24680975}}
- Links to: https://www.worldcat.org/oclc/12345678, https://www.worldcat.org/oclc/98765432, https://www.worldcat.org/oclc/24680975
- Renders as: OCLC 12345678, 98765432, 24680975
- Example #4
- Usage:
{{OCLC|12345678|98765432|24680975|leadout=and}}
- Links to: https://www.worldcat.org/oclc/12345678, https://www.worldcat.org/oclc/98765432 and https://www.worldcat.org/oclc/24680975
- Renders as: OCLC 12345678, 98765432 and 24680975
- Example #5
- Usage:
{{OCLC|22239204|show=all}}
- Links to: https://www.worldcat.org/oclc/22239204/editions
- Renders as: OCLC 22239204 (all editions)
- Example #6
- Usage:
{{OCLC|22239204|show=complete list of all editions}}
- Links to: https://www.worldcat.org/oclc/22239204/editions
- Renders as: OCLC 22239204 (complete list of all editions)
See also
- {{ISSN}}
- {{ISSN link}}
- {{OCLC search link}}
- {{Catalog lookup link}}
- Help:Citation Style 1 § Identifiers – CS1 citation templates include an OCLC identifier; example:
|oclc=22239204
- Wikipedia:OCLC – essay about Wikipedia's relationship with OCLC