Changes
added transclusion count
{{Documentation subpage}}
{{Lua|Module:Check isxn}}
{{High-risk|27000}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
===Usage===
Use this template to create a link to [[Special:BookSources]] for an [[International Standard Book Number]] without the usual "ISBN" prefix. For example, in a table with a column labelled "ISBN", it would be redundant to write "ISBN" before every International Standard Book Number in the column.
===Entering ISBNs===
An ISBN link is created by using the {{tl|ISBN}} template with the International Standard Book Number. Example:
* <tt><nowiki>{{ISBN|978-1-4133-0454-1}}</nowiki></tt> produces {{ISBN|978-1-4133-0454-1}}
In tables (or other applications) where the letters "ISBN" would be redundant, this '''ISBNT''' template may be used instead, and the link still gets created automatically:
* <tt><nowiki>{{ISBNT|1-4133-0454-0}}</nowiki></tt> produces {{ISBNT|1-4133-0454-0}}
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1}}</nowiki></tt> produces {{ISBNT|978-1-4133-0454-1}}
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1}}</nowiki></tt> produces {{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1}}
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=and}}</nowiki></tt> produces {{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=and}}
===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]].
Since invalid ISBNs are sometimes used in publications, it is possible to disable the validity check for individual ISBNs given as parameters. In order to do so, add <tt>invalid?=yes</tt> (with ? replaced by the parameter number 1 to 9) to the template. In this case, the article will be added to [[:Category:Pages with listed invalid ISBNs]].
* <tt><nowiki>{{ISBNT|1-4133-0451-0}}</nowiki></tt> produces {{ISBNT|1-4133-0451-0}}
* <tt><nowiki>{{ISBNT|1-4133-0451-0|invalid1=yes}}</nowiki></tt> produces {{ISBNT|1-4133-0451-0|invalid1=yes}}
* <tt><nowiki>{{ISBNT|1-4133-0451-0|invalid1=no}}</nowiki></tt> produces {{ISBNT|1-4133-0451-0|invalid1=no}}
* <tt><nowiki>{{ISBNT}}</nowiki></tt> produces {{ISBNT}}
===See also===
* [[Wikipedia:ISBN]]
* {{tl|ISBN}}
* {{tl|ISMN}}
* {{tl|Listed Invalid ISBN}}
* {{tl|Catalog lookup link}}
<includeonly>{{sandbox other||
[[Category:Catalog lookup templates]]
[[Category:International Standard Book Number templates]]
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
}}</includeonly>
{{Lua|Module:Check isxn}}
{{High-risk|27000}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
===Usage===
Use this template to create a link to [[Special:BookSources]] for an [[International Standard Book Number]] without the usual "ISBN" prefix. For example, in a table with a column labelled "ISBN", it would be redundant to write "ISBN" before every International Standard Book Number in the column.
===Entering ISBNs===
An ISBN link is created by using the {{tl|ISBN}} template with the International Standard Book Number. Example:
* <tt><nowiki>{{ISBN|978-1-4133-0454-1}}</nowiki></tt> produces {{ISBN|978-1-4133-0454-1}}
In tables (or other applications) where the letters "ISBN" would be redundant, this '''ISBNT''' template may be used instead, and the link still gets created automatically:
* <tt><nowiki>{{ISBNT|1-4133-0454-0}}</nowiki></tt> produces {{ISBNT|1-4133-0454-0}}
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1}}</nowiki></tt> produces {{ISBNT|978-1-4133-0454-1}}
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1}}</nowiki></tt> produces {{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1}}
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=and}}</nowiki></tt> produces {{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=and}}
===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]].
Since invalid ISBNs are sometimes used in publications, it is possible to disable the validity check for individual ISBNs given as parameters. In order to do so, add <tt>invalid?=yes</tt> (with ? replaced by the parameter number 1 to 9) to the template. In this case, the article will be added to [[:Category:Pages with listed invalid ISBNs]].
* <tt><nowiki>{{ISBNT|1-4133-0451-0}}</nowiki></tt> produces {{ISBNT|1-4133-0451-0}}
* <tt><nowiki>{{ISBNT|1-4133-0451-0|invalid1=yes}}</nowiki></tt> produces {{ISBNT|1-4133-0451-0|invalid1=yes}}
* <tt><nowiki>{{ISBNT|1-4133-0451-0|invalid1=no}}</nowiki></tt> produces {{ISBNT|1-4133-0451-0|invalid1=no}}
* <tt><nowiki>{{ISBNT}}</nowiki></tt> produces {{ISBNT}}
===See also===
* [[Wikipedia:ISBN]]
* {{tl|ISBN}}
* {{tl|ISMN}}
* {{tl|Listed Invalid ISBN}}
* {{tl|Catalog lookup link}}
<includeonly>{{sandbox other||
[[Category:Catalog lookup templates]]
[[Category:International Standard Book Number templates]]
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
}}</includeonly>