模板:ISBN/doc
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:ISBN. It contains usage information, categories and other content that is not part of the original 模板 page. |
| Lua标志 | 使用Lua |
Usage
Use this template to create a link (or list of links) to Special:BookSources for one or more International Standard Book Numbers with the usual "ISBN" prefix. The template supports 10- and 13-digit ISBNs (with or without hyphens).
{{ISBN|0-7475-3269-9}}
results in:
And:
{{ISBN|978-1-4133-0454-1}}
results in:
Formatting
The template preserves the formatting of the input values, for example:
{{ISBN|978141330454-1}}
results in:
Error checking
This template uses Module:Check isxn to validate the ISBN. If the ISBN is not valid, this subtemplate will still generate the link, and it will add the article to Category:Pages with ISBN errors.
See also
Template Data
Use this template to create a link to Special:BookSources for one or more International Standard Book Numbers with the usual "ISBN" prefix
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| ISBN #1 | 1 | first ISBN to put in the list
| 字符串 | 必需 |