Template:ISSN/doc

From Timelines
Jump to navigation Jump to search

This template produces a simple, standardized link from a International Standard Serial Number (ISSN). The ISSN is rendered using much of the same code that renders |issn= in Citation Style 1 and Citation Style 2 templates except that this template can be used to render multiple ISSNs.

Usage

This template accepts these parameters:

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

The basic form is:

<syntaxhighlight lang="wikitext" inline="1">ISSN 0028-0836</syntaxhighlight> → ISSN 0028-0836

For multiple ISSNs:

<syntaxhighlight lang="wikitext" inline="1">ISSN 0028-0836, 0028-0836, 0028-0836</syntaxhighlight> → ISSN 0028-0836, 0028-0836, 0028-0836

To unlink the prefix:

<syntaxhighlight lang="wikitext" inline="1">ISSN 0028-0836</syntaxhighlight> → ISSN 0028-0836

To suppress the prefix:

<syntaxhighlight lang="wikitext" inline="1">0028-0836</syntaxhighlight> → 0028-0836

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

<syntaxhighlight lang="wikitext" inline="1">ISSN 0028-0836, 0028-0836 and 0028-0836</syntaxhighlight> → ISSN 0028-0836, 0028-0836 and 0028-0836

When this template emits an error message for a valid (working) ISSN, use the accept-as-written markup ((..)) to suppress the error message.

<syntaxhighlight lang="wikitext" inline="1">ISSN 1028-0836 {{issn}}: Check issn value (help)</syntaxhighlight> → ISSN 1028-0836 {{issn}}: Check issn value (help)
<syntaxhighlight lang="wikitext" inline="1">ISSN 1028-0836 {{issn}}: ignored ISSN errors (link)</syntaxhighlight> → ISSN 1028-0836 {{issn}}: ignored ISSN errors (link)

Tracking categories

  • Category:Ignored ISSN errorsmaintenance category for {{ISSN}} templates using the accept-as-written markup ((..)) to suppress an error message
  • Category:Pages with ISSN errorserror category for {{ISSN}} 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