Jump to content

Template:ISMN/doc

From Calamity Wiki

This template renders an International Standard Music Number (ISMN) in a standard format. The ISMN is rendered using much of the same code that renders |ismn= in Citation Style 1 and Citation Style 2 templates except that this template can be used to render multiple ISMNs.

Usage

This template accepts these parameters:

|idn= – a ISMN identifier; the |idn= parameter name is not required but is recommended for clarity when the template has multiple ISMNs
|link= – accepts a single value no; for use when the 'ISMN' prefix in the rendering should not be linked
|plainlink= – accepts a single value yes; suppresses the 'ISMN' prefix in the rendering
|leadout= – defines the conjunction between the last two identifiers in the rendered list; defaults to ,

The basic form is:

{{ISMN|id=979-0-2600-0043-8}} → ISMN 979-0-2600-0043-8

For multiple ISMNs:

{{ISMN|979-0-2600-0043-8}} → ISMN 979-0-2600-0043-8

To unlink the prefix:

{{ISMN|id=979-0-2600-0043-8|link=no}} → ISMN 979-0-2600-0043-8

To suppress the prefix:

{{ISMN|979-0-2600-0043-8|plainlink=yes}} → 979-0-2600-0043-8

To use and between the last two identifiers in the rendered list:

{{ISMN|979-0-2600-0043-8|979-0-50226-047-7|leadout=and}} → ISMN 979-0-2600-0043-8 and 979-0-50226-047-7

Tracking categories

  • Category:Pages with ISMN errors – error category for {{ISMN}} templates that show an error message

Because this template uses the same code as cs1|2 templates, error and maintenance visibility is controlled the same way. See Help:CS1 errors § Controlling error message display.

See also