User:TedSwippet/Sandbox

{{#if: {{#ifeq: {{NAMESPACE}}| Special| {{#invoke:Format ISBN|is_isbn|{{{MAGICNUMBER}}}}}| true}}| Below is a list of links to online text sites, sites that sell new and used books, and sites that review books. They may have further information about the book you are looking for. {{Affiliate links}} {{#if: {{{MAGICNUMBER}}} |

ISBN
}}

Online text

 * Google Books
 * Open Library (Open Library is a project of the non-profit Internet Archive.)

US

 * AddALL (AddALL is a book search and price comparison web site.)
 * (Bogleheads.org is an Amazon Associate and may earn from qualifying purchases made through this link.)
 * Barnes & Noble
 * Book Depository

Canada

 * AbeBooks (AbeBooks is a Canadian book reseller. Verify the point of sale, as it may originate outside the US, resulting in a credit card foreign transaction fee for US residents.)
 * (Bogleheads.org is an Amazon Associate and may earn from qualifying purchases made through this link.)

UK

 * (Bogleheads.org is an Amazon Associate and may earn from qualifying purchases made through this link.)
 * AwesomeBooks (This bookseller partners with the UK National Literacy Trust.)
 * Blackwell's
 * Foyles
 * Waterstones
 * World of Books (World of Books is a UK-based online used book seller.)

Other European countries

 * Amazon:, , , , , , ,

Bogleheads.org is an Amazon Associate and may earn from qualifying purchases made through this link.

Other non-European countries

 * Amazon:, , , , , , , , , ,

Bogleheads.org is an Amazon Associate and may earn from qualifying purchases made through this link.

Book review sites

 * Goodreads (Goodreads is an extensive book review web site.)
 * LibraryThing

}}

Test 1: valid ISBN-13: 9781119487333

Test 2: valid ISBN-10: 1556238606

Test 3: valid ISBN-13: 9798531132178

Test 4: invalid ISBN: 155623860X

Test 5: nonexistent ISBN: 9790000000001