Template:ISMN/doc

From MOASSpedia
Jump to navigation Jump to search

Usage

Use this template to create a lists of International Standard Music Numbers with or without the usual "ISMN" prefix.

Entering ISMNs

An ISMN link is created by using the {{ISMN}} template with the International Standard Music Number. Example:

  • {{ISMN|979-0-2600-0043-8}}   produces ISMN 979-0-2600-0043-8

In tables (or other applications) where the letters "ISMN" would be redundant, it can be omitted using the |plainlink= parameter.

The |leadout= parameter can be used to define a different conjunction between the last two list items.

Error checking

This template uses Module:Check isxn to validate the ISMN. If the ISMN is not valid, this subtemplate will still generate the link, and it will add the article to Category:Pages with ISMN errors.

Since invalid ISMNs are sometimes used in publications, it is possible to disable the validity check for individual ISMNs given as parameters. In order to do so, add invalid?=yes (with ? replaced by the parameter number 1 to 9) to the template. In this case, the article will be added to Category:Articles with invalid ISMNs.

  • ISMN 979-0-2600-0042-8 Parameter error in {{ISMN}}: Invalid ISMN.
  • ISMN 979-0-2600-0042-8

See also