Template:ISBN

☆ Save On Wikipedia ↗
Template documentation

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 Template:ISBN in articles based on its TemplateData.

TemplateData for ISBN

Use this template to create a link (or list of links) to Special:BookSources for one or more International Standard Book Numbers with the usual "ISBN" prefix

Template parameters

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