Template:Format ISBN

From blackwiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Template:Use American English Template:Use mdy dates


Examples

Input Output Notes
{{Format ISBN|9781571816559}}
978-1-57181-655-9 13 digits, unformatted
{{Format ISBN|9780306807930}}
978-0-306-80793-0
{{Format ISBN|9780786438617}}
978-0-7864-3861-7
{{Format ISBN|1605206245}}
978-1-60520-624-0 10-digits input[1]
{{Format ISBN|0-385-33348-X}}
978-0-385-33348-1
{{Format ISBN|97-8-1-60520624-0}}
978-1-60520-624-0 13 digits, badly pre-formatted
{{Format ISBN|9783033009608}}
978-3-033-00960-8 German ISBN starting with 978-3
{{Format ISBN|9788876055485}}
978-88-7605-548-5 Italian ISBN starting with 978-88
{{Format ISBN|9791220008525}}
979-12-200-0852-5 Italian ISBN starting with 979-12[1]
{{Format ISBN|97808108596789}}
Can't format invalid ISBN: 97808108596789 ISBNs with bad input length (not 10 or 13)
{{Format ISBN|978025095023}}
Can't format invalid ISBN: 978025095023
{{Format ISBN|03578936X}}
Can't format invalid ISBN: 03578936X
{{Format ISBN|9780816645842}}
Can't format invalid ISBN: 9780816645842 ISBN with bogus check digit (should be 8)
{{Format ISBN|Unknown}}
Can't format invalid ISBN: Unknown ISBN with textual gibberish
{{Format ISBN|9782D0GP00P37}}
Can't format invalid ISBN: 9782D0GP00P37
{{Format ISBN}}
Blank ISBN, blank output (no error)
{{Format ISBN|9780553897883|link=no}}
978-0-553-89788-3 ISBN in plaintext (Special:BookSources link disabled)

Notes

  1. 1.0 1.1 Rowe, Adam (November 29, 2019). "The 10-Digit ISBN Is Getting Retired Next Year". Forbes. Archived from the original on 2019-12-02. In order to stop misidentifications, all US systems will need to effectively retire the 10-digit signifier before they start processing new titles with the 979 prefix.

See also

  • Wikipedia:ISBN
  • {{ISBN}}, to list one or more ISBNs (as replacement for Mediawiki's ISBN magic token)
  • {{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.