Module:Check isxn/doc: Difference between revisions

From Thetacola Wiki
Jump to navigationJump to search
en>Matthiaspaul
(Replaced usage of error template by error-small to avoid pollution of list of transclusions of error template in WhatLinksHere)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:24, 15 August 2022


This module may be used to validate ISBNs, ISMNs, and ISSNs.

Usage[edit source]

For ISBNs,

  • {{#invoke:check isxn|check_isbn|978-0-12-345678-9|error={{error-small|Invalid ISBN}}}}

For ISMNs,

  • {{#invoke:check isxn|check_ismn|979-0-1234567-8-9|error={{error-small|Invalid ISMN}}}}

For ISSNs,

  • {{#invoke:check isxn|check_issn|1234-5678|error={{error-small|Invalid ISSN}}}}

Examples[edit source]

  • {{#invoke:check isxn|check_isbn|978-3-16-148410-0|error={{error-small|Invalid ISBN}}}}
  • {{#invoke:check isxn|check_isbn|978-0-12-345678-9|error={{error-small|Invalid ISBN}}}}Invalid ISBN
  • {{#invoke:check isxn|check_isbn|ISBN 978-3-16-148410-0|error={{error-small|Invalid ISBN}}}}Invalid ISBN
  • {{#invoke:check isxn|check_ismn|979-0-9016791-7-7|error={{error-small|Invalid ISMN}}}}
  • {{#invoke:check isxn|check_ismn|979-0-1234567-8-9|error={{error-small|Invalid ISMN}}}}Invalid ISMN
  • {{#invoke:check isxn|check_issn|1234-5679|error={{error-small|Invalid ISSN}}}}
  • {{#invoke:check isxn|check_issn|1234-5678|error={{error-small|Invalid ISSN}}}}Invalid ISSN

Templates/modules using this module[edit source]

See also[edit source]