Actions

Template

FormatISBN13

From NEC Retro

Revision as of 15:50, 23 October 2022 by SorachiJirachi (talk | contribs) (Created page with "<includeonly>{{#ifeq:{{{1}}}|none|N/A|<div style="display:none;">{{#if:{{{1|}}}|{{#vardefine:isbn13raw|{{#replace:{{{1|}}}|-|}}}}{{#vardefine:isbn13raw|{{#replace:{{#var:isbn1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Segaretro-round.svg This template has been manually copied from Sega Retro, specifically Template:FormatISBN13
Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date.

Template for formatting ISBN-13 numbers. Hypens and spaces are stripped out at the start.


The format for ISBN-13 is

[978/979]-[region]-[publisher]-[title]-[checkdigit]

the region is a fixed length (depending on where it came from), but the publisher and title fields can be any length, so they're currently grouped together.

Examples

{{FormatISBN13|978-4073055501|link=yes}}

978-4-07305550-1


{{FormatISBN13|9785073 055501}}


978-50-7305550-1