Module:Check isxn/doc: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
|||
Line 1: | Line 1: | ||
{{documentation subpage}} |
{{documentation subpage}} |
||
{{Module rating|protected}} |
|||
This module may be used to validate [[International Standard Book Number|ISBN]]s, [[International Standard Music Number|ISMN]]s, and [[International Standard Serial Number|ISSN]]s. |
This module may be used to validate [[International Standard Book Number|ISBN]]s, [[International Standard Music Number|ISMN]]s, and [[International Standard Serial Number|ISSN]]s. |
Revision as of 08:40, 14 July 2017
![]() | This is a documentation subpage for Module:Check isxn. It may contain usage information, categories and other content that is not part of the original module page. |
This module may be used to validate ISBNs, ISMNs, and ISSNs.
Usage
For ISBNs,
{{#invoke:check isxn|check_isbn|978-0-12-345678-9|error=<span class="error">Invalid ISBN</span>}}
For ISMNs,
{{#invoke:check isxn|check_ismn|979-0-1234567-8-9|error=<span class="error">Invalid ISMN</span>}}
For ISSNs,
{{#invoke:check isxn|check_issn|1234-5678|error=<span class="error">Invalid ISSN</span>}}
Examples
{{#invoke:check isxn|check_isbn|978-3-16-148410-0|error=<span class="error">Invalid ISBN</span>}}
→{{#invoke:check isxn|check_isbn|978-0-12-345678-9|error=<span class="error">Invalid ISBN</span>}}
→ calling template requires template_name parameter{{#invoke:check isxn|check_isbn|ISBN 978-3-16-148410-0|error=<span class="error">Invalid ISBN</span>}}
→ calling template requires template_name parameter{{#invoke:check isxn|check_ismn|979-0-9016791-7-7|error=<span class="error">Invalid ISMN</span>}}
→{{#invoke:check isxn|check_ismn|979-0-1234567-8-9|error=<span class="error">Invalid ISMN</span>}}
→ Invalid ISMN{{#invoke:check isxn|check_issn|1234-5679|error=<span class="error">Invalid ISSN</span>}}
→{{#invoke:check isxn|check_issn|1234-5678|error=<span class="error">Invalid ISSN</span>}}
→ Invalid ISSN
Templates/modules using this module
- {{Book list}}
- {{Graphic novel list}}
- {{Infobox comic book title}}
- {{Infobox comics story arc}}
- {{Infobox comics team and title}}
- {{ISBN}}
- {{ISBNT}} and Module:ISBNT
- {{ISMN}}
- {{ISSN}}
See also
- Module:Citation/CS1, the original source for this module.