Module:Format ISBN and Module:Format ISBN/sandbox: Difference between pages
(Difference between pages)
imported>MusikBot II m Protected "Module:Format ISBN": High-risk template or module: 647 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
imported>Trappist the monk No edit summary |
||
| Line 137: | Line 137: | ||
end | end | ||
if 13 == #isbn_str and flags.out10 | if 13 == #isbn_str and flags.out10 then -- if isbn13 but we want an isbn10 output | ||
flags.isbn10_check_digit = (convert_to_isbn10 (isbn_str)):sub (-1); -- calculate and extract the isbn10 check digit for later | flags.isbn10_check_digit = (convert_to_isbn10 (isbn_str)):sub (-1); -- calculate and extract the isbn10 check digit for later | ||
end | end | ||