FormatISBN10
From NEC Retro
Revision as of 15:50, 23 October 2022 by SorachiJirachi (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|none|N/A|<div style="display:none;">{{#vardefine:isbn10raw|{{#replace:{{{1|}}}|-||}}}}{{#vardefine:isbn10raw|{{#replace:{{#var:isbn...")
Revision as of 15:50, 23 October 2022 by SorachiJirachi (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|none|N/A|<div style="display:none;">{{#vardefine:isbn10raw|{{#replace:{{{1|}}}|-||}}}}{{#vardefine:isbn10raw|{{#replace:{{#var:isbn...")
This template has been manually copied from Sega Retro, specifically Template:FormatISBN10 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-10 numbers. Hypens and spaces are stripped out at the start.
The format for ISBN-10 is
[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
{{FormatISBN10|4073055501|link=yes}}
{{FormatISBN10|5073 055501}}
50-73 0555-01