For faster navigation, this Iframe is preloading the Wikiwand page for Template:ISBN.

Template:ISBN

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法

使用此模板为Special:网络书源创建一个或多个国际标准书号链接,一般包含“ISBN”前缀。模板支持10位和13位的ISBN(有无连字符皆可)。

示例

((ISBN|0-7475-3269-9))

结果:

ISBN 0-7475-3269-9

以及:

((ISBN|978-1-4133-0454-1))

结果:

ISBN 978-1-4133-0454-1

一个想法是从“魔术链接”语法切换到更明确的语法。

如果给出多个ISBN,模板将使用顿号分隔它们:

((ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1))

结果:

ISBN 978-1-4133-0454-1978-1-4133-0454-1978-1-4133-0454-1

另外,最后两个列表项之间的连接词可以使用 leadout= 参数定义:

((ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=和))

结果:

ISBN 978-1-4133-0454-1978-1-4133-0454-1978-1-4133-0454-1

如果不想使前缀“ISBN”链接出现(例如在较长的列表中),则可以使用 plainlink=yes 参数:

((ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|plainlink=yes))

结果:

978-1-4133-0454-1978-1-4133-0454-1978-1-4133-0454-1

(或者可以使用((ISBNT))模板。)

plainlinkleadout 参数可以同时使用:

((ISBN|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|plainlink=yes|leadout=以及))

结果:

978-1-4133-0454-1978-1-4133-0454-1以及978-1-4133-0454-1

格式化

模板保留输入值的格式,例如:

((ISBN|978-1-4133-0454-1|978141330454-1|978 1-41330-454-1))

结果:

ISBN 978-1-4133-0454-1978141330454-1978 1-41330-454-1

错误检查

模板使用Module:Check isxn验证ISBN。如果ISBN无效,此模板仍会生成链接,但会将条目添加至Category:ISBN错误的页面

由于有时出版物使用了无效的ISBN,因此可以使用参数禁用个别ISBN的有效性检查。为此,可将 invalid?=yes (用参数编号1至9替换?)添加到模板中。在这种情况下,条目将添加至Category:列出无效ISBN的页面。

  • ((ISBN)) 显示为 ((ISBN))参数错误:ISBN缺失。

参见

模板数据

使用此模板为Special:网络书源创建一个或多个国际标准书号链接,一般包含"ISBN"前缀。

模板参数[编辑模板数据]

参数描述类型状态
ISBN #11

列表中的第一个ISBN

示例值
0-674-01181-3
字符串必需
ISBN #22

列表中的第二个ISBN

示例值
0-674-04200-3
字符串推荐
ISBN #33

列表中的第三个ISBN

示例值
0-674-01169-3
字符串可选
ISBN #44

列表中的第四个ISBN

示例值
0-674-01181-6
字符串可选
ISBN #55

列表中的第五个ISBN

示例值
0-674-02181-5
字符串可选
66

无描述

未知可选
77

无描述

未知可选
88

无描述

未知可选
99

无描述

未知可选
Suppress link to ISBN?plainlink

填写'yes',则不会在列表前显示 "[[ISBN]]:"

示例值
yes
字符串可选
last list joiner textleadout

倒数第二个ISBN和最后一个ISBN之间的文字

示例值
以及
字符串可选
invalid1invalid1

无描述

未知可选
invalid2invalid2

无描述

未知可选
invalid3invalid3

无描述

未知可选
invalid4invalid4

无描述

未知可选
invalid5invalid5

无描述

未知可选
invalid6invalid6

无描述

未知可选
invalid7invalid7

无描述

未知可选
invalid8invalid8

无描述

未知可选
invalid9invalid9

无描述

未知可选
{{bottomLinkPreText}} {{bottomLinkText}}
Template:ISBN
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?