VOOZH about

URL: https://en.wikipedia.org/wiki/Template:Isbn

โ‡ฑ Template:ISBN - Wikipedia


Jump to content
From Wikipedia, the free encyclopedia
(Redirected from Template:Isbn)
๐Ÿ‘ Image
Template documentation
[view] [edit] [history] [purge]
๐Ÿ‘ Image
This template uses Lua:
๐Ÿ‘ Image
The link in this template goes to a redirect page instead of to the article that is the target of the redirect. This redirect link is intentional so that links using the template are distinguishable from links to the article on the Special:WhatLinksHere/ISBN page.
๐Ÿ‘ Warning
This template is used on 473,000+ pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
๐Ÿ‘ Image
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it may cause display errors. For example | isbn = {{ISBN|123-456-7890-123}} is incorrect use. Consider using {{Format ISBN}} to help format ISBN identifiers within citation templates.

This template produces a simple, standardized link from a International Standard Book Number (ISBN). The ISBN is rendered using much of the same code that renders |ISBN= in Citation Style 1 and Citation Style 2 templates except that this template can be used to render multiple ISBNs.

Usage

This template accepts these parameters:

|idn= โ€“ a ISBN identifier; the |idn= parameter name is not required but is recommended for clarity when the template has multiple ISBNs
|link= โ€“ accepts a single value no; for use when the 'ISBN' prefix in the rendering should not be linked
|plainlink= โ€“ accepts a single value yes; suppresses the 'ISBN' prefix in the rendering
|leadout= โ€“ defines the conjunction between the last two identifiers in the rendered list; defaults to ,

The basic form is:

{{ISBN|0-7475-3269-9}} โ†’ ISBN 0-7475-3269-9

For multiple ISBNs:

{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1}} โ†’ ISBN 978-1-4133-0454-1, 978-1-4133-0454-1, 978-1-4133-0454-1

To unlink the prefix:

{{ISBN|0-7475-3269-9|link=no}} โ†’ ISBN 0-7475-3269-9

To suppress the prefix:

{{ISBN|0-7475-3269-9|plainlink=yes}} โ†’ 0-7475-3269-9

To use and between the last two identifiers in the rendered list:

{{ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=and}} โ†’ ISBN 978-1-4133-0454-1, 978-1-4133-0454-1 and 978-1-4133-0454-1

When this template emits an error message for a valid (working) ISBN, use the accept-as-written markup ((..)) to suppress the error message.

{{ISBN|1-4133-0451-0}} โ†’ ISBN 1-4133-0451-0 {{isbn}}: Check isbn value: checksum (help)
{{ISBN|((1-4133-0451-0))}} โ†’ ISBN 1-4133-0451-0 {{isbn}}: ignored ISBN errors (link)

Tracking categories

Because this template uses the same code as cs1|2 templates, error and maintenance visibility is controlled the same way. See Help:CS1 errors ยง Controlling error message display.

See also

Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for in articles based on its TemplateData.

TemplateData for ISBN

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
ISBN #11

first ISBN to put in the list

Example
0-674-01181-3
Stringrequired
ISBN #22

second ISBN to put in the list

Example
0-674-04200-3
Stringsuggested
ISBN #33

third ISBN to put in the list

Example
0-674-01169-3
Stringoptional
ISBN #44

fourth ISBN to put in the list

Example
0-674-01181-6
Stringoptional
ISBN #55

fifth ISBN to put in the list

Example
0-674-02181-5
Stringoptional
66

no description

Unknownoptional
77

no description

Unknownoptional
88

no description

Unknownoptional
99

no description

Unknownoptional
Suppress link to article?link

If 'no', does not produce a link before the list

Example
no
Stringoptional
Suppress link to ISBN?plainlink

If 'yes', does not produce "[[ISBN]]: " before the list

Example
yes
Stringoptional
last list joiner textleadout

Text between second-to-last and last book ISBN's

Example
as well as
Stringoptional