Template:ISBN
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 valueno; for use when the 'ISBN' prefix in the rendering should not be linked|plainlink=– accepts a single valueyes; 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}}: Checkisbnvalue: checksum (help){{ISBN|((1-4133-0451-0))}}→ ISBN 1-4133-0451-0{{isbn}}: ignored ISBN errors (link)
Tracking categories
- Category:Ignored ISBN errors – maintenance category for
{{ISBN}}templates using the accept-as-written markup((..))to suppress an error message – shared with{{ISBN}} - Category:Pages with ISBN errors – error category for
{{ISBN}}templates that show an error message
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
- Wikipedia:ISBN
- {{SBN}}, similar template for SBNs rather than ISBNs
- {{ISBNT}}, to make an ISBN link without a visible prefix
- {{Listed Invalid ISBN}}, to link an ISBN that is invalid but printed in a source publication.
- {{OCLC}}, to link directly to Worldcat; useful for books with no ISBN.
- {{PMID}}
- {{IETF RFC}}
- {{ISMN}}
- {{ISSN}}
- {{Catalog lookup link}}
- {{ISBN missing}}
Template Data
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ISBN #1 | 1 | first ISBN to put in the list
| String | required |
| ISBN #2 | 2 | second ISBN to put in the list
| String | suggested |
| ISBN #3 | 3 | third ISBN to put in the list
| String | optional |
| ISBN #4 | 4 | fourth ISBN to put in the list
| String | optional |
| ISBN #5 | 5 | fifth ISBN to put in the list
| String | optional |
| 6 | 6 | no description | Unknown | optional |
| 7 | 7 | no description | Unknown | optional |
| 8 | 8 | no description | Unknown | optional |
| 9 | 9 | no description | Unknown | optional |
| Suppress link to article? | link | If 'no', does not produce a link before the list
| String | optional |
| Suppress link to ISBN? | plainlink | If 'yes', does not produce "[[ISBN]]: " before the list
| String | optional |
| last list joiner text | leadout | Text between second-to-last and last book ISBN's
| String | optional |