Template:ISSN/doc

From Wikipedia, the free encyclopedia
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.

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:

{{ISSN|0028-0836}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

For multiple ISSNs:

{{ISSN|0028-0836|0028-0836|0028-0836}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

To unlink the prefix:

{{ISSN|0028-0836|link=no}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

To suppress the prefix:

{{ISSN|0028-0836|plainlink=yes}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

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

{{ISSN|0028-0836|0028-0836|0028-0836|leadout=and}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

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

{{ISSN|1028-0836}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
{{ISSN|((1028-0836))}}Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

Tracking categories

[edit source]
  • 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

[edit source]