Difference between revisions of "Template:ISBNT/doc"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(from template)
imported>Matthiaspaul
(Added examples)
Line 13: Line 13:
 
* <tt><nowiki>{{ISBNT|1-4133-0454-0}}</nowiki></tt> &nbsp; produces {{ISBNT|1-4133-0454-0}}
 
* <tt><nowiki>{{ISBNT|1-4133-0454-0}}</nowiki></tt> &nbsp; produces {{ISBNT|1-4133-0454-0}}
 
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1}}</nowiki></tt> &nbsp; produces {{ISBNT|978-1-4133-0454-1}}
 
* <tt><nowiki>{{ISBNT|978-1-4133-0454-1}}</nowiki></tt> &nbsp; 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> &nbsp; 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> &nbsp; produces {{ISBNT|978-1-4133-0454-1|978-1-4133-0454-1|978-1-4133-0454-1|leadout=and}}
  
 
===Error checking===
 
===Error checking===
Line 20: Line 22:
 
* [[Wikipedia:ISBN]]
 
* [[Wikipedia:ISBN]]
 
* {{tl|ISBN}}
 
* {{tl|ISBN}}
 +
* {{tl|Catalog lookup link]]
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 15:37, 23 August 2017

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 {{ISBN}} template with the International Standard Book Number. Example:

  • {{ISBN|978-1-4133-0454-1}}   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:

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