Difference between revisions of "FormatISBN10"
From Sega Retro
(Created page with "<includeonly><div style="display:none;">{{#vardefine:isbn10raw|{{#replace:{{{1|}}}|-||}}}}{{#vardefine:isbn10raw|{{#replace:{{#var:isbn10raw}}| ||}}}} {{#ifexpr:{{#len:{{#var:...") |
(No difference)
|
Revision as of 15:59, 1 May 2019
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